I am trying to get a formula to compute when 0
is present, and the #DIV/0!
error is being problematic.
I want cell H4
to calculate a ratio using cells F4
and G4
. This works fine when 0
is not present in cell G4
however when 0
is present I get the #DIV/0!
error.
How can this formula be modified so it still works out the ratio even if there is a 0
in cell G4
?
The current formula is : =IF(COUNT(G4)=1,SUM(F4/G4),"")