G Guest Sep 28, 2007 #1 How can I get an error term, such as #DIV/0!, to display as just a zero? Thanks
D Dave Peterson Sep 28, 2007 #3 =if(iserror(yourformula),0,yourformula) Michael said: How can I get an error term, such as #DIV/0!, to display as just a zero? Thanks Click to expand...
=if(iserror(yourformula),0,yourformula) Michael said: How can I get an error term, such as #DIV/0!, to display as just a zero? Thanks Click to expand...
J JE McGimpsey Sep 28, 2007 #4 I really discourage using iserror - it ignores too many "unexpected" errors (displaying a valid, but incorrect value - hmmm...where have we heard about *that* lately??). And since it calls fewer functions, this is actually more efficient: =IF(yourdenominator=0, 0, yourformula)
I really discourage using iserror - it ignores too many "unexpected" errors (displaying a valid, but incorrect value - hmmm...where have we heard about *that* lately??). And since it calls fewer functions, this is actually more efficient: =IF(yourdenominator=0, 0, yourformula)
D Dave Peterson Sep 28, 2007 #5 On the other hand, =iserror() does help if either the numerator or denominator cells contain text. And personally, I think returning a 0 when the divisor is 0 is just another way to hide an error (expected or unexpected). == I wasn't trying to sound too argumentative. I understand your point.
On the other hand, =iserror() does help if either the numerator or denominator cells contain text. And personally, I think returning a 0 when the divisor is 0 is just another way to hide an error (expected or unexpected). == I wasn't trying to sound too argumentative. I understand your point.
D Dave Peterson Sep 28, 2007 #6 And just to add, I've found that my co-workers were much more interested in the "prettiness" of the worksheet than the accuracy. <gd&r>
And just to add, I've found that my co-workers were much more interested in the "prettiness" of the worksheet than the accuracy. <gd&r>