A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

vlookup function returning "na" even though the vlaues are present



 
 
Thread Tools Display Modes
  #1  
Old March 20th, 2010, 08:28 AM posted to microsoft.public.excel.worksheet.functions
VKL Narayanan[_2_]
external usenet poster
 
Posts: 9
Default vlookup function returning "na" even though the vlaues are present

i am using a simple vlookup function

=vlookup(A13,$B$38..$C$76,2,False)

Even though there is correct value for A13 in the array table defined, it is
returning "N/A". Can someone tell me what is the problem?
  #2  
Old March 20th, 2010, 08:49 AM posted to microsoft.public.excel.worksheet.functions
Dave
external usenet poster
 
Posts: 2,331
Default vlookup function returning "na" even though the vlaues are present

Hi,
You may have leading or trailing spaces in your data.
Is "$B$38..$C$76" a typo?
Should probably be "$B$38:$C$76"
Regards - Dave

"VKL Narayanan" wrote:

i am using a simple vlookup function

=vlookup(A13,$B$38..$C$76,2,False)

Even though there is correct value for A13 in the array table defined, it is
returning "N/A". Can someone tell me what is the problem?

  #3  
Old March 20th, 2010, 09:25 AM posted to microsoft.public.excel.worksheet.functions
Fred Smith[_4_]
external usenet poster
 
Posts: 2,386
Default vlookup function returning "na" even though the vlaues are present

The problem is that whatever's in A13 is not in your table. You can check
with the formula:
=b38=$a$13
and copy this down.

You will get False for every entry in your table. Check for trailing spaces
or unprintable characters which make it look the same, but not to Excel.

Regards,
Fred

"VKL Narayanan" wrote in message
...
i am using a simple vlookup function

=vlookup(A13,$B$38..$C$76,2,False)

Even though there is correct value for A13 in the array table defined, it
is
returning "N/A". Can someone tell me what is the problem?


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:59 AM.


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