Welcome to the Smartsheet Forum Archives
The posts in this forum are no longer monitored for accuracy and their content may no longer be current. If there's a discussion here that interests you and you'd like to find (or create) a more current version, please Visit the Current Forums.
Counting Rows
I have a list of projects divided into sections. Each section can have projects that have sub projects. When I use this formula on a section header ="Current(" +COUNT(CHILDREN()) + ")" my result looks like this: Current (24). However, the count does not include the sub tasks. How can I write the formula so that it will include sub tasks as well?
Comments
-
Greetings Gina,
A couple of suggestions...
1. Create another column that performs the following formula: =COUNT(ANCESTORS()) in each cell and hide it. Any result with Count(Ancestors()) > 0 is a child object in heirarchy. You could then write a COUNTIF formula, such as =COUNTIF([Column3]:[Column3],>1) to determine the number of child objects you might have.
2. If you only want to count the Child tasks, and not the sub-headers for those sections, you may want to consider writting a couple of formulas in each sub-header/parent column: =COUNT(CHILDREN()) & from there running a SUM() on those cells.
Hope this helps!
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.6K Get Help
- 403 Global Discussions
- 215 Industry Talk
- 455 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 56 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives