Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
SandyLACA
 
Posts: n/a
Default Dealing with #N/A results

Is there a way to replace all the #N/A results from any formula? If you try
to use #N/A in the replace function, Excel doesn't recognize it. The only
work around I could come up with is to sort the column with the #N/A's and
then delete or copy over them.
Thanks, Sandy
  #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))

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
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 11:25 AM.

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"