LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
RichardM
 
Posts: n/a
Default Dealing with #N/A results

Wrap your formula in an error handler such as:

if(isna(your formula),0,your formula)

in simple terms, if your formula returns the #N/A error return a zero
(you could use "" instead and leave the cell blank if you prefer). If
it returns a valid value return that value.

I use this method to trap errors in vlookups (I use iserror because it
traps all errors) e.g.

=if(iserror(vlookup(A1,$B:$C,2,0)),0,vlookup(A1,$B :$C,2,0))

 
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
How to pick Home and Away results from a list [email protected] Excel Worksheet Functions 5 March 21st 06 09:16 PM
Paste results consecutively within column (based off other worksheet) [email protected] Excel Worksheet Functions 5 March 13th 06 11:54 AM
abdualmohsn almedrahe abdualmohsn ahmad Excel Discussion (Misc queries) 1 November 19th 05 06:32 PM
Date stamp formula results? Tricky problem? mjp Excel Discussion (Misc queries) 0 November 18th 05 04:11 PM
calculating results in formulas Linda Excel Discussion (Misc queries) 9 July 6th 05 09:20 AM


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