Formulas | Green, Yellow, Red Health via Due Date

Howdy all!

Long time researcher, first-time hair puller-outer :-) I'm hoping to create an automated RBY Health Column in my sheet based on the due date. I tried modifying some formulas based on what I've seen in other threads, but I'm really struggling and hoping to get some help from this community :-)

Long and short, I'd like to have a formula where ...

  • If the Due date is greater than 57 days, the Health is Green.
  • If the Due date is between 7 and 3 days, the Health is Yellow.
  • If the Due date is between 3 and 0 days (or in the past), the Health is Red.

Anyone able to help me out a bit? Appreciate any tips or assistance!


Bradley


P.S. As an aside, any particular videos y'all would recommend to review and build out?

Best Answers

  • Mark Cronk
    Mark Cronk ✭✭✭✭✭✭
    Answer ✓

    =IF([Due Date]@row -Today() >57, "Green", IF([Due Date]@row -Today() >4, "Yellow", "Red"))

    Mark


    I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.

  • Darin Wagner
    Darin Wagner ✭✭✭
    Answer ✓

    Bradley,

    I'll take a first shot at it and my first post on the community...might be a better solution, but I think I have a formula that will work for you.

    I have a column named Due Date [Column Set to Date] and in another column this formula: [Column Set to RYG Balls]

    =IF([Due Date]@row > TODAY(57), "Green", IF(AND([Due Date]1 >= TODAY(3), [Due Date]1 <= TODAY(7)), "Yellow", IF([Due Date]1 < TODAY(3), "Red")))

    • If the Due date is greater than 57 days, the Health is Green.
      • >Today(57)
    • If the Due date is between 7 and 3 days, the Health is Yellow.
      • IF(AND for the between 3 and 7 days
    • If the Due date is between 3 and 0 days (or in the past), the Health is Red.
      • < Today(3)

    I hope that helps!

    Thanks!

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!