Note: The other languages of the website are Google-translated. Back to English

## How to count / calculate quarters between two dates in Excel?

In a worksheet, normally, you often need to calculate years, months, or days between two given dates, but, have you ever tried to calculate quarters between two dates in Excel?

Count / Calculate quarters between two dates with formulas

#### Count / Calculate quarters between two dates with formulas

To get the number of quarters between two given dates, the following formulas may help you, please do as this:

Calculate the number of quarters between two given dates:

Please enter this formula: =FLOOR(((YEAR(B2)*12+MONTH(B2))-(YEAR(A2)*12+MONTH(A2)))/3,1) into a blank cell where you want to put the calculate result, and then press Enter key, see screenshot:

Note: In the above formula, A2 is the start date, and B2 is the end date cell, you can change them to your need.

Calculate the number of quarters from a given date to today:

Here is also a formula which can help you to calculate the number of quarters from a given date to current day, please enter: =FLOOR(((YEAR(NOW())-YEAR(A2))*12+MONTH(NOW())-MONTH(A2))/3,1) into a blank cell where you want to return the result, and then press Enter key, and the number of quarters between the given date and today has calculated at once, see screenshot:

Note: In above formula, A2 is the given date that you want to use, you can change it as you need.

Related articles:

How to calculate the length of service from hire date in Excel?

How to calculate retirement date from date of birth in Excel?

How to calculate days hours and minutes between two dates in Excel?

### The Best Office Productivity Tools

#### Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

• Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
• Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
• Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
• Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
• Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
• Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
• Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
• Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
• More than 300 powerful features. Supports Office / Excel 2007-2021 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial. 60-day money back guarantee.

#### Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

• Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
• Open and create multiple documents in new tabs of the same window, rather than in new windows.
• Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Thank You!!
This comment was minimized by the moderator on the site
how to display a quarter against a date....eg i get a date from banks, and from that date i build a formula to check which quarter it falls in...what would be the formula
This comment was minimized by the moderator on the site
Ik wil een automatische berekening van de geldigheid van overuren.
Concreet betekent dit dat ik in excel de datum van de overuren moet omzetten in het kwartaal waarin ze vallen, en vandaaruit drie kwartalen verder reken tot de uiterste datum wanneer de overuren geldig zijn.
Kan iemand me hiermee helpen?
This comment was minimized by the moderator on the site
Calculate the number of quarters between two given dates:
Your example is almost 12 weeks wrong!

Feb 1, 2015 - Jan 30, 2016 is 1 day shy of 4Qs.