Formulas and Functions

Formulas and Functions

Ask for help with your formula and find examples of how others use formulas and functions to solve a similar problem.

Keep Health Status Formula When New Row Created

I am really close getting my health status formula that is based on both Status and Date to work. I need the formula to stay when a new row is added. I also want the status to be GREEN with DUE DATE = TODAY.

Here is what I am trying to have happen

If the DUE DATE is in the past turn the health symbol "Red"

If the DUE DATE is within 3 days of TODAY turn the health symbol "Yellow"

Current formula has TODAY yellow and it should be green

If the DUE DATE is greater than TODAY(3) turn the health symbol "Green"

 If the STATUS is NOT STARTED, COMPLETE, or POSTPONED turn the health symbol to "Gray"

If the STATUS is AT RISK turn the health symbol "Yellow"

If the STATUS is IN PROGRESS turn the health symbol "Green"

 Need to have the formula stay when a new row is added. Currently it doesn't stay when I add a new row.


=IF(OR(Status@row = "Not Started", Status@row = "Complete", Status@row = "Postponed"), "Gray", IF(AND([Due Date]@row >= TODAY(4), Status@row = "In Progress"), "Green", IF([Due Date]@row < TODAY(), "Red", "Yellow")))

Best Answer

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!

Trending in Formulas and Functions