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"))))
-
Thank you so much!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.5K Get Help
- 424 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 146 Just for fun
- 63 Community Job Board
- 465 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!