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
- 67.5K Get Help
- 467 Global Discussions
- 156 Industry Talk
- 511 Announcements
- 5.5K Ideas & Feature Requests
- 87 Brandfolder
- 156 Just for fun
- 81 Community Job Board
- 520 Show & Tell
- 35 Member Spotlight
- 3 SmartStories
- 307 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!