How to use "Countif" with reference to CHILDREN in another sheet
Hello - I need some help with the children formula. I am trying to reference another sheet and only pull info from the children of specific hierarchies.
The only way that I can do it, as of now and with my current skill set, is if I select all of the actual children. I realize this will be out of formula as soon as more children come into this hierarchy.
"=COUNTIF({FDB Archive Sales - Qualified Lost Range 2}, [Primary Column]19)"
Any help on how to use the CHILDREN function with referencing another sheet would be greatly appreciated!
Thanks, Jef
Comments
-
Children doesn't work across sheets regretfully.
Your best bet is to use the COLLECT formula with an identifier in the row.
-
I was thinking something similar to Luke's suggestion. You can use a checkbox column on the first sheet with something along the lines of
=IF(COUNT(CHILDREN()) = 0, 1)
to automatically check the box if the row in question has no children rows underneath of it (lowest hierarchy).
You can then use a COUNTIFS statement and add in the range and criteria of
........., [Helper Column]:[Helper Column], @cell = 1)
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- 10.8K Get Help
- 65 Global Discussions
- 69 Industry Talk
- 385 Announcements
- 3.5K Ideas & Feature Requests
- 55 Brandfolder
- 125 Just for fun
- 50 Community Job Board
- 464 Show & Tell
- 40 Member Spotlight
- 44 Power Your Process
- 28 Sponsor X
- 234 Events
- 7.3K Forum Archives
Check out the Formula Handbook template!