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

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Perhaps in C2 =B2+3+7*(c1=9) and drag right
 
Upvote 0

Forum statistics

Threads
1,214,830
Messages
6,121,835
Members
449,051
Latest member
excelquestion515

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