RYG Health formula based on due date and % complete

I'm trying to create a formula to calculate the below:
'Due date' is in the next 10 days and '% complete' is less than 50% = "Red"
'Due date' is in the next 10 days and '% complete' is less than 90% = "Yellow"
'Due date' is in the next 10 days and '% complete' is greater than 90% or 100% = "Green"
Best Answer
-
This should do it for you:
=IF([Due Date]@row<= TODAY(10), IF([% Complete]@row<= 0.50, "Red", IF([% Complete]@row<= 0.90, "Yellow", "Green")), "Green")
Answers
-
Try this:
=IF([Due Date]@row<= TODAY(10), IF([% Complete]@row<= 0.50, "Red", IF([% Complete]@row<= 0.90, "Yellow", "Green")))
-
Thanks Paul, yes thats done it but can it be made to show "Green" if the due date is more than 10 days away?
-
This should do it for you:
=IF([Due Date]@row<= TODAY(10), IF([% Complete]@row<= 0.50, "Red", IF([% Complete]@row<= 0.90, "Yellow", "Green")), "Green")
-
thanks, thats ideal
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66K Get Help
- 429 Global Discussions
- 149 Industry Talk
- 488 Announcements
- 5.2K Ideas & Feature Requests
- 85 Brandfolder
- 152 Just for fun
- 74 Community Job Board
- 499 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 305 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!