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

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

Forum statistics

Threads
1,224,820
Messages
6,181,162
Members
453,021
Latest member
Justyna P

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