how do I hide a calulation error in cells/table #div/0!

D

Dave

The calulation is to have data entered at a later date but with no data on
the cell to be divided the answer cell show #div/0! But I want this left
blank, not showing the error.
I can change one at a time but not all at once.
 
D

David Biddulph

If your formula is =A1/B1, you can avoid the divide by zero error when B1 is
empty by using =IF(B1="","",A1/B1).
If you want the result to be blank if either A1 or B1 or both is missing,
you could use =IF(OR(A1="",B1=""),"",A1/B1).
 

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