IF/AND formula for RYGG balls (for status and due date)

Hi, I've combed through the community site posts but have been unable to solve the issue with my formula. I need the parameters below with #4 taking priority over #3. They "Cancelled", "On hold", "Complete" and "In Progress" are working but adding in the "Due" does not work.

Any help is greatly, greatly appreciated!!!

The formula I am using is:

=IF([Status Description]@row = "Cancelled", "Gray", IF([Status Description]@row = "On hold", "Gray", IF([Status Description]@row = "Complete", "Green", IF([Status Description]@row = "In Progress", "Yellow", IF([Status Description]@row = "In Progress", AND(Due@row < TODAY(), "Red"))))))

  1. If "status description" is "On hold" or "Cancelled", ball should be gray
  2. If "status description is "Complete", ball should be green
  3. If "status description" is "In Progress", ball should be yellow
  4. If "status description" is "In Progress" AND "Due" is past TODAY, ball should be red

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!