To total amounts for a fiscal or calendar quarter, fence the dates between the quarter’s first and last day with SUMIFS — the same date-boundary trick as summing by month, just a three-month window.
EOMONTH(E2, 2) is the end of the month two months after the quarter start — i.e. the last day of the quarter.
The example
Dated sales; total Q1 (Jan–Mar).
| A | B | D | E | ||
|---|---|---|---|---|---|
| 1 | Date | Amount | Qtr start | Total | |
| 2 | 1/15 | $100 | Jan 1 | $360 | |
| 3 | 2/20 | $140 | |||
| 4 | 3/05 | $120 | |||
| 5 | 4/10 | $200 |
The formula
Q1 total — April’s $200 is excluded:
How it works
Two date conditions span the three months of the quarter:
A2:A5, ">="&E2keeps rows on or after the quarter’s first day (Jan 1).EOMONTH(E2, 2)jumps two months forward and lands on that month’s end — Mar 31 — so the second condition keeps rows on or before the quarter end.- Only Jan–Mar rows pass both, so SUMIFS returns
360. - For Q2 set E2 to Apr 1; the same formula then spans Apr–Jun.
Build the quarter starts automatically. If E2 is Jan 1, the next quarter start is =EDATE(E2, 3) — fill that down for Q1–Q4 labels.
Try it: interactive demo
Pick a quarter; see its total.
Variations
Quarter number from a date
Label each row with its quarter:
Sum by quarter with SUMPRODUCT
No helper column, matches quarter and year:
Fiscal quarters (starting in another month)
Shift the start date: a fiscal year beginning in July uses Jul 1 as Q1.
Pitfalls & errors
Spanning years. Matching the quarter number alone sums that quarter across all years. The date-boundary SUMIFS is year-safe.
EOMONTH offset is 2, not 3. From the quarter’s first month, two months forward is the third month; its end is the quarter end.
Text dates won’t total. Convert text dates to real dates first or the comparisons fail.
Practice workbook
Frequently asked questions
How do I sum by quarter in Excel?
How do I get the quarter number from a date?
How do I handle fiscal quarters that don't start in January?
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