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
- 64K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 138 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!