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
- Customer Resources
- 66.2K Get Help
- 430 Global Discussions
- 152 Industry Talk
- 490 Announcements
- 5.2K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 74 Community Job Board
- 501 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 306 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!