Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,440
Default Vlookup returning #N/A when it should not

Always post your formula
If the 4th argument of the VLOOKUP is omitted or TRUE, the list has to be
sorted ascending

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"holly" wrote in message
...
I am still finding my vlookup will not return a value for some odd lines of
my data, even though I know that the data is there in the array. I have
been
having issues with various formats, and am using vlookup(A1+0, ... or
vlookup(A1&"", ... to force the vlookup to search for number or text
values,
and generally this works.

However, I still find some odd lines return an N/A even if I copy the cell
from the search list to the table array - and use =A1=D5 which returns
TRUE
showing they are definitely the same.

So is there anything else that could be causing this error?

Thanks for reading...


"Tyro" wrote:

You can find out quickly if your values match. Suppose your lookup value
is
in A1and your lookup table is in B1:C10 and you think the value in A1
should
match the value in B6. Try the formula =A1=B6. If that returns TRUE your
values match, if it returns FALSE, they don't

Tyro

"robs3131" wrote in message
...
Hi all,

Per the subject, vlookup is not working -- I thought it might be
because
of
hidden values as the data was downloaded from a website (in Excel
format
though), however, I used David McRitchie's TRIMALL macro, but the
problem
remains.

I also used Chip Pearson's CellView Add-In which showed that there were
no
special characters. I also used the =ISTEXT(A2) worksheet function to
validate that no cells are text (both source cells for the vlookup as
well
as
the cells being looked up). Finally, I tried various different formats
(number, date, text), however, nothing can get it to work. Just to be
sure
that it should work, I copied one of the lookup values, went to the
column
of
the sheet where vlookup was searching, and used CTRL+F to validate that
the
value was witing the search range.

Any idea on what the issue can be??

Thanks!
--
Robert





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
Vlookup returning #n/a TRYIN Excel Worksheet Functions 2 February 8th 08 07:56 PM
Vlookup Returning #n/a Toolbar Confused Excel Worksheet Functions 4 July 5th 07 01:32 AM
vlookup returning a #N/A value Ian Excel Worksheet Functions 5 May 17th 06 02:58 PM
vlookup returning #NA dandigger Excel Discussion (Misc queries) 11 April 6th 05 11:13 PM
Vlookup and returning #n/a Cathrine Excel Worksheet Functions 3 December 23rd 04 02:23 PM


All times are GMT +1. The time now is 04:30 AM.

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

About Us

"It's about Microsoft Excel"