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
- Smartsheet Customer Resources
- 64.3K Get Help
- 422 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!