Rolling Month w/ a Twist

jdotwu

New Member
Joined
Feb 7, 2014
Messages
16
So I've tutorials online on how to do a rolling month, but I have a unique circumstance in that I need a month to duplicate. For instance

Cell B1 = JANUARY

I need the output to be

JANUARY JANUARY FEBRUARY MARCH APRIL MAY JUNE.....

If I change Cell B1 to April, my output needs to be

JANUARY FEBRUARY MARCH APRIL APRIL MAY JUNE....

I have my January through December in a list already. Any guidance on how I could accomplish this via a formula would be greatly appreciated!
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
It sounds like you have a list of text values "January" ... to "December".

But you'd be better off using dates, i.e. numeric values, as it gives you more flexibility in working with your data.

All values below are dates formatted as "MMMM"

B1: Any date in April
B3: Any date in January (year of your choice)
C3: =EDATE($B3,COLUMNS($B3:B3)-(COLUMNS($B3:B3)=MONTH($B1))) Copy right


Book1
BCDEFGHI
1April
2
3JanuaryFebruaryMarchAprilAprilMayJuneJuly
Sheet1


This assumes you only need one year's worth of column headers?
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,177
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