cazlo

New Member
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.

Brian from Maui

MrExcel MVP
Try

=SUMPRODUCT(--(MOD(ROW(A\$1:A\$18456)-CELL("Row",A\$1)+0,37)=0),A\$1:A\$18456)

AlphaFrog

MrExcel MVP
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)

Snakehips

Well-known Member
cazio,

Welcome to MrExcel.

Try something like....

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

Hope that helps.

Scott Huish

MrExcel MVP
You shouldn't need CELL, ROW should work just fine:

=SUMPRODUCT(--(MOD(ROW(\$A\$1:\$A\$18456)-ROW(A1),37)=0),A1:A18456)

cazlo

New Member
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

Scott Huish

MrExcel MVP
=sumproduct(--(mod(row(\$j\$30:\$j\$18502)-row(j30),37)=0),j30:j18502)

cazlo

New Member
thank youuuuuuu man, you are awesome

Replies
10
Views
544
Replies
7
Views
428
Replies
2
Views
182
Replies
2
Views
537
Replies
5
Views
163

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.

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

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