Consecutive Months

heiligm

New Member
Joined
May 31, 2012
Messages
4
Hello everyone. I’d like to have a worksheet I’m creating enter two consecutive months (the name of the month like July or December) after I enter a starting month in the first cell. This starter cell is a drop list that pulls from another worksheet with all 12 months listed. So…</SPAN>

I’d like to select a starting month in A1 from the drop list (i.e. – January).</SPAN>
In B1 – I’d like “February” to auto populate and…</SPAN>
In C1 – I’d like “March” to auto populate. </SPAN>

When I change the starting month, I’d like B1 and C1 to update also.</SPAN>

Suggestions? This is probably an easy fix but I’m new to this level of usage in Excel.</SPAN>
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Assuming the date in A2..

Enter this formula in A5
=DATE($A$3, ROWS($2:2), 1)
and drag down

Hope this is what you are looking for..
 
Upvote 0
You could always create a table and use VLOOKUP. Create a table containing the month names in column 1, and the month following in column 2 (as below):

January | February
February |March
March | April
...etc

And then in the cells in question, perform a VLOOKUP on the table as such, A1 being the initial drop down list:

=VLOOKUP(A1,[table name or cell range]<cell name="" table="" or="" of="" range="">,2,false)

Hope this helps!

Hello everyone. I’d like to have a worksheet I’m creating enter two consecutive months (the name of the month like July or December) after I enter a starting month in the first cell. This starter cell is a drop list that pulls from another worksheet with all 12 months listed. So…

I’d like to select a starting month in A1 from the drop list (i.e. – January).
In B1 – I’d like “February” to auto populate and…
In C1 – I’d like “March” to auto populate.

When I change the starting month, I’d like B1 and C1 to update also.

Suggestions? This is probably an easy fix but I’m new to this level of usage in Excel.
</cell>
 
Last edited:
Upvote 0
Thanks for this. I'd rather not drag (I know I can, but I think it's more impressive to just enter a start date and see the other two months fill in automatically) and my exact cell locations are:

Starting month (drop list selection from January - December) - C17.
One month after is in D17
One month after that is in E17.
 
Upvote 0
Try this formula in D17 copied to E17

=IF(C17="","",TEXT((1&C17)+31,"mmmm"))

Hi Barry,

Nice formula, but (i have to say) i dont understand how this works, ie, why, for example, "1January"+2 returns 03/01/2012 (dd/mm/yyyy)?

Particularly, why Excel assumes year = 2012 (current year) instead of 1900?

(probably, you'll say: well..it's how Excel works ;))


Regards,

M.
 
Upvote 0

Forum statistics

Threads
1,213,504
Messages
6,114,020
Members
448,543
Latest member
MartinLarkin

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