Dyanmic Approach Help

Options

First explaining it slightly, the yellow columns show the sum of the specific cells within the week, currently i do it using range with =SUM(Qty5:Qty10) for the first week. However i wanna make it dynamic such that if i add more rows it wont be a mistake with the sum. For example if i bring up 3 rows from the second week to the first one i want the respective quanitites to update itself. Kindly suggest me what can i do.

Answers

  • Brian_Richardson
    Brian_Richardson Overachievers
    Options

    I'd use Smartsheet's hierarchy to help you, it's a great feature.

    If you indent the green rows under the yellow row, then your formula on the yellow row can be

    =SUM(CHILDREN(QTY@row))

    This will add up all the indented lines, regardless of how many there are.

    BRIAN RICHARDSON | PMO TOOLS AND RESOURCES | HE|HIM

    SEATTLE WA, USA

    IRON MOUNTAIN

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!