ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   vlookup function returning "na" even though the vlaues are present (https://www.excelbanter.com/excel-worksheet-functions/259438-vlookup-function-returning-na-even-though-vlaues-present.html)

VKL Narayanan[_2_]

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?

Dave

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?


Fred Smith[_4_]

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?




All times are GMT +1. The time now is 10:12 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com