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.4K Get Help
- 424 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 145 Just for fun
- 62 Community Job Board
- 464 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!