Count the number of non blank child cells
Hi!
The sheet contains the following hierarchy:
There are formulas (COUNT(CHILDREN())) in the blue cells of the Missing study column. I need to count the total number of white (child) cells. In this particular case [10] should appear.
What the formula should look like?
Thank you in advance!
Best Answers

You should be able to use
=SUM(CHILDREN())
But I am not sure if that will work because of the brackets. Is there a reason you have the brackets around the numbers?

Ok. If you really want to keep the brackets, you will need to insert a helper column that can later be hidden and replicate your counts without the brackets. Then use
=SUM(CHILDREN([Helper Column]@row))
Answers

You should be able to use
=SUM(CHILDREN())
But I am not sure if that will work because of the brackets. Is there a reason you have the brackets around the numbers?

Thanks Paul! Brackets are for decoration ="[" + (COUNT(CHILDREN())) + "]"
and you were right  SUM(CHILDREN()) works only without them

Ok. If you really want to keep the brackets, you will need to insert a helper column that can later be hidden and replicate your counts without the brackets. Then use
=SUM(CHILDREN([Helper Column]@row))
Help Article Resources
Categories
 All Categories
 14 Welcome to the Community
 Smartsheet Customer Resources
 61.2K Get Help
 321 Global Discussions
 197 Industry Talk
 415 Announcements
 4.2K Ideas & Feature Requests
 126 Brandfolder
 153 Just for fun
 124 Community Job Board
 441 Show & Tell
 26 Member Spotlight
 1 SmartStories
 277 Events
 34 Webinars
 7.3K Forum Archives
Check out the Formula Handbook template!