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
- Smartsheet Customer Resources
- 62.1K Get Help
- 351 Global Discussions
- 198 Industry Talk
- 427 Announcements
- 4.4K Ideas & Feature Requests
- 133 Brandfolder
- 127 Just for fun
- 127 Community Job Board
- 455 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!