Welcome to the forum.
The simplest way is to create a reference table of threshold dates and corresponding quarters, and then use a lookup formula to retrieve the correct quarter for each date.
Copy B7 down as necessary.
| A | B | C | D | E |
---|
| | | | | |
q1 | | | | | |
q2 | | | | | |
q3 | | | | | |
q4 | | | | | |
q1 | | | | | |
q2 | | | | | |
q3 | | | | | |
q4 | | | | | |
q1 | | | | | |
q2 | | | | | |
etcetera | | | | | |
<colgroup><col style="width: 25pxpx"><col><col><col><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]6[/TD]
[TD="bgcolor: #DDEBF7"]example[/TD]
[TD="bgcolor: #DDEBF7"]Q[/TD]
[TD="align: right"][/TD]
[TD="bgcolor: #FCE4D6"]threshold[/TD]
[TD="bgcolor: #FCE4D6"]quarter[/TD]
[TD="align: center"]7[/TD]
[TD="align: right"]2/13/17[/TD]
[TD="bgcolor: #A9D08E"]q1[/TD]
[TD="align: right"][/TD]
[TD="align: right"]1/01/17[/TD]
[TD="align: center"]8[/TD]
[TD="align: right"]4/16/17[/TD]
[TD="bgcolor: #A9D08E"]q2[/TD]
[TD="align: right"][/TD]
[TD="align: right"]3/25/17[/TD]
[TD="align: center"]9[/TD]
[TD="align: right"]8/15/17[/TD]
[TD="bgcolor: #A9D08E"]q3[/TD]
[TD="align: right"][/TD]
[TD="align: right"]6/16/17[/TD]
[TD="align: center"]10[/TD]
[TD="align: right"]9/29/18[/TD]
[TD="bgcolor: #A9D08E"]q3[/TD]
[TD="align: right"][/TD]
[TD="align: right"]9/25/17[/TD]
[TD="align: center"]11[/TD]
[TD="align: right"]9/30/18[/TD]
[TD="bgcolor: #A9D08E"]q4[/TD]
[TD="align: right"][/TD]
[TD="align: right"]1/01/18[/TD]
[TD="align: center"]12[/TD]
[TD="align: right"]1/26/19[/TD]
[TD="bgcolor: #A9D08E"]q1[/TD]
[TD="align: right"][/TD]
[TD="align: right"]3/28/17[/TD]
[TD="align: center"]13[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]6/22/18[/TD]
[TD="align: center"]14[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]9/30/18[/TD]
[TD="align: center"]15[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]12/28/18[/TD]
[TD="align: center"]16[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]3/21/19[/TD]
[TD="align: center"]17[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
</tbody>
Sheet17
[TABLE="width: 85%"]
<tbody>[TR]
[TD]
Worksheet Formulas[TABLE="width: 100%"]
<thead>[TR="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]
[TH="width: 10"]Cell[/TH]
[TH="align: left"]Formula[/TH]
[/TR]
</thead><tbody>[TR]
[TH="width: 10, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]B7[/TH]
[TD="align: left"]=VLOOKUP(
A7,$D$7:$E$16,2,1)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]