Update SUM when new row is inserted - can I copy this formula

bchez

Board Regular
Joined
May 19, 2014
Messages
55
I have a formula in cell I22 =SUM(INDIRECT("I2:I"&ROW()-1)) which will update the SUM if I insert new rows. However, when I copy this formula to another column, L for example, the formula still says Column I. Any way to make the formula copy and paste friendly? Thanks!
 
It can be done that way, but have you considered a simpler SUMIF approach with the summary at the top?

ABCD
1
2Totals
3EAST1532
4WEST6036
57568
6
7DistrictPersonAmount 1Amount 2
8EASTA37
9EASTB523
10EASTC72
11WESTD1113
12WESTE131
13WESTF175
14WESTG1917
1
Cell Formulas
RangeFormula
C3:D4C3=SUMIF($A$8:$A$14,$A3,C$8:C$14)
C5:D5C5=SUM(C3:C4)
 
Upvote 0

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
It can be done that way, but have you considered a simpler SUMIF approach with the summary at the top?

ABCD
1
2Totals
3EAST1532
4WEST6036
57568
6
7DistrictPersonAmount 1Amount 2
8EASTA37
9EASTB523
10EASTC72
11WESTD1113
12WESTE131
13WESTF175
14WESTG1917
1
Cell Formulas
RangeFormula
C3:D4C3=SUMIF($A$8:$A$14,$A3,C$8:C$14)
C5:D5C5=SUM(C3:C4)
I like that! I'll give that a try. Thank you Stephen
 
Upvote 0

Forum statistics

Threads
1,214,581
Messages
6,120,372
Members
448,957
Latest member
BatCoder

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top