Sum child rows that use a formula?

I have child rows that use a formula to calculate % completion based on input to another column. I'd like the parent row to return a value based on the child values (Specifically, sum of the child rows divided by the number of child rows).

As the child rows use a formula rather than a direct number entry, entering a =SUM(CHILDREN()) / COUNT(CHILDREN()) formula in the parent row doesn't work.

I'm not sure how to manage the data to get the result I'm seeking. Thanks for any thoughts you have!

Tags:

Best Answer

  • S Richardson
    S Richardson ✭✭
    Answer ✓

    Solved: I needed to change the value output of the formula in the child rows, and now the parent row AVG formula works as expected.

    =IF(Progress@row = "Complete", 1, IF(Progress@row = "In Progress", .25, IF(Progress@row = "Not Started", 0, IF(Progress@row = "On Hold", .25))))

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!