FormulaCraft

How to count entries by month in Excel and Google Sheets

Excel & Google Sheets
=COUNTIFS(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. 1A:A is the column of dates.
  2. 2Keep rows on or after the 1st of the month and before the 1st of the next.
  3. 3The count is how many entries fall inside that 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

How do I count by month and year together?

The date-bound approach already handles year, because DATE(2026,1,1) is specific to January 2026. Just change the year in the bounds.

Formulas used

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

Last reviewed: