FormulaCraft

How to sum values by month in Excel and Google Sheets

Topic:SUM & aggregation
Excel & Google Sheets
=SUMIFS(B:B, A:A, ">="&DATE(2026,1,1), A:A, "<"&DATE(2026,2,1))

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1B:B is the column to total; A:A holds the dates.
  2. 2The first condition keeps rows on or after the 1st of the month.
  3. 3The second keeps rows before the 1st of the next month — together that is exactly one month.

Tips

Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.

Frequently asked

Why not use MONTH() inside SUMIFS?

SUMIFS criteria can’t call MONTH() on the range. Use date bounds (>= start, < next month), or add a helper column with the month and SUMIF on that.

More on SUM & aggregation

See all →

Formulas used

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: