Need Excel Formula to Sum

aqeelnokia99

Board Regular
Joined
Dec 23, 2018
Messages
145
Office Version
  1. 2013
Platform
  1. Windows
we want to limit the number of cycles when doing that sum, if we say we just want to add up 3 cycles, then the formula should sum columns, W,T,Q
MarAprMayJunJulAugSepOctNovDecJanFebMarAprMayJunJulAugSepOctNovDecIntervalTotal
50​
53​
50​
53​
50​
53​
50​
53​
53​
53​
50​
53​
50​
53​
50​
53​
50​
53​
50​
53​
53​
53​
1​
1242​
50​
53​
50​
53​
50​
53​
50​
53​
100​
53​
50​
53​
50​
53​
50​
53​
50​
53​
50​
53​
100​
53​
2​
700​
32​
50​
234​
23​
50​
23​
21​
50​
50​
50​
50​
53​
32​
50​
234​
23​
50​
23​
21​
50​
50​
50​
3​
400​
24​
10​
12​
1​
50​
5​
10​
12​
10​
12​
50​
11​
24​
10​
12​
1​
50​
5​
10​
12​
10​
12​
6​
200​
5​
0​
100​
5​
0​
100​
5​
23​
100​
5​
24​
100​
5​
15​
100​
5​
10​
100​
10​
5​
100​
Period
3​
5​
0​
200​
10​
0​
300​
15​
23​
400​
20​
47​
500​
25​
62​
600​
30​
72​
700​
40​
77​
800​
Cycles
3​
30​
300​
1649470464461.png
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Try this:

Dante Amor
ABCDEFGHIJKLMNOPQRSTUVWXYZAAAB
1
2MarAprMayJunJulAugSepOctNovDecJanFebMarAprMayJunJulAugSepOctNovDecIntervalTotal
35053505350535053535350535053505350535053535311242
450535053505350531005350535053505350535053100532700
532502342350232150505050533250234235023215050503400
624101215051012101250112410121505101210126200
7
8
9
10
11
125010050100523100524100515100510100105100Period3
135020010030015234002047500256260030727004077800Cycles3
1430300
Hoja1
Cell Formulas
RangeFormula
V14V14=SUM(IF(MOD(COLUMN($C$12:$W$12),3)=1,IF(COLUMN($C$12:$W$12)>COLUMN($W$12)-($AB$13*3),$C$12:$W$12)))
W14W14=SUM(IF(MOD(COLUMN($C$12:$W$12),3)=2,IF(COLUMN($C$12:$W$12)>COLUMN($W$12)-($AB$12*3),$C$12:$W$12)))
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
Try this:

Dante Amor
ABCDEFGHIJKLMNOPQRSTUVWXYZAAAB
1
2MarAprMayJunJulAugSepOctNovDecJanFebMarAprMayJunJulAugSepOctNovDecIntervalTotal
35053505350535053535350535053505350535053535311242
450535053505350531005350535053505350535053100532700
532502342350232150505050533250234235023215050503400
624101215051012101250112410121505101210126200
7
8
9
10
11
125010050100523100524100515100510100105100Period3
135020010030015234002047500256260030727004077800Cycles3
1430300
Hoja1
Cell Formulas
RangeFormula
V14V14=SUM(IF(MOD(COLUMN($C$12:$W$12),3)=1,IF(COLUMN($C$12:$W$12)>COLUMN($W$12)-($AB$13*3),$C$12:$W$12)))
W14W14=SUM(IF(MOD(COLUMN($C$12:$W$12),3)=2,IF(COLUMN($C$12:$W$12)>COLUMN($W$12)-($AB$12*3),$C$12:$W$12)))
Press CTRL+SHIFT+ENTER to enter array formulas.
Thanks you very very much
 
Upvote 0
Im glad to help you, thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,691
Members
448,978
Latest member
rrauni

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