I have a large dataset in Excel, and this dataset contains date information in the format “11/04/2023 00:00:00”. I want to filter the data in this dataset by years and quarters of years. For example, I want to filter data for 2023 and 2024 and quarters of years such as 2023Q3, 2023Q4, 2024Q1, 2024Q2, 2024Q3, 2024Q4.
In fact, first of all, I need to find out how many different years and how many different year quarters there are in the dataset I have.