Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
=SUMIFS(B2:B5,A2:A5,">="&DATE(2024,1,1),A2:A5,"<="&DATE(2024,6,30))Computed by a real spreadsheet engine on the sample data below.
| Date | Sales |
| 2024-01-15 | 500 |
| 2024-04-20 | 300 |
| 2024-08-10 | 700 |
| 2025-01-05 | 400 |
=SUMIFS(B2:B5,A2:A5,">="&DATE(2024,1,1),A2:A5,"<="&DATE(2024,6,30))→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.
The most common cause is dates stored as text strings rather than real date serial numbers. Try =ISNUMBER(A2) — if FALSE, convert with DATEVALUE().
Yes: =SUMPRODUCT((MONTH(A2:A5)=3)*B2:B5) sums all March values regardless of year.
Multiply ranges together row by row and sum the result — ideal for weighted totals.
How-toSum the 30 calendar days ending on a chosen date with SUMIFS, including timestamps on the final day and excluding future rows.
Error fixSUM returns 0 or the wrong total in Excel and Google Sheets — fix numbers stored as text, filtered ranges, manual calculation mode, and circular references.
ReferenceAggregate a range (sum, average, count…) while ignoring other SUBTOTALs and, optionally, hidden rows. Ideal under filters.
How-toAdd up an entire column with SUM. Total a whole column or a fixed range — identical in Excel and Google Sheets.
How-toBuild a cumulative running total with a SUM and a clever anchored reference that grows as you copy it down. Works in both apps.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: