Sum Transactions by Month in Columns
Convert dated transactions into a reusable dimension-by-month reporting grid with one fillable SUMIFS formula, using real month headers, EOMONTH boundaries, and carefully controlled mixed references.
| Monthly SUMIFS Formula Review | |||||||
| Review the month-end boundary and client criterion before combining them in a reporting grid. | |||||||
| Source data, synthetic | Function review, editable selections | ||||||
| Transaction | Client | Date | Amount ($) | Selected client | Alpha | ||
| T-001 | Alpha | Jan 5, 2026 | 1,200 | Selected month | Jan 1, 2026 | ||
| T-002 | Beta | Jan 18, 2026 | 800 | ||||
| T-003 | Alpha | Jan 29, 2026 | 600 | Example | Formula syntax | Result | |
| T-004 | Alpha | Feb 3, 2026 | 900 | Month end | =EOMONTH(G12,0) | Jan 31, 2026 | |
| T-005 | Beta | Feb 14, 2026 | 1,100 | Client subtotal | =SUMIFS($D$12:$D$21,$B$12:$B$21,$G$11) | 4,900 | |
| T-006 | Alpha | Feb 28, 2026 | 500 | Client + month | =SUMIFS($D$12:$D$21,$B$12:$B$21,$G$11,$C$12:$C$21,">="&$G$12,$C$12:$C$21,"<="&EOMONTH($G$12,0)) | 1,800 | |
| T-007 | Alpha | Mar 1, 2026 | 1,300 | ||||
| T-008 | Beta | Mar 15, 2026 | 700 | ||||
| T-009 | Alpha | Mar 31, 2026 | 400 | ||||
| T-010 | Beta | Apr 1, 2026 | 950 | ||||
| Reliability checks | |||||||
| Alpha in January returns the expected $1,800 | OK | ||||||
| Selected month is stored as the first day of the month | OK | ||||||
Overview
Turn a dated transaction list into a client-by-month reporting grid. One SUMIFS formula fills across months and down clients, using the current row label and month header while keeping every source range fixed.
When to use it
Use it for budget-versus-actual schedules, rolling forecasts, management reports, or operating summaries where transactions must be aggregated by one dimension and repeated monthly columns.
When not to use it
Use a PivotTable when interactive grouping and filtering matter more than a fixed formula layout. Use a single date-window SUMIFS when only one period is required. Use a fuller timeline Block when month headers also drive forecast flags or other coordinated schedule logic.
Problem
Separate hardcoded formulas are difficult to maintain across a report. Text month labels cannot be compared reliably with transaction dates, and fully relative references shift the wrong inputs during a two-direction fill. The grid needs intentional date boundaries and mixed references.
Inputs
Input | Location | Requirement |
|---|---|---|
Month headers | | Real first-of-month dates |
Client labels | | Text |
Source data
The synthetic source in B12:D21 contains one client, valid date, and amount per transaction. Relevant rows include:
Client | Date | Amount |
|---|---|---|
Alpha | 05-Jan-2026 | 1,200 |
Beta | 18-Jan-2026 | 800 |
Alpha | 29-Jan-2026 | 600 |
Alpha | 03-Feb-2026 | 900 |
Beta | 14-Feb-2026 | 1,100 |
Alpha | 28-Feb-2026 | 500 |
Alpha | 01-Mar-2026 | 1,300 |
Beta | 15-Mar-2026 | 700 |
Alpha | 31-Mar-2026 | 400 |
Beta | 01-Apr-2026 | 950 |
The April row lies outside the displayed January-to-March window.
Calculations
- Match the transaction client to the current summary row.
- Include dates on or after the first-of-month header.
- Use EOMONTH for the inclusive final day of that month.
- Sum amounts satisfying all three conditions.
- Fill across and down using mixed header references.
Outputs
Alpha returns 1,800, 1,400, and 1,700 for January through March. Beta returns 800, 1,100, and 700. The six cells total $7,500; the $950 April transaction is excluded.
Formula map
=SUMIFS($D$12:$D$21,$B$12:$B$21,$F12,$C$12:$C$21,">="&G$11,$C$12:$C$21,"<="&EOMONTH(G$11,0))
$F12 fixes the client column while allowing the row to change. G$11 fixes the header row while allowing the month column to change. Source ranges remain fully absolute.
Model checks
The workbook verifies that the six-cell grid equals source amounts dated from 1-Jan through 31-Mar and that every displayed month header is stored as the first day of its month. Both checks return OK.
Edge cases
- Transactions on the first and last day are included.
- EOMONTH handles February and leap years automatically.
- The first day of the next month is excluded.
- A valid empty client-month intersection returns zero.
- Date-like text must be converted to Excel dates.
- Duplicate transactions each contribute independently.
Common errors
- Using text headers: date comparisons fail or depend on locale. Store real dates and format them.
- Locking the wrong reference parts: criteria drift during fill. Use
$F12andG$11. - Hardcoding month-end: February and 30-day months break. Use EOMONTH.
Example
Alpha’s January total includes $1,200 on 5-Jan and $600 on 29-Jan, giving $1,800. Its February total is $900 + $500 = $1,400, and March is $1,300 + $400 = $1,700. These values match the displayed row.
Example workbook
Edit the cream month headers in Combined Example!G11:I11, client labels in F12:F13, or source rows in B12:D21. The grid, displayed-window total, and checks update automatically. Formula Review isolates the month boundary and selected subtotal.
Key takeaway
Use real first-of-month headers, EOMONTH for the upper boundary, and mixed references so one SUMIFS formula can populate an entire monthly reporting grid.