Dealing with errors

  • Thread starter Thread starter daxmiller
  • Start date Start date
D

daxmiller

Does anyone know whether there is a neat way to deal with a formula
whose result may be "error" without using the "iserror" function and
effectively having to write the formula twice. For example, the
construct I use currently is =IF(ISERROR(my formula),"n/a",my formula).
This requires me to enter my formula twice which is redundant.
 
it is painful but you can use a shortened version of long formulas to test
for error
I am sure you are aware you can cut and paste in the formula bar,not so
painful then
 
Does anyone know whether there is a neat way to deal with a formula
whose result may be "error" without using the "iserror" function and
effectively having to write the formula twice. For example, the
construct I use currently is =IF(ISERROR(my formula),"n/a",my formula).
This requires me to enter my formula twice which is redundant.

It depends on what you want to happen if there is an error.

If you just want to hide the error message, you could use conditional
formatting and format the font the same as the background color if the cell
contains an error (Formula Is: =iserr(cell_ref)

Sometimes, if you understand why there is an error result, you can simplify the
formula. For example, you might be able to test just for the presence of a
single value in a single cell, rather than repeat the entire formula.


--ron
 
Thanks Dave, yes, it does seem that MSFT is onto this in XL12. Hope it
will convert all my existing double-barrelled ISERROR formulae into
nice neat IFERROR formulae. What do you think the chances are?
 
I wouldn't guess that existing =if(iserror(),"",()) would be converted. But
that's just my guess.

But you could post a question on that blog.
 
None, because ISERROR will still be around.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top