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).
 
Top