sum (add) every consecutive N cells in a column

smilewithme

New Member
Joined
Mar 8, 2007
Messages
2
Hello,

I have several thousands of numbers in a column. I would like to add every 100 cells and bring the result into column B. Can someone help me with this?

For example if I have numbers in 1000 cells from A1 to A1000. Now, I would like to add each consecutive 100 numbers (like A1:A100, A101:A200, A201:A300 and so on) and put the results in column B.

Please help me with this. Thanks
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Try...

B1, copied down:

=SUM(INDEX($A$1:$A$1000,ROWS($B$1:B1)*100-100+1):INDEX($A$1:$A$100,ROWS($B$1:B1)*100))

Hope this helps!
 
Upvote 0

Forum statistics

Threads
1,215,523
Messages
6,125,318
Members
449,218
Latest member
Excel Master

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