Parent Row Status Formula Help
In the Project Roll-up Template, I'd like to add a "Not Applicable" as a status selection for rows that won't be applicable. If a single children row is "Not Applicable", I don't want the parent row status to change, if that makes sense. Currently if a single child row is "Not Applicable", the parent row status goes to "In Progress".
=IF(COUNTIF(CHILDREN(), "Complete") = COUNT(CHILDREN()), "Complete", IF(COUNTIF(CHILDREN(), "Not Started") = COUNT(CHILDREN()), "Not Started", IF(COUNTIF(CHILDREN(), "In Progress") > 0, "In Progress", IF(COUNTIF(CHILDREN(), "Not Started") > 0, "In Progress", IF(COUNTIF(CHILDREN(), "Blocked") > 0, "In Progress")))))
Best Answer
-
The logic is simple, just add additional counting for "Not Applicable"
=IF(COUNTIF(CHILDREN(), "Complete")+COUNTIF(CHILDREN(), "Not Applicable") = COUNT(CHILDREN()), "Complete", IF(COUNTIF(CHILDREN(), "Not Started")+COUNTIF(CHILDREN(), "Not Applicable") = COUNT(CHILDREN()), "Not Started", IF(COUNTIF(CHILDREN(), "In Progress") > 0, "In Progress", IF(COUNTIF(CHILDREN(), "Not Started") > 0, "In Progress", IF(COUNTIF(CHILDREN(), "Blocked") > 0, "In Progress")))))
Please let me know if that works for you?
Thanks!
Tomasz Giba
Answers
-
The logic is simple, just add additional counting for "Not Applicable"
=IF(COUNTIF(CHILDREN(), "Complete")+COUNTIF(CHILDREN(), "Not Applicable") = COUNT(CHILDREN()), "Complete", IF(COUNTIF(CHILDREN(), "Not Started")+COUNTIF(CHILDREN(), "Not Applicable") = COUNT(CHILDREN()), "Not Started", IF(COUNTIF(CHILDREN(), "In Progress") > 0, "In Progress", IF(COUNTIF(CHILDREN(), "Not Started") > 0, "In Progress", IF(COUNTIF(CHILDREN(), "Blocked") > 0, "In Progress")))))
Please let me know if that works for you?
Thanks!
Tomasz Giba
-
@Tomasz Giba Yes thanks so much for your help
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.2K Get Help
- 444 Global Discussions
- 142 Industry Talk
- 473 Announcements
- 5K Ideas & Feature Requests
- 84 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!