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
 

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

formula for spreadsheet, avoiding zeros? 5
Formula help 3
Dividing by Zero in Access Reports 14
Simple Division 1
divide so no error Excel 2007 1
macro - replace 2
#Div/0 10
Zero Division 2

Back
Top