Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Not showing #DIV/0! 2

Status
Not open for further replies.

StephenA

Civil/Environmental
Joined
Nov 20, 2003
Messages
283
Location
US
I have a simple formula which sometimes produces a #DIV/0! when the divisor is zero.

I wanted to just show 0 or even -.

I tried this =IF(+D10/E10>0,D10/E10,0) but it still gave me #DIV/0!.

I am sure the answer is simple but I cannot think of it.

Stephen Argles
Land & Marine
 
IFERROR(value,value_if_error)

Value is the argument that is checked for an error.

Value_if_error is the value to return if the formula evaluates to an error. The following error types are evaluated: #N/A, #VALUE!, #REF!, #DIV/0!, #NUM!, #NAME?, or #NULL!.

 
or nest in if(e10=0,"na", ...)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top