Basic checkbox counting to apply status option to Parent rows only
I am unable to get the output to say "Not Started" in the Status column for the formula I am using. What is missing? Also, is there a way to reference "Done" part of the Children of the parent without specifying the exact row number (e.g. "Done2") in the formula?
Formula example that needs fixing below:
=IF(COUNTIFS(Done2:Done6, 1) = COUNT(Done2:Done6, 0), "Not Started", IF(COUNTIFS(Done2:Done6, 1) = COUNT(Done2:Done6), "Complete", "In Progress"))
Status option (Not Started, In Progress, Completed) definitions are:
"Not Started" = no marked checkboxes in the children of a Parent row
"In Progress" = at least one marked checkbox (but not all checkboxes) in the children of a Parent row.
"Complete" = all checkboxes are marked within the Parent row
Answers
-
You'll need a helper column to count the # of children each parent has. You can hide this helper column after you set it up. Here's an example:
Here's the formula to paste into each parent's Status column:
=IF(COUNTIF(CHILDREN(Done@row), =1) = [Children Count]@row, "Complete", IF(COUNTIFS(COUNTIF(CHILDREN(Done@row), =1), >0, COUNTIF(CHILDREN(Done@row), =1), <[Children Count]@row), "In Progress", IF(COUNTIF(CHILDREN(Done@row), =1) = 0, "Not Started")))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 437 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!