Sum values for a given month
Total everything dated in the same month as a date you choose.
The formula
Excel and Google Sheets
=SUMIFS(C2:C100, A2:A100, ">="&F1, A2:A100, "<="&EOMONTH(F1, 0))How it works
">="&F1Dates on or after the first day of the month in F1 (for example 1 March 2026).
"<="&EOMONTH(F1, 0)Dates on or before the last day of that month.
C2:C100The amounts to add up.
Example
| A: Date | C: Amount |
|---|---|
| 2026-03-02 | 100 |
| 2026-03-28 | 40 |
| 2026-04-01 | 75 |
Tips
- With F1 = 2026-03-01, the result is 140.
- If your dates include times, use "<"&EOMONTH(F1, 0)+1 for the end condition.