Vlookup returning NA when referencing cell data to another sheet

G

Giacomo

Okay so I am using the following formula;

=VLOOKUP(A97, Sheet1!A1:D1775, 2, FALSE)

Cell A97 contains a part number, in this instance CM-150.

Sheet1 Cells A1:D1775 contain;
A=Part Numbers
B=Tarriff Codes
C=Weights
D=Countries

In this instance I have confirmed that CM-150 is on Sheet 1 in column A with
the corresponding data in Columns B-D.

However this function is returning #NA.

When I repalce the cell reference in =VLOOKUP(A97, Sheet1!A1:D1775, 2,
FALSE) from A97 to "CM-150" the forumula returns the correct data.

Does anyone know why I cant get the reference to work?

Thanks in advnace for your help!!
 
T

T. Valko

Try re-entering CM-150 in cell A97. As is, cell A97 might contain unseen
leading/trailing whitespace characters.
 
G

Giacomo

Yeah that was totally it. I feel really inept right now.

Thanks for that mate!

Giacomo
 

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