Traffic light formula

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")))
Answers
-
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.
-
I have corrected the formula…just for fun. You will need to change "210" for individual rows to compare values or a global reference if converted to a formula.
=IF([Due Date]210 > TODAY(),"Red", IF([Status]210 = "Completed", "Green", IF([Status]210 = "In progress", "Yellow", "Blue")))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.5K Get Help
- 434 Global Discussions
- 152 Industry Talk
- 494 Announcements
- 5.3K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 77 Community Job Board
- 506 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 307 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!