Stumped on formula for Status of parent task with multiple children and criteria
Hi All,
I'm trying to write a formula for which the parent task status is based on the following logic with regards to the status of the children:
- If all child tasks are “not started”, the parent task should be “not started”
- If all child tasks are “completed”, the parent task should be “completed”
- Any other combination would be "in progress" (ie if some or all child tasks are "in progress", some are completed some are not started)
Thanks in advance for your help!
Best Answer
-
Put this into the Status column of each Parent row:
=IF(COUNTIFS(CHILDREN(), "Completed") = COUNT(CHILDREN()), "Completed", IF(COUNTIFS(CHILDREN(), "Not Started") = COUNT(CHILDREN()), "Not Started", IF(COUNTIFS(CHILDREN(), "In Progress") > 0, "In Progress")))
Answers
-
Put this into the Status column of each Parent row:
=IF(COUNTIFS(CHILDREN(), "Completed") = COUNT(CHILDREN()), "Completed", IF(COUNTIFS(CHILDREN(), "Not Started") = COUNT(CHILDREN()), "Not Started", IF(COUNTIFS(CHILDREN(), "In Progress") > 0, "In Progress")))
-
@Mike TV Thank you so much! This worked! Greatly appreciated.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!