#DIVIDE BY ZERO issue

Options

Hi All,

Getting a #DIVIDE BY ZERO issue. I have two fields that are both 0% ... Hence #DIVIDE BY ZERO issue. Any thoughts to the below equation? I can't get it to work.

NOTE: When I use the IFERROR section only (IFERROR([% Construction Complete]@row / [% Elapsed Time to Baseline Duration]@row <> 0, "") it works, the field is blank or whatever I put in between the quotations. Thats part is good....It's when I add the other lines I get the #DIVIDE BY ZERO issue.


=IFERROR([% Construction Complete]@row / [% Elapsed Time to Baseline Duration]@row <> 0, "", IF([% Construction Complete]@row / [% Elapsed Time to Baseline Duration]@row >= 0.75, "Yes", IF([% Construction Complete]@row / [% Elapsed Time to Baseline Duration]@row <= 0.25, "No", "Hold")))


Results should be.....

IFERROR the field should be blank

IF Yes the field populates Green Circle

IF No the field populates Red Stop Sign

IF anything else field populates Yellow Triangle


Thanks for the help.

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!