Sorting and conserving formula

When I sort rows, the formulas are not maintained:

= SUMIF($[column_A]$7:$[column_A]237, "Received", [Column_B]$7:[Column_B]237))

gets transformed into this:

= SUMIF($[column_A]$57:$[column_A]237, "Received", [Column_B]$57:[Column_B]237))



the $ has no effect.

and I cannot use the [column_A]:[column_A] syntax as it will return me circular error due to my calculation above rows 7.

 

I am looking for the possibility to SUMIF everything under row 7 regardless the sorting.

 

Any suggestion?

Best,

Michaël

Comments

  • L_123
    L_123 ✭✭✭✭✭✭

    Try doing your sorting in a report instead of your sheet. That aside,

     

    you can try using a column reference for your sumif, then subtracting the first seven rows. This will work provided the top 7 rows don't move in your sorting.

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭

    You could also create a parent row and have rows 7 and down indented underneath of this row. Then you can use the CHILDREN function within your formulas.

    Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!

    CERTIFIED SMARTSHEET PLATINUM PARTNER

    10xViz.com

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!