VLOOKUP, why #N/A

G

GKW in GA

I am trying to figure why I am getting #N/A. My function is coded as:
=VLOOKUP(A28465,W9038352AY.xls!$A$1:$E$5,W9038352AY.xls!$E$1,0).

I can actually see the contents of cell A28465 of the base ss in A1 of
W9038352AY.xls and they are both formatted as number. I have tried changeing
the format to text and general to no avail.

My intent is to put the contents of E1 in column D of the base ss whenever
col A of the base ss is equal to col A of W9038352AY.xls
 
A

Andrea Jones

Your formula should be

=VLOOKUP(A28465,W9038352AY.xls!$A$1:$E$5,5,FALSE).

You need to enter how many columns across the lookup table the value you
want to return is positioned.

Andrea Jones
www.stratatraining.co.uk
 
D

Dave Peterson

Is w9038352ay.xls a worksheet in the same workbook or is it a different
workbook?

If it's a different workbook, then why aren't there any []'s and worksheet name
in that formula?

If it's a worksheet in the same workbook, then I'd review the notes for
troubleshooting =vlookup() formulas from Debra Dalgleish:

http://contextures.com/xlFunctions02.html#Trouble

====
Changing the format of the cell won't change the underlying value. If you
reformat the cell, then reenter the value and then check your formula.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top