4.5 C
London
Thursday, December 19, 2024
HomeSoftware TutorialsGoogle SheetsGoogle Sheets: Convert Date to Quarter and Year

Google Sheets: Convert Date to Quarter and Year

Related stories

Learn About Opening an Automobile Repair Shop in India

Starting a car repair shop is quite a good...

Unlocking the Power: Embracing the Benefits of Tax-Free Investing

  Unlocking the Power: Embracing the Benefits of Tax-Free Investing For...

Income Splitting in Canada for 2023

  Income Splitting in Canada for 2023 The federal government’s expanded...

Can I Deduct Home Office Expenses on my Tax Return 2023?

Can I Deduct Home Office Expenses on my Tax...

Canadian Tax – Personal Tax Deadline 2022

  Canadian Tax – Personal Tax Deadline 2022 Resources and Tools...

You can use one of the following formulas to convert a date to a quarter and year in Google Sheets:

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:

Google Sheets convert date to quarter and year

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 Google Sheets:

Google Sheets: How to Use VLOOKUP by Date
Google Sheets: Calculate Days Between Date and Today
Google Sheets: How to Add & Subtract Years to Date

Subscribe

- Never miss a story with notifications

- Gain full access to our premium content

- Browse free from up to 5 devices at once

Latest stories