Region revenue inside a date window (three criteria)
The problem
Problem statement
The quarter pack needs revenue for one region inside one date window. Orders are in A2:C9, the region is in F1, and the window limits are F2 and F3. Put the total in the Total cell F4.
All three criteria must come from cells — including both date limits — so the same formula answers any region and any window.
Problem data
Show the sheet as a table (selectable, copyable)
| A | B | C | E | F | |
|---|---|---|---|---|---|
| 1 | Region | Date | Amount | Region | East |
| 2 | East | 2026-01-15 | 1200 | From | 2026-01-01 |
| 3 | West | 2026-02-03 | 800 | To | 2026-03-31 |
| 4 | East | 2026-02-20 | 950 | Total | |
| 5 | East | 2026-04-02 | 600 | ||
| 6 | West | 2026-03-11 | 700 | ||
| 7 | East | 2026-03-28 | 450 | ||
| 8 | North | 2026-02-14 | 300 | ||
| 9 | East | 2025-12-20 | 500 |
Notes
Three criteria pairs go into one SUMIFS, and two of them point at the same date column: ">="&F2 and "<="&F3. That is allowed, and it is the only way to express a range inside SUMIFS — there is no BETWEEN operator. Both operators live inside the quotes, the cell outside, joined by &.
How to approach
Your answer goes in F4. On submit we re-run your formula against 3 different sets of input, so a hardcoded number will fail — the formula has to follow the cells.
- Target cell is F4
SUMIFStakes the sum range first, then range/criteria pairs- Two pairs target B2:B9, with ">="&F2 and "<="&F3
- Shape:
=SUMIFS(?, ?, ?, ?, ?, ?)
Official solutions
Show 2 solutions — try it yourself first
Approach 1: SUMIFS with two date criteria
=SUMIFS($C$2:$C$9, $A$2:$A$9, F1, $B$2:$B$9, ">="&F2, $B$2:$B$9, "<="&F3)
East rows inside 2026-01-01 to 2026-03-31 are 1200, 950 and 450 = 2600. The April order and the December order are the two rows a single date criterion would wrongly keep or drop.
Approach 2: SUMPRODUCT with multiplied conditions
=SUMPRODUCT(($A$2:$A$9=F1)*($B$2:$B$9>=F2)*($B$2:$B$9<=F3)*$C$2:$C$9)
Each condition becomes a TRUE/FALSE array, multiplication is AND, and the amount column supplies the values. Same total, and the same pattern scales to conditions SUMIFS cannot express.
Function guide
FAQ
How do I sum between two dates in SUMIFS?
Add the same range twice: =SUMIFS(sum, dates, ">="&start, dates, "<="&end). There is no BETWEEN.
Why is my date criterion ignored?
Check the quotes: ">="&F2 joins an operator string with a cell. ">=F2" compares against the literal text.