Quarter and Month Formulas

Forrest87

New Member
Joined
Oct 6, 2016
Messages
12
Hi All,

Please can someone help me on the below.

Can a formula be used to pick up the different months in a quarter?

Say I have Q1 in cell A1 and I want cell A2 to pick up the first month of the quarter, A3, the second month of the quarter and cell A4 to pick up the third month of the quarter. If I was to change cell A1 to Q2, or Q3 or Q4 could a formula pick up the the correct months?

I am trying to create a template so this would stop me from having to create separate ones for each quarter.
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Here's one way:
1st month[TABLE="width: 315"]
<tbody>[TR]
[TD]=TEXT(DATE(2000,RIGHT(A1)*3-2,1),"MMM")

2nd month[TABLE="width: 315"]
<tbody>[TR]
[TD]=TEXT(DATE(2000,RIGHT(A1)*3-1,1),"MMM")

3rd month[TABLE="width: 315"]
<tbody>[TR]
[TD]=TEXT(DATE(2000,RIGHT(A1)*3,1),"MMM")[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
 
Last edited:
Upvote 0
Create a table in C1:D12
Enter formula in A2 and copy down to cell A4

=INDEX(D$1:D$12,MATCH(A$1,C$1:C$12,0)+ROWS(A$2:A2)-1)
Change cell A1 to Q1, Q2 Q3 or Q4


Book1
ABCD
1Q2Q1Jan
2AprFeb
3MayMar
4JunQ2Apr
5May
6Jun
7Q3Jul
8Aug
9Sep
10Q4Oct
11Nov
12Dec
Sheet5
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,912
Members
452,366
Latest member
TePunaBloke

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