Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Mr Mike
 
Posts: n/a
Default Have Vlookup return a Value of 0 instead of #N/A

I am using the results of a Vlookup in calculations for other cells, the
problem is that if a value of #N/A is returned (when it can't find what I'm
looking up), all calculations attached to that cell give me #N/A's as well.
I want it to return a zero if it would normally return an #N/A. I can
usually achieve this with a SUMIF(A1,"0") in another cell that points to my
vlookup, however because of the math in this specific circumstance, my
calculations need to be able to point directly to the vlookup, and not the
sumif. How can I get Vlookup to report a zero instead of an #N/A. I've
failed with different IF attempts, and it won't let me successfully place the
vlookup function inside of the SUMIF.

Thanks for your help!
  #4   Report Post  
RagDyeR
 
Posts: n/a
Default

Thanks for the feed-back.
--

Regards,

RD
--------------------------------------------------------------------
Please keep all correspondence within the Group, so all may benefit !
--------------------------------------------------------------------

"Mr Mike" wrote in message
...
RagDyer, you area superhero. This is perfect. And thanks for exposing me
to
IS functions! This will be new for me.

"RagDyer" wrote:

One way:

=IF(ISNA(MATCH(F1,A1:A100,0)),0,VLOOKUP(F1,A1:C100 ,3,0))
--
HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================

"Mr Mike" <Mr wrote in message
...
I am using the results of a Vlookup in calculations for other cells, the
problem is that if a value of #N/A is returned (when it can't find what

I'm
looking up), all calculations attached to that cell give me #N/A's as

well.
I want it to return a zero if it would normally return an #N/A. I can
usually achieve this with a SUMIF(A1,"0") in another cell that points

to
my
vlookup, however because of the math in this specific circumstance, my
calculations need to be able to point directly to the vlookup, and not

the
sumif. How can I get Vlookup to report a zero instead of an #N/A. I've
failed with different IF attempts, and it won't let me successfully

place
the
vlookup function inside of the SUMIF.

Thanks for your help!






  #5   Report Post  
Alan Beban
 
Posts: n/a
Default

Mr Mike wrote:
I am using the results of a Vlookup in calculations for other cells, the
problem is that if a value of #N/A is returned (when it can't find what I'm
looking up), all calculations attached to that cell give me #N/A's as well.
I want it to return a zero if it would normally return an #N/A. I can
usually achieve this with a SUMIF(A1,"0") in another cell that points to my
vlookup, however because of the math in this specific circumstance, my
calculations need to be able to point directly to the vlookup, and not the
sumif. How can I get Vlookup to report a zero instead of an #N/A. I've
failed with different IF attempts, and it won't let me successfully place the
vlookup function inside of the SUMIF.

Thanks for your help!


Google vlookup #N/A

Alan Beban
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
Using a Vlookup to return values in a data list? rtjeter Excel Worksheet Functions 2 April 26th 05 05:56 AM
Vlookup of an if statement return James Excel Worksheet Functions 2 April 6th 05 10:28 PM
Vlookup - return row no. instead of value automne Excel Discussion (Misc queries) 2 March 7th 05 01:38 AM
Can VLOOKUP return multiple answers based on several identical lo. jddtct Excel Worksheet Functions 3 January 11th 05 08:03 AM
VLookup Return Value Kevin Excel Worksheet Functions 4 December 3rd 04 04:05 PM


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