Formula help

SharonRSharonR ✭✭✭✭✭
edited 12/09/19 in Formulas and Functions
10/08/18 Edited 12/09/19

How would i add the children rows, that has the below sum?

Grandparent - SUM???

Parent - ="Total: " + COUNTIF(CHILDREN(), 1)

Child - Tick box

 

Hope this makes sense. 

 

 

Comments

  • Marcus OdumMarcus Odum ✭✭✭✭✭

    Hi Sharon I am going to take a stab at this one. Are you trying to get the sum and counts of checked children? In this case the grandparent will show the sum of checked children, and the parent will show the count of checked children? If so:

    Grandparent:

    =SUMIF(CHILDREN(CheckParentRow), 1, CHILDREN(AmountParentRow))

    Parent:

    =COUNTIF(CHILDREN(CheckParentRow), 1)

    Hope that helps.

    2018-10-08 21_20_24-Smartsheet.png

  • SharonRSharonR ✭✭✭✭✭

    Yes that is what i was asking. laugh  Thank you so much.  ...

     

  • SharonRSharonR ✭✭✭✭✭

    Sorry yes,  but what if you have multiple parent lines with the following sum, 

    ="Total: " + COUNTIF(CHILDREN(), 1)

    How do you count a cell that reads Total: 2, Total: 1 Total: 5 = 8

    See attached image

    chopshop.PNG

  • Marcus OdumMarcus Odum ✭✭✭✭✭

    Simply sum of the children. SmartSheet respects nesting and the relationship, so it will not consider grandchildren if you are looking for a sum of the parents.

    2018-10-10 09_26_24-Smartsheet.png

Sign In or Register to comment.