Roll any date to the start or end of its calendar quarter — for quarterly reports, accruals, and period boundaries. A little month math with EOMONTH snaps to the quarter edges.
EOMONTH(DATE(YEAR(A2), ROUNDUP(MONTH(A2)/3,0)*3, 1), 0).
The example
A May date maps to the Q2 boundaries.
| A | B | |
|---|---|---|
| 1 | Date | Quarter end |
| 2 | 5/14/2026 | 6/30/2026 |
The formula
Snap to the quarter end:
How it works
Find the quarter’s last month, then its month-end:
ROUNDUP(MONTH(A2)/3, 0)gives the quarter number (1–4); times 3 is the quarter’s last month.DATE(year, lastMonth, 1)builds a date in that month;EOMONTH(…, 0)returns its last day.- For the quarter start, use the first month:
DATE(YEAR(A2), (quarter-1)*3+1, 1). - For a fiscal quarter (non-January start), offset the month first — see the fiscal-year-quarter recipe.
Next quarter end? Add 3 months before taking the month-end: =EOMONTH(thisQuarterEnd, 3). Great for “due at end of next quarter” dates.
Try it: interactive demo
Pick a date; see its quarter boundaries.
Variations
Quarter start
First day:
Next quarter end
Add 3 months:
Quarter number
1-4:
Pitfalls & errors
Calendar vs fiscal. This assumes Jan–Mar = Q1. For an April or July fiscal start, shift the month first.
Format as a date. EOMONTH returns a serial number.
Real dates only. Convert text dates with DATEVALUE.
Practice workbook
Frequently asked questions
How do I find the end of the quarter in Excel?
How do I get the quarter start date?
How do I handle a fiscal (non-January) quarter?
Stop fighting formulas. Learn them in a day.
This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.
See the Formulas & Functions Class