![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Apr 2002
Posts: 13
|
I have this =VLOOKUP(B17,$A$40:$B$49,2,FALSE) in my sheet. cell b17 has "=a43".(I'm assuming this is the problem) It gives me the error #N/A. how can I format the b17 cell reference in vlookup so it will see it as a cell reference and not text.
|
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
Quote:
=A43 If so, What houses A43? Moreover, is this A43 in the same sheet as your lookup table $A$40:$B$49? |
|
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Feb 2002
Location: Calgary, Alberta Canada
Posts: 2,065
|
You probably want to put the value to be looked up in B17. Go to B17 and enter an amount to be looked up. If you enter something that is recorded in the same way as the information in A43:A49, the formula will give the information in the adjacent column (B). If you try to lookup something that is not in your lookup range, you will get the message #N/A. |
|
|
|
|
|
#4 |
|
New Member
Join Date: Apr 2002
Posts: 7
|
Maybe you want to try this
=OFFSET(INDIRECT(B17),,1) will return the adjacent cell to the right of cell address A43 Regards, Peo Sjoblom |
|
|
|
|
|
#5 |
|
New Member
Join Date: Apr 2002
Posts: 13
|
cell a43 contains text "chaintech excel"
I want vlookup to look in cell b17 which has "=a43" then return the data in cell b43 |
|
|
|
|
|
#6 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
Quote:
If so, why is that? |
|
|
|
|
|
|
#7 |
|
Board Regular
Join Date: Feb 2002
Location: Florida
Posts: 82
|
If you have "=a43" in b17 your value will be a43.....If you want the text from a43 to be the value in b17 use =a43 without the "" around your formula.....
Denny [ This Message was edited by: kinkyparamour on 2002-04-07 14:32 ] |
|
|
|
|
|
#8 |
|
New Member
Join Date: Apr 2002
Posts: 13
|
no, the entry in b17 does not have quotes
b17 contains =a43 |
|
|
|
|
|
#9 |
|
New Member
Join Date: Apr 2002
Posts: 7
|
I already gave you the solution, you cannot use vlookup..
=OFFSET(INDIRECT(B17),,1) will return what's in B43 if B17 contains a43 why don't you try it? Regards, Peo Sjoblom |
|
|
|
|
|
#10 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
Quote:
=VLOOKUP(B17,$A$40:$B$49,2,FALSE) B17 A43 and B43? |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|