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?
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.
Best Office Productivity Tools
Supports Office/Excel 2007-2021 and 365 | Available in 44 Languages | Easy to Uninstall Completely
Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need Is Just A Click Away...
Supercharge Your Excel Skills: Experience Efficiency Like Never Before with Kutools for Excel (Full-Featured 30-Day Free Trial)
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! (Full-Featured 30-Day Free Trial)