sequence with jump in specific month

beng986

Board Regular
Joined
Jan 10, 2012
Messages
88
hi,

In column B1 I have =sequence(1,36,1,1). This gives the months for 3 years.

In B2 i have some date which starts at 10 and increases by 3. =sequence(1,36,10,3). great.

But every year in month 9 i want to add additional 7 and then resume adding 3. So the first graph shows what I have (adding 3 to every month). The second shows what i want (adding 10 in month 9 then resuming to add 3).

Is there a way of doing this in an array type formula rather than manually dragging an if statement.

Month
1​
2​
3​
4​
5​
6​
7​
8​
9​
10​
11​
12​
Schools
10​
13​
16​
19​
22​
25​
28​
31​
34​
37​
40​
43​

to

Month
1​
2​
3​
4​
5​
6​
7​
8​
9​
10​
11​
12​
Schools
10​
13​
16​
19​
22​
25​
28​
31​
41​
44​
47​
50​
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.

Forum statistics

Threads
1,223,886
Messages
6,175,198
Members
452,616
Latest member
intern444

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