=SUM

gymwrecker

Active Member
Joined
Apr 24, 2002
Messages
347
How could I add cells like in the formula below? It's like adding every other cell...

=sum(C8,C10,C12,C14,C16,C18,C20,C22,C24,C26,C28,C30,C32,C34,C36,C38,C40,C42,C44,C46,C48,C50,C52,C54,C56,C58,C60,C62,C64,C66,C68,C70)
 

Some videos you may like

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,201
=SUMPRODUCT((MOD(ROW(C8:C70)-CELL("Row",C8:C70)+H1,H2)=0)*(C8:C70))

By your specs:

H1 = 0

H2 = 2
This message was edited by Aladin Akyurek on 2002-10-01 14:16
 

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,201
On 2002-10-01 14:24, gymwrecker wrote:
I didn't get the H1 H2 part?

=SUMPRODUCT((MOD(ROW(C8:C70)-CELL("Row",C8:C70)+0,2)=0)*(C8:C70))

Don't throw away +0 even though it appears superfluous.
 

Watch MrExcel Video

Forum statistics

Threads
1,122,862
Messages
5,598,500
Members
414,244
Latest member
hallian

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