Sum each 9th Row?

kdowning

New Member
Joined
Nov 21, 2013
Messages
4
I am trying to make a formula in cell D22 that will add D23 + D32 + D41 + D50 + ect. I found a thread that explained how to do this I though but when I modified to formula I couldn't get it to work properly.

Original Thread (https://www.mrexcel.com/forum/excel-questions/621629-sum-every-nth-row.html)
=SUMPRODUCT($D$10:$D$249*(MOD(ROW($D$10:$D$249),3)=1))

Modified Formula
=
SUMPRODUCT($D$23:$D$688*(MOD(ROW($D$23:$D$688),9)=1))

Any help would be appreciated.

Kenny
 
Last edited:

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Try:
Rich (BB code):
=SUMPRODUCT($D$23:$D$688*(MOD(ROW($D$23:$D$688),9)=5))
 
Upvote 0
If you do =MOD(23, 9) you will see it returns 5, so by logic try...

=SUMPRODUCT($D$23:$D$688*(MOD(ROW($D$23:$D$688),9)=5))
 
Upvote 0
Thanks everyone, I didn't understand this formula but now have it figured out thanks to your help.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,056
Messages
6,122,907
Members
449,096
Latest member
dbomb1414

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