Formula for project health
I have the following formula and I want to add:
Turn task health Blue for START DATE column if today's date is before the start date.
Leave Task Health blank if there is not Start Date or Target End Date
=IF(OR(AND([Target End Date]@row <= TODAY(7), [% Complete]@row < 0.5), AND([Target End Date]@row < TODAY(), [% Complete]@row < 1)), "Red", IF(OR([% Complete]@row = 1, [Target End Date]@row >= TODAY(7)), "Green", IF(AND([Target End Date]@row <= TODAY(7), [% Complete]@row >= 0.5), "Yellow")))
Best Answer
-
You'd just add these bits at the start to get:
=IF(OR(ISBLANK([Start Date]@row), ISBLANK([Target End Date]@row)), "", IF([Start Date]@row > TODAY(), "Blue", IF(OR(AND([Target End Date]@row <= TODAY(7), [% Complete]@row < 0.5), AND([Target End Date]@row < TODAY(), [% Complete]@row < 1)), "Red", IF(OR([% Complete]@row = 1, [Target End Date]@row >= TODAY(7)), "Green", IF(AND([Target End Date]@row <= TODAY(7), [% Complete]@row >= 0.5), "Yellow")))))
Hope this helps!
Answers
-
Hi @Melissa F 13 -
I tested out your problem and here is the solution. Use the formula below, it would turn the task health blue where date is greater then today and leave it blank if the start date is blank and you can add the logic for ned date the same way. Hope this helps!
Cheers,
Ipshita
Ipshita Mukherjee
-
Can you provide this added into the formula I provided above?
-
You'd just add these bits at the start to get:
=IF(OR(ISBLANK([Start Date]@row), ISBLANK([Target End Date]@row)), "", IF([Start Date]@row > TODAY(), "Blue", IF(OR(AND([Target End Date]@row <= TODAY(7), [% Complete]@row < 0.5), AND([Target End Date]@row < TODAY(), [% Complete]@row < 1)), "Red", IF(OR([% Complete]@row = 1, [Target End Date]@row >= TODAY(7)), "Green", IF(AND([Target End Date]@row <= TODAY(7), [% Complete]@row >= 0.5), "Yellow")))))
Hope this helps!
-
Fantastic, thank you!
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
- 495 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!