Here are two possible solutions, both including the following:
1. Make a second range T5:V8 that defines the quarters
2. Populate the quarter being used to filter in T9:V9 using: =P5; =VLOOKUP(P5,T5:U8,2) and =VLOOKUP(P5,T5:V8,3) respectively
3. Convert the range A5:C15 into an Excel table
The first proposed solution shown in P6:R15 displays the filtered dates using:
Note that StartQtr is cell U9 and EndQtr is cell V9
The second proposed solution adds a Filter column (D5:D15) to the original table. The Filter column is populated using: =AND([@[Start Date]]<=EndQtr,[@[End Date]]>=StartQtr)
When TRUE is selected using the sort/filter down arrow in cell D5 the table is filtered.
Let us know if you have any questions.
Bookmarks