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
Help Article Resources
Categories
Check out the Formula Handbook template!