Excel Tutorial
Excel tutorials, quizzes & AI guides — all levels
RSS
  • Online Excel Exercises
  • Training
  • Excel Tests
  • Sitemap
  • Premium Quizzes
  • Shop
  • My account

Formula to Calculate Quarter with Excel

Date - Expert
Reading time: 2 minutes
Views: 8,208

How do you calculate the current quarter, the next quarter, or the previous quarter in Excel?

In this article, you’ll learn formulas to determine which quarter a date belongs to. We’ll show you how to use Excel functions like DATE and MOD quickly and easily.

Calculate the date of the current quarter in Excel

  • To determine the first day of the current quarter in Excel, use a custom date formula that combines the MOD and DATE functions 😉
  • Based on today’s date, the Excel formula is:

=DATE(YEAR(TODAY()),MONTH(TODAY())-MOD(MONTH(TODAY())-1,3),1)

The key point of the formula is the calculation of the month. To the current month, you subtract 0, 1, or 2 months according to the result of the MOD function.

First date of the current quarter

Now, if you want to return the quarter based on the value of an Excel cell (for instance, B2), the formula is

First day of the quarter according any date

Calculate the first day of the next quarter

Deducted from the previous formula, the formula to calculate the first day of the next quarter is

=DATE(YEAR(TODAY()),MONTH(TODAY())-MOD(MONTH(TODAY())-1,3)+3,1)

First date of the next quarter

Calculate the first day of the previous quarter

The formula for the first day of the previous quarter is

=DATE(YEAR(TODAY()),MONTH(TODAY())-MOD(MONTH(TODAY())-1,3)-3,1)

First Monday of the current quarter

A more complex formula can be used to return on the first Monday of the current quarter. We will use the formula to return the next Monday.

=DATE(YEAR(TODAY()),MONTH(TODAY())-MOD(MONTH(TODAY())-1,3),1)-WEEKDAY(DATE(YEAR(TODAY()),MONTH(TODAY())-MOD(MONTH(TODAY())-1,3),1)-2)+7

First Monday of the current quarter

Formula to calculate the Quarter Number in Excel

Now, if you want to calculate the quarter number according to a specific date, you must use the ROUNDUP function.

=ROUNDUP(MONTH(A2)/3,0)

Formula to calculate the Quarter Number

Other Articles related to the date

The following articles will give you formulae to calculate specific dates

  • Next Monday
  • Monday in 2 weeks
  • Previous Monday
  • Monday 2 weeks ago
  • First Monday of the month

Frédéric LE GUEN

date formula, dates, Excel, formula

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Most Viewed Posts

  • Displaying Negative Numbers in Parentheses in Excel (310,065)
  • Top 10 Excel Functions You Must Know (232,001)
  • How to make automatic calendar in Excel (212,775)
  • Dash for a zero in Excel automatically (190,812)
  • Converting a Date from YYYYMMDD to DD/MM/YYYY in Excel (171,033)
image excel exercises
Excel Exercises
image excel quizzes
Excel Quizzes

Formula to Calculate Quarter with Excel

Reading time: 2 minutes
Views: 8,208

How do you calculate the current quarter, the next quarter, or the previous quarter in Excel?

In this article, you’ll learn formulas to determine which quarter a date belongs to. We’ll show you how to use Excel functions like DATE and MOD quickly and easily.

Calculate the date of the current quarter in Excel

  • To determine the first day of the current quarter in Excel, use a custom date formula that combines the MOD and DATE functions 😉
  • Based on today’s date, the Excel formula is:

=DATE(YEAR(TODAY()),MONTH(TODAY())-MOD(MONTH(TODAY())-1,3),1)

The key point of the formula is the calculation of the month. To the current month, you subtract 0, 1, or 2 months according to the result of the MOD function.

First date of the current quarter

Now, if you want to return the quarter based on the value of an Excel cell (for instance, B2), the formula is

First day of the quarter according any date

Calculate the first day of the next quarter

Deducted from the previous formula, the formula to calculate the first day of the next quarter is

=DATE(YEAR(TODAY()),MONTH(TODAY())-MOD(MONTH(TODAY())-1,3)+3,1)

First date of the next quarter

Calculate the first day of the previous quarter

The formula for the first day of the previous quarter is

=DATE(YEAR(TODAY()),MONTH(TODAY())-MOD(MONTH(TODAY())-1,3)-3,1)

First Monday of the current quarter

A more complex formula can be used to return on the first Monday of the current quarter. We will use the formula to return the next Monday.

=DATE(YEAR(TODAY()),MONTH(TODAY())-MOD(MONTH(TODAY())-1,3),1)-WEEKDAY(DATE(YEAR(TODAY()),MONTH(TODAY())-MOD(MONTH(TODAY())-1,3),1)-2)+7

First Monday of the current quarter

Formula to calculate the Quarter Number in Excel

Now, if you want to calculate the quarter number according to a specific date, you must use the ROUNDUP function.

=ROUNDUP(MONTH(A2)/3,0)

Formula to calculate the Quarter Number

Other Articles related to the date

The following articles will give you formulae to calculate specific dates

  • Next Monday
  • Monday in 2 weeks
  • Previous Monday
  • Monday 2 weeks ago
  • First Monday of the month
Tags: date formuladatesExcelformula

Frédéric LE GUEN

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Contact us
About me 
Privacy Policy

© 2022 – 2026 – excel-tutorial.com. All Rights Reserved.
Excel Tutorial is managed by majordome du net

Contact us
About me 
Privacy Policy

© 2022 – 2026 – excel-tutorial.com. All Rights Reserved.
Excel Tutorial is managed by majordome du net