Counting # of tasks from a specific parent
Hi all,
I am trying to count the number of tasks in my plan underneath a specific heading. However, I am unsure how to do this for 1 parent heading and not all of them.
For example, I am looking to find the number of tasks under plan stage 2.
- Plan stage 1
- Plan stage 2
- Plan stage 3
I would use "=COUNT(CHILDREN([Task Name]@row))" in the plan and use a countif for anything that =0. However this would count everything for plan stage 1, 2, 3.
Thanks!
Answers
-
I would suggest a helper column (that can be hidden after setup) that has
=PARENT([Task Name]@row)
Then you would use a formula such as this to count the number of children for "Plan stage 2":
=COUNTIFS([Helper Column]:[Helper Column], @cell = "Plan stage 2")
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.7K Get Help
- 371 Global Discussions
- 205 Industry Talk
- 436 Announcements
- 4.5K Ideas & Feature Requests
- 137 Brandfolder
- 129 Just for fun
- 129 Community Job Board
- 448 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 282 Events
- 32 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!