Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Vlookup returning NA when referencing cell data to another sheet

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!!


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Vlookup returning NA when referencing cell data to another sheet

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

--
Biff
Microsoft Excel MVP


"Giacomo" wrote in message
...
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!!




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Vlookup returning NA when referencing cell data to another she

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

Thanks for that mate!

Giacomo



"T. Valko" wrote:

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

--
Biff
Microsoft Excel MVP


"Giacomo" wrote in message
...
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!!





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Vlookup returning NA when referencing cell data to another she

I feel really inept right now.

I get that feeling at least once a day! It's no big deal.

Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Giacomo" wrote in message
...
Yeah that was totally it. I feel really inept right now.

Thanks for that mate!

Giacomo



"T. Valko" wrote:

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

--
Biff
Microsoft Excel MVP


"Giacomo" wrote in message
...
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!!







Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using data in cell for sheet referencing in formulas MS_user Excel Discussion (Misc queries) 3 October 31st 08 10:47 PM
Leave cell data (IF(ISNA(VLOOKUP) is TRUE instead of returning blank (" ") or #NA [email protected] Excel Worksheet Functions 6 October 27th 05 04:02 PM
Vlookup returning No data. Alex H Excel Worksheet Functions 4 July 3rd 05 09:08 PM
referencing a sheet named in a cell then using data from that sheet gbeard Excel Worksheet Functions 4 April 15th 05 08:42 AM
vlookup and filename returning same result on each sheet. RogueSwan Excel Discussion (Misc queries) 3 March 22nd 05 10:08 PM


All times are GMT +1. The time now is 08:00 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"