# Quarter and Month Formulas

#### Forrest87

##### New Member
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.

#### footoo

##### Well-known Member
Here's one way:
1st month
=TEXT(DATE(2000,RIGHT(A1)*3-2,1),"MMM")

2nd month
=TEXT(DATE(2000,RIGHT(A1)*3-1,1),"MMM")

3rd month
 =TEXT(DATE(2000,RIGHT(A1)*3,1),"MMM")

<tbody>
</tbody>

<tbody>
</tbody>

<tbody>
</tbody>

Last edited:

#### AliGW

##### .
Maybe something like this?

=LOOKUP(RIGHT(A1,1),{"1";"2";"3";"4"},{"January";"April";"July";"October"})

#### AlKey

##### Active Member
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

<b></b><table cellpadding="2.5px" rules="all" style=";background-color: #FFFFFF;border: 1px solid;border-collapse: collapse; border-color: #BBB"><colgroup><col width="25px" style="background-color: #DAE7F5" /><col /><col /><col /><col /></colgroup><thead><tr style=" background-color: #DAE7F5;text-align: center;color: #161120"><th></th><th>A</th><th>B</th><th>C</th><th>D</th></tr></thead><tbody><tr ><td style="color: #161120;text-align: center;">1</td><td style="font-weight: bold;background-color: #D9D9D9;;">Q2</td><td style="text-align: right;;"></td><td style="color: #002060;background-color: #F2F2F2;;">Q1</td><td style="color: #002060;background-color: #FFFF00;;">Jan</td></tr><tr ><td style="color: #161120;text-align: center;">2</td><td style="font-weight: bold;color: #FF0000;;">Apr</td><td style="text-align: right;;"></td><td style="text-align: right;color: #002060;background-color: #F2F2F2;;"></td><td style="color: #002060;background-color: #FFFF00;;">Feb</td></tr><tr ><td style="color: #161120;text-align: center;">3</td><td style="font-weight: bold;color: #FF0000;;">May</td><td style="text-align: right;;"></td><td style="text-align: right;color: #002060;background-color: #F2F2F2;;"></td><td style="color: #002060;background-color: #FFFF00;;">Mar</td></tr><tr ><td style="color: #161120;text-align: center;">4</td><td style="font-weight: bold;color: #FF0000;;">Jun</td><td style="text-align: right;;"></td><td style="color: #002060;background-color: #F2F2F2;;">Q2</td><td style="color: #002060;background-color: #FFFF00;;">Apr</td></tr><tr ><td style="color: #161120;text-align: center;">5</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;color: #002060;background-color: #F2F2F2;;"></td><td style="color: #002060;background-color: #FFFF00;;">May</td></tr><tr ><td style="color: #161120;text-align: center;">6</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;color: #002060;background-color: #F2F2F2;;"></td><td style="color: #002060;background-color: #FFFF00;;">Jun</td></tr><tr ><td style="color: #161120;text-align: center;">7</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="color: #002060;background-color: #F2F2F2;;">Q3</td><td style="color: #002060;background-color: #FFFF00;;">Jul</td></tr><tr ><td style="color: #161120;text-align: center;">8</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;color: #002060;background-color: #F2F2F2;;"></td><td style="color: #002060;background-color: #FFFF00;;">Aug</td></tr><tr ><td style="color: #161120;text-align: center;">9</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;color: #002060;background-color: #F2F2F2;;"></td><td style="color: #002060;background-color: #FFFF00;;">Sep</td></tr><tr ><td style="color: #161120;text-align: center;">10</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="color: #002060;background-color: #F2F2F2;;">Q4</td><td style="color: #002060;background-color: #FFFF00;;">Oct</td></tr><tr ><td style="color: #161120;text-align: center;">11</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;color: #002060;background-color: #F2F2F2;;"></td><td style="color: #002060;background-color: #FFFF00;;">Nov</td></tr><tr ><td style="color: #161120;text-align: center;">12</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;color: #002060;background-color: #F2F2F2;;"></td><td style="color: #002060;background-color: #FFFF00;;">Dec</td></tr></tbody></table><p style="width:3.6em;font-weight:bold;margin:0;padding:0.2em 0.6em 0.2em 0.5em;border: 1px solid #BBB;border-top:none;text-align: center;background-color: #DAE7F5;color: #161120">Sheet5</p><br /><br />

Last edited:

#### Forrest87

##### New Member
Thank you all for the replies. I'll give them a go

You're welcome.

1,082,360
Messages
5,364,920
Members
400,815
Latest member
Joaquin Phoenix

### This Week's Hot Topics

• populate from drop list with multiple tables
Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
• Find list of words from sheet2 in sheet1 before a comma and extract text vba
Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
• Dynamic Formula entry - VBA code sought
Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...