I need help with a formula for Schedule Health.

Currently its working in reference to "Todays" date only. I need the formula to take in consideration the "Completed Date" and not turn "Red" or "Yellow" if the task has been completed by the "Target Date".
Currently using:
=IF([Target End Date]1 < TODAY(), "Red", IF([Target End Date]1 = TODAY(), "Yellow", IF([Target End Date]1 > TODAY(), "Green")))
Best Answer
-
Is this closer to what you're looking to do? Not sure how you want schedule health broken out if you missed your completion dates.
=IF(AND([Completed Date]@row <= [Target End Date]@row, ISDATE([Completed Date]@row)), "Green", IF([Target End Date]@row < TODAY(), "Red", IF([Target End Date]@row = TODAY(), "Yellow", IF([Target End Date]@row > TODAY(), "Green"))))
Answers
-
Is this closer to what you're looking to do? Not sure how you want schedule health broken out if you missed your completion dates.
=IF(AND([Completed Date]@row <= [Target End Date]@row, ISDATE([Completed Date]@row)), "Green", IF([Target End Date]@row < TODAY(), "Red", IF([Target End Date]@row = TODAY(), "Yellow", IF([Target End Date]@row > TODAY(), "Green"))))
-
@Austin Smith Yes!! Thank you so much its perfect! I appreciate the help. π€
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.9K Get Help
- 474 Global Discussions
- 207 Use Cases
- 517 Announcements
- 5.5K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 83 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!