S
srctr
I have a formula
=IF(H2=0, "0.00%", H2/F2)
This works great if H2 is zero. But if F2 is zero I get the #DIV/0! error.
I tried the following
=IF(ISERROR(H2/F2),"0.00%",H2/F2)
However it gives me 0.00% if F2 is zero but gives me 0 if H2 is zero.
I want the answer 0.00% if either H2 or F2 are zero.
I do I do that? Thanks
=IF(H2=0, "0.00%", H2/F2)
This works great if H2 is zero. But if F2 is zero I get the #DIV/0! error.
I tried the following
=IF(ISERROR(H2/F2),"0.00%",H2/F2)
However it gives me 0.00% if F2 is zero but gives me 0 if H2 is zero.
I want the answer 0.00% if either H2 or F2 are zero.
I do I do that? Thanks