Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
When creating formulas, is there a way to avoid the #DIV/0! Error without
having to insert IF(C5<0,0) into each formula? -- ~ Cheri |
#2
![]() |
|||
|
|||
![]()
Cheri wrote:
When creating formulas, is there a way to avoid the #DIV/0! Error without having to insert IF(C5<0,0) into each formula? Not really. |
#3
![]() |
|||
|
|||
![]()
Cheri
In order to prevent the #DIV/0! you must trap the 0(or blank) somehow. =IF(C5=0,"",B5/C5) =IF(ISERROR(B5/C5),"",B5/C5) Watch out when using ISERROR.......it will mask all errors, not just #DIV/0! Gord Dibben Excel MVP On Mon, 13 Dec 2004 07:21:06 -0800, "Cheri" wrote: When creating formulas, is there a way to avoid the #DIV/0! Error without having to insert IF(C5<0,0) into each formula? |
#4
![]() |
|||
|
|||
![]()
I would rather change the formula to check for possible errors first, but you
could use Format|conditional formatting. And make the text color match the fill color (white on white). The error is still there, but it looks ok. =iserror(a1) would be the formula I'd use for the Conditional formatting formula for A1. === I don't like to have hidden stuff like this. It sometimes makes it difficult to see why the next formula returns an error. But it may be useful in this case. Cheri wrote: When creating formulas, is there a way to avoid the #DIV/0! Error without having to insert IF(C5<0,0) into each formula? -- ~ Cheri -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Findlink Error | Links and Linking in Excel | |||
I want the results of a formula to show in cell, NOT THE FORMULA! | Excel Discussion (Misc queries) | |||
Paste is is copying in formula, but display is wrong. | Excel Discussion (Misc queries) | |||
How to set Error Bars to _two_ SDs? | Charts and Charting in Excel | |||
Excel2K: Is it possible to use dynamic named ranges in custom data validation formula? | Excel Discussion (Misc queries) |