Suming Increments of 4

vgirl76

New Member
Joined
Oct 20, 2005
Messages
31
I have data for Quarter 1 thru Quarter 4
Q1-4 repeats increments of 4 for 900 lines
I want a formula that when i drag it down will only sum increments of 4

As you can imagine when i do a sum it will do A1:A4 but when i drag down it will sum A2:A5
I want it to do A1:A4 then A5:A9
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
This will do it:

=SUM(OFFSET($A$1,4*(ROW(A1)-ROW($A$1)),0):OFFSET($A$4,4*(ROW(A1)-ROW($A$1)),0))

But as OFFSET is volatile, there is probably a better way to do it.
 
Upvote 0
Here's another way...

B1, copied down:

=SUM(INDEX($A$1:$A$900,ROWS(B$1:B1)*4-4+1):INDEX($A$1:$A$900,ROWS(B$1:B1)*4))
 
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,550
Members
449,088
Latest member
davidcom

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