Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
=SUMIFS(B2:B6,A2:A6,">="&(DATE(2026,9,16)-29),A2:A6,"<"&(DATE(2026,9,16)+1))Computed by a real spreadsheet engine on the sample data below.
| Date serial | Amount |
| 46251 | 999 |
| 46252 | 100 |
| 46266 | 200 |
| 46281.5 | 300 |
| 46282 | 900 |
=SUMIFS(B2:B6,A2:A6,">="&(DATE(2026,9,16)-29),A2:A6,"<"&(DATE(2026,9,16)+1))→600
Both expressions are checked against an independently calculated expected result in HyperFormula. This is a sample execution check, not native Excel or Google Sheets certification.
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 reporting day counts as one of the 30 days. Subtracting 30 and including both endpoints would cover 31 calendar dates.
No. The upper-bound condition excludes timestamps at or after the next day.
Multiply ranges together row by row and sum the result — ideal for weighted totals.
How-toAdd up an entire column with SUM. Total a whole column or a fixed range — identical in Excel and Google Sheets.
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-toBuild a cumulative running total with a SUM and a clever anchored reference that grows as you copy it down. Works in both apps.
How-toTotal amounts that fall in a given month with SUMIFS and two date bounds. Works the same in Excel and Google Sheets.
Reviewed 2026-09-16
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: