Counting Checkboxes for Children

Getting an unparseable error when i do this:

=COUNTIFS(DESCENDANTS([Final and Locked]824, 1))

Basically, I just want it to automatically count the number of checkboxes in the next column so when new children are added by other users, I don't need to worry if the formula is capturing the new rows.

 

Capture.PNG

Comments

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭

    It's just a basic issue with parenthesis.

     

    =COUNTIFS(DESCENDANTS([Final and Locked]824), 1)

     

    Try this...

  • Anthony Barthelemy
    Anthony Barthelemy ✭✭✭✭✭✭

    I am trying to do something similar. Except, the condition is that all children have to be checked in order for the parent to auto check the box. Can you help?

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭

    @Ray B First choose a column that has data in it for every row that you want to check against.


    =COUNT(DESCENDANTS([Other Column]@row))

    will give you the count for how many there should be.


    =COUNTIFS(DESCENDANTS(), 1)

    will give you the count for how many are.


    Comparing the two in an IF statement to say that if those two numbers match then check this box would then look like this...

    =IF(COUNTIFS(DESCENDANTS(), 1) = COUNT(DESCENDANTS([Other Column]@row)), 1)

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!