Help with merging 2 "IF" segments.
I'd like to merge these into one formula for Schedule Health, so I can convert into a column formula.
=IF(Level@row < 2, IF(COUNTIF(CHILDREN(), "Blue") = COUNT(CHILDREN()), "Blue", IF(COUNTIF(CHILDREN(), "Green") = COUNT(CHILDREN()), "Green", IF(COUNTIF(CHILDREN(), "Red") > 0, "Red", "Yellow"))))
or
=IF(Level@row >= 2, IF([Late Task]@row = 1, "Red", IF(Status@row = "On Hold", "Red", IF(AND([End Date]@row - TODAY() < 3, [% Complete]@row < 0.5), "Yellow", IF([Start Date]@row > TODAY(), "Blue", "Green")))))
Thanks in Advance.
Answers
-
=IF(Level@row < 2,IF(COUNTIF(CHILDREN(), "Blue") = COUNT(CHILDREN()), "Blue", IF(COUNTIF(CHILDREN(), "Green") = COUNT(CHILDREN()), "Green", IF(COUNTIF(CHILDREN(), "Red") > 0, "Red", "Yellow")),IF([Late Task]@row = 1, "Red", IF(Status@row = "On Hold", "Red", IF(AND([End Date]@row - TODAY() < 3, [% Complete]@row < 0.5), "Yellow", IF([Start Date]@row > TODAY(), "Blue", "Green"))))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.1K Get Help
- 444 Global Discussions
- 142 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 83 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 489 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!