Sum or subtotal every 10th cell

bgonen

Active Member
Joined
Oct 24, 2009
Messages
264
I'm trying to create a formula for subtotal for a range A:CC adding A1 first then A11 then A21 etc,,,

Thanks
bg
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
This will work in range A and sum every 10th cell.

{=SUM(IF(MOD(ROW(A1:A21)-1,10)=0,A1:A21))}

Confirm with control+shift+enter to get the {} as this is an array formula
 
Upvote 0
Thank you all
I tried the formulas (but horizontally) and I got inaccurate sum numbers (probably I'm doing something wrong)


=SUMPRODUCT(P58:CCC58,--(MOD(COLUMN(P58:CCC58), 15) = 1))

I decided to use the Sum If formula instead and I got the correct sum amount.

Thanks again
bg
 
Upvote 0

Forum statistics

Threads
1,224,587
Messages
6,179,733
Members
452,939
Latest member
WCrawford

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