Count all of the Level 1 Parent rows in a SmartSheet
In the document's Summary Sheet, I want to count all of the Level 1 parent tasks in the Sheet itself. In the example above, the answer is 2.
Best Answer
-
Hi Paul,
You can add a new column called "Counter" in which you are going to calculate the number of childrens that are included in each row. If the result is higher than 0, then the row is a parent.
=COUNT(CHILDREN([Dept Initiative Name]@row))
Afterwards, add an extra row at the top of your sheet to count the number of cells containing a result higher than 0.
=COUNTIFS(Counter:Counter, >0)
Hope this helps! Have a good day,
Mathieu | info@evolytion.com
Mathieu | Workflow Consultant
info@evolytion.com
Answers
-
Hi Paul,
You can add a new column called "Counter" in which you are going to calculate the number of childrens that are included in each row. If the result is higher than 0, then the row is a parent.
=COUNT(CHILDREN([Dept Initiative Name]@row))
Afterwards, add an extra row at the top of your sheet to count the number of cells containing a result higher than 0.
=COUNTIFS(Counter:Counter, >0)
Hope this helps! Have a good day,
Mathieu | info@evolytion.com
Mathieu | Workflow Consultant
info@evolytion.com
-
That is AWESOME!
Much more elegant than a formatting a rule I was going to apply to the Task Name if I didn't get a better answer.
Thanks
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!