How to include Count Collect formula with Parent Row Count Formula?
Hey there,
I'm trying to add a 'Count Parent and other rows' formula to my existing count collect formula. See existing formula below.
=COUNT(COLLECT({Row ID}, {Category}, $Label@row))
It is counting specific fields from the intake sheet and placing in a newly created sheet. To update it I want to exclude child rows from the count.
Can anyone help me to do this?
Thanks
Answers
-
I would make a parent column with this formula:
=IF(COUNT(CHILDREN([row ID]@row)) >= 1, 1, 0)
Then use that in your collect formula
-
Then do this:
=COUNT(COLLECT({Row ID}, {Category}, $Label@row,{parentrow},1))
-
Hey Michael,
Thanks for helping out! All is working!
Would it be possible to add to the first formula so it also counts rows without child rows automatically?
Thanks
-
Hey @Michael Culley. Just wondering if you saw my last message?
Thanks for the help.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.9K Get Help
- 379 Global Discussions
- 210 Industry Talk
- 441 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 300 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!