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

Need it for your exact data?

Describe your columns in plain English and get the precise formula for your sheet, with the right Excel or Sheets syntax.

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: