vlookup - again

gumby

New Member
Joined
Apr 1, 2002
Messages
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.
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Try

=OFFSET(INDIRECT(TRIM(B17)),,1)

you must have a space or something in B17 as well as a43,
if B17 contains a cell address then the above formula will return whatever is the
first cell to the right of that cell address.. The only way it can return a ref error is if it is not a cell reference.

Regards,

Peo Sjoblom
 
Upvote 0

On 2002-04-07 15:19, gumby wrote:
they are all on the same sheet


That's the trouble.

You should actually get #N/A and a circular reference problem.

You have =A43 in B17.

A43 is part of the range $A$40:$B$49 that is your lookup table as can be seen from your formula:

=VLOOKUP(B17,$A$40:$B$49,2,FALSE)

and you stated to have this formula in

B43

which is also a part of the range $A$40:$B$49 which is your lookup table.

It boils down to: VLOOKUP is forced to retrieve the result that it must self compute/retrieve.

What now?

It would be better if you could explain what you are trying to do.

Aladin
 
Upvote 0

Forum statistics

Threads
1,214,376
Messages
6,119,179
Members
448,871
Latest member
hengshankouniuniu

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top