Table of Contents
To convert a date to quarter and year in Excel, you can use the built-in function called “QUARTER”. This function takes a date as input and returns the corresponding quarter and year in a specific format. The syntax for this function is “=QUARTER(date)” and it can be used in any cell within the worksheet. The result will be displayed as a number between 1 to 4 for the quarter and a four-digit number for the year. This method is useful for organizing and analyzing data based on quarterly or yearly time periods. It is also a convenient way to present data in reports or charts.
Excel: Convert Date to Quarter and Year
You can use one of the following formulas to convert a date to a quarter and year in Excel:
Formula 1: Convert Date to Quarter Only (e.g. Q1)
="Q" &INT((MONTH(A1)+2)/3)
Formula 2: Convert Date to Quarter and Year (e.g. Q1-2022)
="Q" &INT((MONTH(A1)+2)/3) & "-" & YEAR(A1)
Formula 3: Convert Date to Full Quarter Name and Year (e.g. Quarter 1 2022)
="Quarter " &INT((MONTH(A1)+2)/3) & " " & YEAR(A1)
Note that each formula assumes the date is in cell A1.
The following examples show how to use each formula in practice.
Example 1: Convert Date to Quarter Only
We can use the following formula to convert a date to a quarter only:
="Q" &INT((MONTH(A2)+2)/3)We can type this formula into cell B2 and drag the formula down to every remaining cell in column B:

The quarter for each date in column A is shown in column B.
Example 2: Convert Date to Quarter and Year
We can use the following formula to convert a date to a quarter and year:
="Q" &INT((MONTH(A2)+2)/3) & "-" & YEAR(A2)
We can type this formula into cell B2 and drag the formula down to every remaining cell in column B:

The quarter and year for each date in column A is shown in column B.
Example 3: Convert Date to Full Quarter Name and Year
We can use the following formula to convert a date to a full quarter name and year:
="Quarter " &INT((MONTH(A2)+2)/3) & " " & YEAR(A2)
We can type this formula into cell B2 and drag the formula down to every remaining cell in column B:

The quarter and year for each date in column A is shown in column B.
Additional Resources
The following tutorials explain how to perform other common tasks in Excel:
Cite this article
stats writer (2024). How do you convert a date to quarter and year in Excel?. PSYCHOLOGICAL SCALES. Retrieved from https://scales.arabpsychology.com/stats/how-do-you-convert-a-date-to-quarter-and-year-in-excel/
stats writer. "How do you convert a date to quarter and year in Excel?." PSYCHOLOGICAL SCALES, 28 Jun. 2024, https://scales.arabpsychology.com/stats/how-do-you-convert-a-date-to-quarter-and-year-in-excel/.
stats writer. "How do you convert a date to quarter and year in Excel?." PSYCHOLOGICAL SCALES, 2024. https://scales.arabpsychology.com/stats/how-do-you-convert-a-date-to-quarter-and-year-in-excel/.
stats writer (2024) 'How do you convert a date to quarter and year in Excel?', PSYCHOLOGICAL SCALES. Available at: https://scales.arabpsychology.com/stats/how-do-you-convert-a-date-to-quarter-and-year-in-excel/.
[1] stats writer, "How do you convert a date to quarter and year in Excel?," PSYCHOLOGICAL SCALES, vol. X, no. Y, ص Z-Z, June, 2024.
stats writer. How do you convert a date to quarter and year in Excel?. PSYCHOLOGICAL SCALES. 2024;vol(issue):pages.
