#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 25
Default Formulas #N/A

I often write formulas w/ various Vlookup's or Match commands and how do I
get an "IF" function to recognize #N/A . . basically I'm saying IF(Vlookup( .
.. . . )=N/A,0,Vlookup(. .. .. )). Basically I just want the formula to
recognize the #N/A as it would save me some time. Thanks for your help!

Darin
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,440
Default Formulas #N/A

Hi Darin,

=IF(ISNA(YourFormula),0,YourFormula)


--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Darin" wrote in message
...
I often write formulas w/ various Vlookup's or Match commands and how do I
get an "IF" function to recognize #N/A . . basically I'm saying
IF(Vlookup( .
. . . )=N/A,0,Vlookup(. .. .. )). Basically I just want the formula to
recognize the #N/A as it would save me some time. Thanks for your help!

Darin


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 83
Default Formulas #N/A

If you're using Excel 2007 you can use the new IFERROR function. That way
you only enter your vlookup function and arguments once.

"Darin" wrote:

I often write formulas w/ various Vlookup's or Match commands and how do I
get an "IF" function to recognize #N/A . . basically I'm saying IF(Vlookup( .
. . . )=N/A,0,Vlookup(. .. .. )). Basically I just want the formula to
recognize the #N/A as it would save me some time. Thanks for your help!

Darin

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 25
Default Formulas #N/A

So this is where I end up:

=IF(ISNA(VLOOKUP(B722,'Nov 08'!$D$2:$F$800,3,FALSE),0,(VLOOKUP(B722,'Nov
08'!$D$2:$F$800,3,FALSE))))

It doesn't seem to like the 0 in the middle it keeps going back to that as
the error. I dumbed it down w/ out a Vlookup and I could get it to go but
the Vlookup seems to be throwing it . . thoughts?

"Niek Otten" wrote:

Hi Darin,

=IF(ISNA(YourFormula),0,YourFormula)


--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Darin" wrote in message
...
I often write formulas w/ various Vlookup's or Match commands and how do I
get an "IF" function to recognize #N/A . . basically I'm saying
IF(Vlookup( .
. . . )=N/A,0,Vlookup(. .. .. )). Basically I just want the formula to
recognize the #N/A as it would save me some time. Thanks for your help!

Darin


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Formulas #N/A

You have your brackets in the wrong place. Try it like this:

=IF(ISNA(VLOOKUP(B722,'Nov 08'!$D$2:$F$800,3,FALSE)),0,VLOOKUP
(B722,'Nov 08'!$D$2:$F$800,3,FALSE))

Hope this helps.

Pete

On Dec 6, 12:15*am, Darin wrote:
So this is where I end up:

=IF(ISNA(VLOOKUP(B722,'Nov 08'!$D$2:$F$800,3,FALSE),0,(VLOOKUP(B722,'Nov
08'!$D$2:$F$800,3,FALSE))))

It doesn't seem to like the 0 in the middle it keeps going back to that as
the error. *I dumbed it down w/ out a Vlookup and I could get it to go but
the Vlookup seems to be throwing it . . thoughts? *



"Niek Otten" wrote:
Hi Darin,


=IF(ISNA(YourFormula),0,YourFormula)


--
Kind regards,


Niek Otten
Microsoft MVP - Excel


"Darin" wrote in message
...
I often write formulas w/ various Vlookup's or Match commands and how do I
get an "IF" function to recognize #N/A . . basically I'm saying
IF(Vlookup( .
. . . )=N/A,0,Vlookup(. .. .. )). *Basically I just want the formula to
recognize the #N/A as it would save me some time. *Thanks for your help!


Darin- Hide quoted text -


- Show quoted text -


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
CELLS NOT CALC FORMULAS - VALUES STAY SME FORMULAS CORRECT?? HELP Sherberg Excel Worksheet Functions 4 September 11th 07 01:34 AM
lookup formulas dependent upon lookup formulas Skibee Excel Worksheet Functions 1 July 20th 07 01:06 PM
automatically copy formulas down columns or copy formulas all the HowlingBlue Excel Worksheet Functions 1 March 16th 07 11:11 PM
Formulas not evaluated, Formulas treated as strings Bob Sullentrup Excel Discussion (Misc queries) 0 November 27th 06 08:01 PM
formulas for changing formulas? creativeops Excel Discussion (Misc queries) 4 January 26th 06 03:07 AM


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