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 would like to substitute and return value of 0 for vlookup #N/A er

I would like to return the value of 0 when the vlookup would otherwise return
the error #N/A - any suggestions?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default would like to substitute and return value of 0 for vlookup #N/A er

=IF(ISNA(VLOOKUP(......)),0,VLOOKUP(.......))

"egols" wrote:

I would like to return the value of 0 when the vlookup would otherwise return
the error #N/A - any suggestions?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default would like to substitute and return value of 0 for vlookup #N/A er

You could try this:

=IF(ISNA(VLOOKUP(...)),0,VLOOKUP(...))

Basically, if your VLOOKUP returns the N/A error, then a 0 will be
displayed, otherwise, show the results of your VLOOKUP.

HTH,
Elkar


"egols" wrote:

I would like to return the value of 0 when the vlookup would otherwise return
the error #N/A - any suggestions?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default would like to substitute and return value of 0 for vlookup #N/A er

I am not quite sure how to reply - but these postings did exactly what I
needed - thanks.

"egols" wrote:

I would like to return the value of 0 when the vlookup would otherwise return
the error #N/A - any suggestions?

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 - WISH TO SUBSTITUTE FALSE FOR A VALUE David Excel Discussion (Misc queries) 6 July 13th 06 01:43 AM
VLOOKUP to return first hit Max Excel Worksheet Functions 2 February 28th 06 02:29 PM
How do I return the row for a value I VLOOKUP? fryerfarm Excel Worksheet Functions 2 December 1st 05 09:40 PM
VlookUp that does not return #N/A carl Excel Worksheet Functions 8 July 14th 05 12:59 AM
Is there a VLOOKUP substitute when data is not in ascending order VJ7777 Excel Worksheet Functions 2 January 19th 05 08:32 AM


All times are GMT +1. The time now is 04:16 PM.

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"