Looking to have a RAG status based on Status and Date
Hi all- Looking for some help. Trying to create a RAG status (red, yellow, green, blue) that takes into account an expected completion date as well as a status (Not Started, In Progress, Pending, and Complete)
Rules:
Task in Complete state should be Blue
Task that is in Progress or Pending before the Expected completion date is Green
Task that is in Progress or Pending up to 2 days after the Expected completion date is Yellow
Task that is Not Started and Today = Expected Completion date is Red
Task that is not in Complete State and 3 days past Expected Completion date is Red.
Thank you.
Answers
-
Try this:
=IF(Status@row = "Complete", "Blue", IF(Status@row = "Not Started", IF([Expected Completion Date]@row<= TODAY(), "Red", "Green"), IF([Expected Completion Date]@row>= TODAY(), "Green", IF([Expected Completion Date]@row>= TODAY(-2), "Yellow", "Red"))))
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
Thank you so much!
-
Happy to help. 👍️
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63K Get Help
- 380 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 450 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 305 Events
- 34 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!