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
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!