How to I change the Schedule Heath formula on the Project Plan from the PMO Template Set?

Hello, I am using the PMO Template Set from Smartsheet and am having trouble figuring out how to write a formula to change the Schedule Heath column to capture the following:
If the Status is flipped to "Complete" =Green.
If today is 5 days or fewer from the start date and until the end date OR the Status is flipped to "Complete" = Yellow.
If today is the day after the end and until status is flipped to "Complete" = Red.
If tried to use a few of the other functions that appear to be similar to my situation on this forum but....still can't get it to work.
Help!
Best Answer
-
Try this:
=IF(OR([Status]@row = "Complete", [Start Date]@row> TODAY(5)), "Green", IF([End Date]@row< TODAY(), "Red", "Yellow"))
Answers
-
What if the status is not complete but the end date is more than 5 days in the future?
-
@Paul Newcome great question. I hadn't thought about that but probably green.
-
Try this:
=IF(OR([Status]@row = "Complete", [Start Date]@row> TODAY(5)), "Green", IF([End Date]@row< TODAY(), "Red", "Yellow"))
-
THANK YOU! That worked.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.5K Get Help
- 468 Global Discussions
- 156 Industry Talk
- 511 Announcements
- 5.5K Ideas & Feature Requests
- 87 Brandfolder
- 156 Just for fun
- 81 Community Job Board
- 521 Show & Tell
- 35 Member Spotlight
- 3 SmartStories
- 307 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!