Traffic light formula

Cathy Fraser
Cathy Fraser ✭✭✭✭✭
edited 12/09/19 in Formulas and Functions

Hi,

I have a traffic light column in spreadsheet and I have a formula that triggers the colour based on a status column. I am just looking to add a step in that turns the traffic light red if it is not started or in progress and it is past the due date

Formula so far

=IF(Status210 = "Completed", "Green", IF(Status210 = "In progress", "Yellow", IF(Status210 = "Not Started", "Blue")))

 

Capture.JPG

Tags:

Comments

  • I believe you would be looking for this: 

    =IF([Due Date]210 > TODAY(),"Red",IF(Status210 = "Completed","Green", IF(Status210 = "In progress","Yellow", "Blue"))

     

    Note that I updated your equation so that it doesn't check for "Not Started" to return Blue so that Blue will show any time none of the other conditions are met. 

    You also may need to update the Due Date column name to match exactly what your column is named. 

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!