Count # of Parent Rows in a Sheet
This seems like such an elementary question but I keep going around and around on this and I can't find what I'm doing wrong. I'm trying to count the number of parent rows in the sheet (each parent row represents an "Employee Name"); I want to include this count in the sheet summary but I can't seem to figure it out. This is what I'm using:
=COUNT(PARENT([Employee Name]))
Best Answer
-
The workaround I have used is to create a helper column to count ancestors. You could also choose to count descendants instead.
=count(ancestors([Employee Name]@row)
Make it column formula. Then in your sheet summary:
=countif([Ancestors]:[Ancestors], = 0)
Hope this helps
Answers
-
The workaround I have used is to create a helper column to count ancestors. You could also choose to count descendants instead.
=count(ancestors([Employee Name]@row)
Make it column formula. Then in your sheet summary:
=countif([Ancestors]:[Ancestors], = 0)
Hope this helps
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
- 141 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!