#div/0

C

Carlos

How do you get the #DIV/0 to not display in the cell. I
want to keep the forumula in that cell because it will
work at some point, so for now I would just like to know
how to make it so that error does not show..
 
J

John Wilson

Carlos,

The simple answer to this it to test for the zero before
calculating the formula.
Example:
=A1/B1 will give a #DIV/0 error if there's nothing in B1
sooooooo
=IF(B1=0,"",A1/B1)
will check fisrt to see if B1 is zero. If it is, it'll return a blank.
If it's not, it'll give you the result of your formula.

John
 

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

Top