#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mr. Boyer
 
Posts: n/a
Default VLOOKUP error

I am trying to use a VLOOKUP from a large set of data to a smaller set of
data (the array does not contain all of the values being looked up), and thus
returns #N/A.
It works for the first value which is in the table, but as soon as there is
a value missing, all other returns are #N/A as well. Is there any way to get
around these absent values?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Miguel Zapico
 
Posts: n/a
Default VLOOKUP error

You can display a standard value for not found entries, using an IF statament:
=IF(ISNA(VLOOKUP(...),"Value not found",VLOOKUP(...))
Also, check the four parameter of VLOOKUP, if you don't have the list sorted
it is better to use FALSE there.

Hope this helps,
Miguel.

"Mr. Boyer" wrote:

I am trying to use a VLOOKUP from a large set of data to a smaller set of
data (the array does not contain all of the values being looked up), and thus
returns #N/A.
It works for the first value which is in the table, but as soon as there is
a value missing, all other returns are #N/A as well. Is there any way to get
around these absent values?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Larry S
 
Posts: n/a
Default VLOOKUP error

Look at the function ISERROR to be used as an error handler around the
VLOOKUP...do something as follows:

=IF(ISERROR(VLOOKUP(___,____,___,___)),"",VLOOKUP( ___,____,___,___))

what this will do is first attempt to evaluate the VLOOKP, if an error
results, it will post a null ("") in the cell, if it was successful, it will
reevaluate the VLOOKUP and post the desired result.


"Mr. Boyer" <Mr. wrote in message
...
I am trying to use a VLOOKUP from a large set of data to a smaller set of
data (the array does not contain all of the values being looked up), and
thus
returns #N/A.
It works for the first value which is in the table, but as soon as there
is
a value missing, all other returns are #N/A as well. Is there any way to
get
around these absent values?



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mr. Boyer
 
Posts: n/a
Default VLOOKUP error

Thanks! both were very helpful, and TIMELY!!!!!!

"Larry S" wrote:

Look at the function ISERROR to be used as an error handler around the
VLOOKUP...do something as follows:

=IF(ISERROR(VLOOKUP(___,____,___,___)),"",VLOOKUP( ___,____,___,___))

what this will do is first attempt to evaluate the VLOOKP, if an error
results, it will post a null ("") in the cell, if it was successful, it will
reevaluate the VLOOKUP and post the desired result.


"Mr. Boyer" <Mr. wrote in message
...
I am trying to use a VLOOKUP from a large set of data to a smaller set of
data (the array does not contain all of the values being looked up), and
thus
returns #N/A.
It works for the first value which is in the table, but as soon as there
is
a value missing, all other returns are #N/A as well. Is there any way to
get
around these absent values?




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
REF# error using VLOOKUP Amy Excel Worksheet Functions 8 May 18th 06 01:06 AM
vlookup error - recognition of value Excell Rookie Excel Worksheet Functions 6 October 1st 05 12:32 AM
Fill down error for Vlookup MC Excel Worksheet Functions 2 June 20th 05 05:22 AM
vlookup weird error cutthroatjess Excel Worksheet Functions 3 June 17th 05 01:56 PM
vlookup error Micayla Bergen Excel Discussion (Misc queries) 2 May 27th 05 02:35 AM


All times are GMT +1. The time now is 11:41 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"