Vlookup issue

B

Brian Nelligan

I have two files.
The first file has a worksheet called "MAP".
It contains a column of data that I needs to be mapped to
another #.
The second file(lookup1.xls) contains 3 columns, 1st
column is a description, 2nd colum contains a list of
numbers that is represented in the first file, the 3rd
column contaisn the number it is to be mapped to.

So, in this case 'B19' is '1900000', in 'lookup1.xls' the
2nd column contains the number '1900000' and the 3rd
column- same row contains the number '1900'. But all that
show up in the column with this formula is 'False', so in
other words it says that it does not find a match. I have
used vlookup before with much larger files and more
columns with no issues. can anyone see a problem with the
code?
=IF(ISNA(VLOOKUP(MAP!B19,[lookup1.xls]Sheet1!
$A$1:$C$200,3,FALSE)),"False",VLOOKUP(MAP!B19,[lookup1.xls]
Sheet1!$A$1:$C$200,3,FALSE))

Thanks for your help in advance.

Brian Nelligan
 
B

Bob Phillips

Brian,

You need to start lookup in column B don't you

=IF(ISNA(VLOOKUP(MAP!B19,[lookup1.xls]Sheet1!$B$1:$C$200,2,FALSE)),"False",V
LOOKUP(MAP!B19,[lookup1.xls]Sheet1!$B$1:$C$200,2,FALSE))
 

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