Direct Answer: Count Rows Between Start Date and End Date
To count rows where a date in $A$2:$A$100 falls on or after a start date (F2) and on or before an end date (G2), pass the date range twice with ">=" and "<=":
=COUNTIFS($A$2:$A$100, ">=" & F2, $A$2:$A$100, "<=" & G2)
Worked Example: Counting Completed Tasks in November 2026
Suppose Column A contains due/completion dates, Column B contains task status, F2 is 2026-11-01, and G2 is 2026-11-30:
| Col A (Date) | Col B (Status) | In Nov 1–30 & Completed? |
|---|---|---|
| 2026-11-05 | Completed | Yes (Counted #1) |
| 2026-11-18 | In Progress | No (Status is In Progress) |
| 2026-11-26 | Completed | Yes (Counted #2 → Total = 2) |
| 2026-12-02 | Completed | No (Outside end date G2) |
3 Practical Variations People Search For
- Count between two dates PLUS a text condition: Add your extra criteria pair at the end:
=COUNTIFS($A$2:$A$100, ">=" & F2, $A$2:$A$100, "<=" & G2, $B$2:$B$100, "Completed") - Count through the end of a selected month automatically: Pair your start date with EOMONTH so month-end dates adjust automatically.
- Sum amounts instead of counting rows over the same dates: Switch to SUMIFS with the exact same date conditions.
Why COUNTIFS Between Two Dates Returns 0
- Dates stored as plain text: If imported dates are text strings rather than true spreadsheet dates, comparison operators like
">="may not evaluate as expected. - Timestamps attached to date-time cells: A cell holding
2026-11-30 18:30is slightly later than midnight2026-11-30; use"<" & (G2+1)if your dates include times.
Explore Further: Need working days instead of counting rows? See the EOMONTH & NETWORKDAYS Guide or test ranges in the Formula Finder.