advanced sum, need help

cazlo

New Member
Joined
Sep 11, 2014
Messages
4
hi...

I have huge date in a sheet and i want to sum certain cells all multiply by a 37 cells that mean

I need to sum a1 + a38 + a75 + a112 ++++ a18456 what I have to do?
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Try this...
=SUMPRODUCT(--(MOD(ROW($A$1:$A$18456)-1,37)=0),$A$1:$A$18456)


Alternatively; the SUM Function ignores Text and blanks. So if there are no numbers in between, an easy solution would be to just
=SUM(A1:A18456)
 
Upvote 0
cazio,

Welcome to MrExcel.

Try something like....

=SUMPRODUCT(A1:A20000*(MOD(ROW(A1:A20000),37) = 1))

Hope that helps.
 
Upvote 0
You shouldn't need CELL, ROW should work just fine:

=SUMPRODUCT(--(MOD(ROW($A$1:$A$18456)-ROW(A1),37)=0),A1:A18456)
 
Upvote 0
sorry plz I don't understand and it now works :(

this's the cells I want to sum

J30+J67+J104+J141+J178+J215+J252+J289+J326+J363+J400+J437+J474+J511+J548 + .. j18502
 
Upvote 0
=sumproduct(--(mod(row($j$30:$j$18502)-row(j30),37)=0),j30:j18502)
 
Upvote 0

Forum statistics

Threads
1,222,441
Messages
6,166,050
Members
452,010
Latest member
triangle3

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