Count(Children()) Not Counting Correctly
I am trying to create a rollup of the status of the phase using a modified version of the method from this post:
The problem I am running into is somehow the simple COUNT(CHILDREN()) portion of my formula is not counting the correct number of children. As shown in this screenshot, there are clearly 3 children of this parent row, but it is only counting 2 when I use the formula =COUNT(CHILDREN()). Any idea why this could be?
Holly Conrad Smith
Director of Technology & Innovation 💡 at Streamline
CliftonStrengths Top 5: Deliberative, Restorative, Achiever, Consistency, Harmony
Best Answer
-
The count function by default does not count blank cells.
You can switch this to a COUNTIF function that checks for both empty and full:
=COUNTIF(CHILDREN(), OR(@cell = "", @cell <> ""))
Answers
-
The count function by default does not count blank cells.
You can switch this to a COUNTIF function that checks for both empty and full:
=COUNTIF(CHILDREN(), OR(@cell = "", @cell <> ""))
-
Thank you @Leibel Shuchat! 🤩
Holly Conrad Smith
Director of Technology & Innovation 💡 at Streamline
CliftonStrengths Top 5: Deliberative, Restorative, Achiever, Consistency, Harmony
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.1K Get Help
- 349 Global Discussions
- 198 Industry Talk
- 427 Announcements
- 4.4K Ideas & Feature Requests
- 133 Brandfolder
- 127 Just for fun
- 127 Community Job Board
- 455 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!