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

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.

AlphaFrog

MrExcel MVP
Joined
Sep 2, 2009
Messages
16,463
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

Snakehips

Well-known Member
Joined
May 17, 2009
Messages
5,700
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
cazio,

Welcome to MrExcel.

Try something like....

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

Hope that helps.
 
Upvote 0

Scott Huish

MrExcel MVP
Joined
Mar 17, 2004
Messages
19,961
Office Version
  1. 365
Platform
  1. Windows
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

cazlo

New Member
Joined
Sep 11, 2014
Messages
4
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

Scott Huish

MrExcel MVP
Joined
Mar 17, 2004
Messages
19,961
Office Version
  1. 365
Platform
  1. Windows
=sumproduct(--(mod(row($j$30:$j$18502)-row(j30),37)=0),j30:j18502)
 
Upvote 0

Forum statistics

Threads
1,191,587
Messages
5,987,508
Members
440,098
Latest member
MickyMouse123

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
Top