Excel Guide · Prompt: “Sum amounts in column C where date in column B is between 2026-01-01 and 2026-03-31”
Excel SUMIFS Between Two Dates (Start & End Date)
Verified by LiveFormulaLab Engineering Team • Updated November 2026
Sum sales or expenses between a start date and end date in Excel with SUMIFS. Includes live editable date grid and SQL/Sheets equivalents.
Verified Excel Syntax
=SUMIFS(C2:C6, B2:B6, ">=2026-01-01", B2:B6, "<=2026-03-31")How This Formula Works (Step-by-Step)
SUMIFS accepts the same date column twice so you can apply both a lower bound (>= start date) and an upper bound (<= end date).
Step 1: Pass the numeric Amount range (C2:C6) as the first argument to sum.
Step 2: Pair the Date column (B2:B6) with ">=2026-01-01" and again with "<=2026-03-31".
Formula Syntax & Arguments Breakdown
Applies lower-bound (">=") and upper-bound ("<=") date criteria to the exact same date column inside SUMIFS so only transactions inside the closed date window are summed.
| Argument / Clause | Requirement | Data Type | Role & Behavior |
|---|---|---|---|
sum_range (C2:C6) | Required | Numeric Range | Column of sales, expenses, or transaction amounts to sum when both date boundaries pass. |
criteria_range1 (B2:B6) | Required | Date Range | Column storing true Excel serial dates or ISO YYYY-MM-DD date values. |
criteria1 (">=2026-01-01") | Required | Date Comparison | Inclusive start-date condition prefixed with ">=". Concatenate with ">="&StartCell for dynamic dashboards. |
criteria_range2 & criteria2 (B2:B6, "<=2026-03-31") | Required | Date Comparison | Inclusive end-date condition evaluated against the same date column to close the reporting interval. |
3 Real-World Use Cases
- Calculating Q1, Q2, or fiscal-year revenue from a raw invoice ledger.
- Tracking monthly ad spend inside a campaign pacing spreadsheet.
- Summing billable consulting hours within a client sprint window.
Cross-Platform Equivalents
- Excel
=SUMIFS(C2:C6, B2:B6, ">=2026-01-01", B2:B6, "<=2026-03-31")- SQL
SELECT SUM(amount) AS q1_total FROM invoices WHERE date BETWEEN '2026-01-01' AND '2026-03-31';- Python Pandas
df[(df['Date'] >= '2026-01-01') & (df['Date'] <= '2026-03-31')]['Amount'].sum()
Common Mistakes & Pro Tips
Pitfalls & How to Fix Them
Mistake: Writing ">=E1" inside quotes treats "E1" as literal text instead of reading the start date inside cell E1.
Fix: Move the cell reference outside the quotation marks using concatenation: ">=" & E1.
Mistake: Text-formatted dates imported from CSV files fail numeric date comparisons silently and sum to 0.
Fix: Verify dates are right-aligned serial numbers or convert text dates using DATEVALUE() or Text to Columns.
Mistake: Timestamps containing hours (e.g., 2026-03-31 14:30) are excluded by "<=2026-03-31" because midnight is 00:00.
Fix: Use "<" & (EndDate + 1) when your date column stores full date-time timestamps.
Engineering Pro Tips
- Use ISO 8601 strings ("YYYY-MM-DD") or DATE(2026,1,1) inside formulas so workbooks never break between US (MM/DD) and UK (DD/MM) locales.
- Combine start/end criteria with additional department or region ranges in the same SUMIFS call for executive P&L rollups.
- For monthly summary tables, point criteria1 at the first of the month (F2) and criteria2 at EOMONTH(F2, 0).
Frequently Asked Questions
- How do I reference dates stored in cells like F1 and G1?
- Use ">=" & F1 and "<=" & G1 instead of hardcoded date strings.
- Why does SUMIFS return 0 even when dates look correct?
- Dates stored as text strings will not match numeric date comparisons. Use DATEVALUE or format the column as Date.
- Can I add a third condition like Region or Status?
- Yes, append another criteria_range and criteria pair at the end of SUMIFS.
Related Formulas & Guides
- Two-Way Matrix Lookup with INDEX and MATCH in Excel — Perform a 2D row and column matrix lookup in Excel using INDEX and two MATCH calls. Interactive spreadsheet sandbox included.
- Return Multiple Columns with One Excel XLOOKUP Formula — Use a single XLOOKUP formula to spill multiple adjacent columns in Excel 365. Test live and compare with SQL and Pandas.
- Remove Everything After a Character in Excel (LEFT + FIND) — Strip suffixes, query parameters, or tags after a hyphen, slash, or @ symbol in Excel using LEFT and FIND. Copy and test the formula live.
- Count Unique Values with Criteria in Excel — Count distinct customers, orders, or IDs that match a condition in Excel without pivot tables. Interactive sandbox included.