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.8K Get Help
- 410 Global Discussions
- 219 Industry Talk
- 457 Announcements
- 4.7K Ideas & Feature Requests
- 143 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives