Ghost Sheet

SUMIFS between two dates: sales for one month

How do I total sales between two dates?

This is the task for this topic. It is part of the plan; the level check before it is free.
F2Type a formula for F2, starting with =

Click the sheet or the button: the task opens in your workspace, ready to type

ABCDEF
1DateRegionAmountMeasureValue
211/15/2026East1,250Sales in November 2026
311/19/2026North680
411/21/2026South3,070
511/03/2026East360
611/13/2026North540
711/11/2026West1,620
811/18/2026North120
911/10/2026West2,990
1011/29/2026South2,940
1111/09/2026South1,640
1211/21/2026South3,220
dashed: the answer to reachblack: matchesblue: right after new datared: wrong

Why it works

What it does
SUMIFS can test the same date column twice: once for “on or after the first day” and once for “before the first day of the next month”. Join the sign to a DATE with &. Both edges matter: lists soon hold the months on either side.
The shape of the formula
=SUMIFS(amounts, dates, ">="&DATE(start), dates, "<"&DATE(day after the end))
How to remember it
A date window has two edges: >= the start and < the next start.
The usual mistake
Summing the whole column because only one month is there today. The first orders of the next month land in this month’s total.

Keep practicing

Updated