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
- 63.9K Get Help
- 410 Global Discussions
- 219 Industry Talk
- 457 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 136 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!