Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
=SUMIFS($B$2:$B$5,$A$2:$A$5,">="&DATE(2024,1,1),$A$2:$A$5,"<="&DATE(2024,2,28))Computed by a real spreadsheet engine on the sample data below.
| Date | Revenue |
| 2024-01-10 | 1200 |
| 2024-01-28 | 800 |
| 2024-02-15 | 950 |
| 2024-03-05 | 1100 |
=SUMIFS($B$2:$B$5,$A$2:$A$5,">="&DATE(2024,1,1),$A$2:$A$5,"<="&DATE(2024,2,28))→0
Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.
Use EOMONTH to dynamically compute month boundaries: start =DATE(YEAR(E1),MONTH(E1),1) and end =EOMONTH(E1,0) where E1 is any date within the target month.
Add up the cells in a range that meet a single condition.
How-toUnderstand when to use SUMIF (one condition) versus SUMIFS (multiple conditions) for conditional summing in Excel and Google Sheets.
Error fixSUMIF returns 0 instead of the expected total in Excel and Google Sheets — fix number-as-text, criteria mismatch, range size errors, and data-type issues.
ReferenceSum values that meet multiple conditions at once.
How-toUse SUMIF with a date comparison criterion to sum values only for dates on or after (or before) a specific date in your data range.
Error fixSUMIF not working in Excel and Google Sheets — diagnose formula errors, criteria syntax problems, range mismatches, and wildcard issues.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: