Hello, I wanted to create an iterative macro to generate the closing dates of 2 years before a specific date for Example : for the date 2024-06-30
Input :
| QY | Date |
| Q3_2024 | 2024-09-30 |
Output :
| QY | Date |
| Q3_2024 | 2024-09-30 |
| Q3_2024 | 2024-06-30 |
| Q3_2024 | 2024-03-31 |
| Q3_2024 | 2023-12-31 |
| Q3_2024 | 2023-09-30 |
| Q3_2024 | 2023-06-30 |
| Q3_2024 | 2023-03-31 |
| Q3_2024 | 2022-12-31 |
| Q3_2024 | 2022-09-30 |
Solved! Go to Solution.

