how do you hide the #DIV/0! in a blank spreadsheet?

K

Ken Wright

Assuming your formula is =A1/A2 then use

=IF(A2=0,0,A1/A2)

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

------------------------------­------------------------------­----------------
It's easier to beg forgiveness than ask permission :)
------------------------------­------------------------------­----------------
 
P

pinmaster

Couple of ways.

1 - use conditional formatting with this formula
=ISERROR(C1)
format font color same as background color

2 - alter your formula so that it will return blank or zero if a certain
cell is empty
=IF(B1="","",A1/B1)

HTH
Jean-Guy
 
Top