division formula

  • Thread starter Thread starter Rohit
  • Start date Start date
R

Rohit

when i try to divide 100 by 0, its gives me error message #DIV/0!. This i
undersatnd is immpossible. But can i setup a formula if any number being
divided by zero the outcome should be zero or n/a.
Thanks
 
Rohit,
Yes, it is possible. In the Cell that has the result as "#DIV/0!"
Type:
"=IF(ISERROR(C1/D1),0,(C1/D1))"
where 0 is zero or substitue "n/a"
hth
 
Back
Top