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.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!