![]() |
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 |
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)) |
All times are GMT +1. The time now is 05:56 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com