Sum Values for a Single Month
Your sheet logs transactions with a date and an amount, and you need the total for one specific month — July's revenue, June's expenses — without manually filtering.
Excel & Google Sheets
This formula works in both Excel and Google Sheets.
How it works
SUMIFS adds up column C only for rows whose date in column B passes both conditions: on or after July 1, and strictly before August 1. Those two bounds bracket the month exactly — every date in July qualifies, nothing outside it does. Using "<" the first of the next month is the reliable upper bound: it catches July 31 no matter what, and even handles dates that carry hidden times like July 31 2:00 PM, which "<=" July 31 would miss. Building the bounds with DATE(2026,7,1) instead of typing "7/1/2026" keeps the formula immune to regional date-format differences.
When to use it
Use this for monthly revenue and expense totals, board-report summaries, and budget-vs-actual sheets. Point the DATE arguments at cells to make the month switchable from a dropdown.
Common mistakes
Did this formula help?
Engine-verified against the sample data aboveLast reviewed 2026-07-08