SUMIFS Greater Than Date in Google Sheets: How-To
In this article
To sum values where a date is greater than a cutoff, use SUMIFS with a comparison string built from the ">" operator and a date: =SUMIFS(B:B, A:A, ">"&DATE(2024,1,1)). Column B holds the numbers you want to add, column A holds the dates, and the criterion sums everything dated after January 1, 2024. The quotes wrap only the operator; the date is joined with an ampersand so Sheets treats it as a real date value rather than text. That single pattern handles almost every "greater than date" case, and the variations below cover ranges, dynamic cutoffs and the errors that trip people up.
What You'll Need
- A Google Sheet with at least one column of dates and one column of numbers to sum.
- Dates stored as real dates (right-aligned by default), not typed as plain text.
- Access to the sheet in a browser or the Google Sheets mobile app. The formula works identically in both, though the mobile formula bar is harder to edit long criteria in.
Step-by-Step
- Confirm your dates are real dates. Click a date cell and look at the formula bar. A genuine date shows something like
1/15/2024or a serial number, and the cell is right-aligned. If it is left-aligned and shows exactly what you typed with no formatting, it is text and SUMIFS will ignore it. Fix it with Format > Number > Date, or re-enter the value. - Identify your ranges. Decide which column holds the dates (the criteria range) and which holds the values to add (the sum range). Both ranges must be the same size. Using whole columns like
A:AandB:Bis fine for most sheets; use fixed ranges likeA2:A1000if the sheet is large and slow. - Write the basic formula. In an empty cell type
=SUMIFS(B:B, A:A, ">"&DATE(2024,1,1)). Press Enter. This adds every value in column B whose matching date in column A is after January 1, 2024. - Point the cutoff at a cell instead of hardcoding it. Put your cutoff date in, say, D1, then use
=SUMIFS(B:B, A:A, ">"&D1). Change D1 and the total updates. This is the version to use for anything you will reuse. - Add a second condition if needed. SUMIFS accepts pairs of range and criterion. To sum only rows after the cutoff that also match a category in column C:
=SUMIFS(B:B, A:A, ">"&D1, C:C, "Widgets"). Keep adding range/criterion pairs for more filters. - Set an upper bound with a second date criterion. For a date window, add a "less than" pair on the same date column:
=SUMIFS(B:B, A:A, ">"&D1, A:A, "<="&D2). This sums dates after D1 and on or before D2. Using the same column twice is allowed. - Make the cutoff relative. For "after today" use
">"&TODAY(). For "after the start of this month" use">"&DATE(YEAR(TODAY()),MONTH(TODAY()),1). These recalculate whenever the sheet recalculates. - Format the result. If the total looks like a date or a strange number, select the cell and apply Format > Number > Number or Currency. SUMIFS sometimes inherits date formatting from the criteria column.
- Copy it down or across carefully. If you fill the formula into other rows, lock the ranges with dollar signs (
$A:$A,$B:$B) and lock the cutoff cell ($D$1) so the references do not drift.
Common Mistakes
- Putting the date inside the quotes.
">1/1/2024"is read as text and returns 0 or a wrong total. Always close the quote after the operator and join the date with&. - Reversing the argument order. In SUMIFS the sum range comes first, then the criteria range, then the criterion. This is the opposite of SUMIF, which is a frequent source of confusion.
- Mismatched range sizes.
SUMIFS(B2:B100, A2:A50, ...)throws a range-size error. Both must span the same rows. - Text dates. Dates imported from CSV files or pasted from other apps often arrive as text. They look right but compare as strings, so the formula silently returns 0.
- Using >= when you mean >.
>excludes the cutoff date itself;>=includes it. Decide which you need, especially at month boundaries. - Forgetting that dates carry times. A timestamp of 1/15/2024 09:00 is greater than 1/15/2024, so a
>test on the date alone will include it. Use>=with the next day, or strip the time with INT() in a helper column, if that matters.
Tips
- Build the criterion as a string with concatenation, never as a single typed literal.
">"&DATE(2024,1,1)is unambiguous across locales;">1/1/2024"is not. - Use named ranges (Data > Named ranges) for the date and value columns so formulas read clearly and survive inserted rows.
- Test with a small fixed range first. If the total looks wrong, shrink the ranges to ten rows and eyeball which rows should match.
- Add a helper column with
=A2>D$1to see, row by row, which records the formula considers a match. It is the fastest way to debug a suspicious total. - For very large sheets, whole-column references can slow recalculation. Switch to bounded ranges once the data size is stable.
Troubleshooting
The formula returns 0. First check whether the dates are real dates by clicking one and reading the formula bar. If they are text, convert them. Next, check the operator and the ampersand: a missing & or a date typed inside the quotes will produce zero. Finally, confirm the sum range actually contains numbers and not numbers stored as text.
You get a #VALUE! error. This usually means the ranges are different sizes or one argument is malformed. Count the rows in each range and rebuild the formula from scratch rather than editing it piece by piece.
The total is close but not exact. Look for timestamps in the date column, duplicate rows, or a hidden filter that excludes rows you expected. Also check whether any dates sit exactly on the cutoff, since > and >= treat that day differently.
The result shows as a date. The cell inherited date formatting. Apply Format > Number > Number to see the actual sum.
It worked, then broke after inserting rows. Hardcoded ranges like A2:A100 do not expand automatically. Switch to whole-column references or named ranges, or re-select the ranges after structural edits.
Frequently Asked Questions
Can I use SUMIFS with a date in another cell?
Yes. Reference the cell and join it with the operator: ">"&D1. The cell must contain a real date, not text.
What is the difference between > and >= with dates?
> excludes the cutoff date; >= includes it. If your cutoff is January 1, > sums from January 2 onward, while >= includes January 1 itself.
Why does my formula return 0 even though I can see later dates?
Almost always because the dates are stored as text. Check alignment and the formula bar, then convert them with Format > Number > Date or by re-entering the values.
Can SUMIFS handle two date conditions?
Yes. Add the same date column twice with a lower and an upper bound, for example ">"&D1 and "<="&D2, to sum a date window.
Does SUMIFS work with TODAY() as the cutoff?
Yes. Use ">"&TODAY() to sum records dated after the current day. The result updates as the date changes.
Can I sum dates after a cutoff and match a category at the same time?
Yes. Add another range and criterion pair, such as C:C, "Widgets", after the date condition. SUMIFS accepts multiple pairs and requires all of them to match.