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

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
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,222,753
Messages
6,168,011
Members
452,160
Latest member
Bekerinik

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