Div 0 help

  • Thread starter Thread starter joey_boy
  • Start date Start date
J

joey_boy

=(SUM(E98:F98)+D98/2)/(I98-G98)

This formula gives me a Div 0 error. How can I re-write it so that it stores
a value of 0 , if it encounters a Divide by 0 and executes the calculation if
Help appreciated
Joe
 
maybe:

=if(i98=g98,0,sum(e98:F98,d98/2)/(i98-g98))

I combined your addition into the =sum() portion. I thought it made it easier
to read.
 
Back
Top