How to Use SUMIFS with Month and Date Criteria in Excel
Question details
The user needs to apply a month-based condition to a SUMIFS formula when the worksheet cells contain dates, but struggles with formula errors due to format mismatches.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Calculating budget totals or summing data for a specific month using the SUMIFS function, requiring precise criteria matching between raw dates and text-based month names.
- Observed behavior
- Attempting to directly compare a date cell with a text string like "Jan" inside a SUMIFS formula returns a #VALUE! error because Excel stores dates as serial numbers rather than plain text.
Verify whether your cells contain actual date serial numbers formatted to display as months, or plain text strings, as this dictates which SUMIFS method you must use.
Use Date Boundary Criteria in SUMIFS
The most reliable method to sum values for a specific month is to define a start and end date boundary, ensuring standard date serial numbers evaluate correctly.
Since SUMIFS cannot dynamically apply functions like TEXT() or MONTH() to the criteria range itself, you must bracket the targeted month. For example, to sum data for January, you specify criteria for dates greater than or equal to January 1, and less than February 1.
Click the cell where you want the calculated monthly total to appear.
Type =SUMIFS( followed by your sum range (e.g., J32:J44), a comma, and your date range (e.g., L32:L44).
Add a comma and type ">=1/1/2025" (or reference a cell containing the first day of the month).
Add another comma, select the date range again (L32:L44), add a comma, and type "<2/1/2025".
Close the parenthesis so your formula looks like =SUMIFS(J32:J44, L32:L44, ">=1/1/2025", L32:L44, "<2/1/2025") and press Enter.

Use a Helper Column with the TEXT Function
If you must match against text strings like "Jan", convert the dates to text in a separate helper column before applying SUMIFS.
Easily Calculate Monthly Totals with WPS Spreadsheet
WPS Spreadsheet offers powerful, 100% compatible formula engines to help you execute complex SUMIFS calculations without the hassle. Easily manage date formatting, handle complex budget conditions, and prevent formula errors.
- 1. Open WPS Spreadsheet: Launch WPS Office and open your financial or data workbook.
- 2. Insert the SUMIFS formula: Select the result cell, type =SUMIFS( and select the range of values you want to total.
- 3. Define the criteria boundaries: Input your date column range, followed by the start of the month (e.g., ">=1/1/2025").
- 4. Add the end date: Input the date column range again, followed by the end of the month boundary (e.g., "<2/1/2025").
- 5. Calculate instantly: Press Enter to execute the formula and instantly view your accurate monthly sum.

Frequently Asked Questions
Why does my SUMIFS formula return a #VALUE! error when using dates?
A #VALUE! error typically occurs if the sum range and criteria ranges are not exactly the same size. It can also happen if you attempt to embed an unsupported array function directly into the SUMIFS criteria argument.
Can I use the MONTH() function directly inside a SUMIFS formula?
No, SUMIFS does not permit wrapping the criteria range in another function like MONTH(). You must either use date boundaries (>= Start Date, < End Date), use a helper column, or switch to the SUMPRODUCT function instead.
How can I check if a cell contains a real date or just text?
You can use the =ISNUMBER() function. Excel stores real dates as sequential serial numbers. If =ISNUMBER(A1) returns TRUE, it is a real date; if it returns FALSE, it is formatted as text.




