Formula Errors

Fix WPS Spreadsheet SUMIFS Returning Zero for Date Criteria

Chanuka GeekiyanageChanuka Geekiyanage Nov 12, 2026 869 views

Question details

The user needs to fix a SUMIFS formula that returns 0 when summing values on another worksheet by a date range.

Fix WPS Spreadsheet SUMIFS Returning Zero for Date Criteria
Product
WPS Spreadsheet
Device & OS
not provided
Scenario
The user is totaling values in column U when dates in column Q fall within a specified month, including data stored on separate worksheets.
Observed behavior
SUMIFS returns 0 even when the worksheet appears to contain records that match the intended date range.
Before you start

Check that the sum range and every criteria range begin and end on the same row. Confirm that the cells in the date column are stored as dates rather than text strings.

Solution 1Recommended

Use DATE function criteria in the SUMIFS formula

Use this method when typed date criteria may be interpreted differently because of regional date formats or text-date entries.

DATE(year,month,day) creates an unambiguous spreadsheet date serial number, so SUMIFS can compare dates reliably on every worksheet.

1
Select the result cell

On the worksheet containing the summary formula, select the cell where the SUMIFS result should appear and enter the formula.

2
Enter unambiguous start and end dates

Use DATE functions in both criteria, for example: =SUMIFS(U1:U4000,Q1:Q4000,">="&DATE(2024,1,1),Q1:Q4000,"<="&DATE(2024,1,31)).

3
Reference another worksheet when needed

If the data is on a different sheet, add the worksheet name to every range, for example: =SUMIFS(January!U1:U4000,January!Q1:Q4000,">="&DATE(2024,1,1),January!Q1:Q4000,"<="&DATE(2024,1,31)).

4
Press Enter and review the result

Press Enter to calculate the formula. If the result is still 0, test whether a date cell is real by selecting it and checking whether the formula bar shows a recognizable date value.

Use DATE function criteria in the SUMIFS formula
Reliable monthly date criteria: For January 2024, the DATE-based formula includes dates from January 1 through January 31 without depending on a locale-specific text format.
Work with formulas in WPS Spreadsheet

Calculate Monthly SUMIFS Totals Reliably in WPS Spreadsheet

WPS Spreadsheet lets you build SUMIFS formulas with DATE and EOMONTH criteria, check source values, and update monthly reports using familiar spreadsheet functions.

  1. 1. Open the workbook in WPS Spreadsheet: Launch WPS Office and open the .xlsx or .xls workbook that contains the SUMIFS calculation.
  2. 2. Select the formula result cell: Go to the worksheet with the summary and click the cell where the total should be calculated.
  3. 3. Enter DATE-based SUMIFS criteria: Type a SUMIFS formula using DATE(2024,1,1) for the start date and DATE(2024,1,31) or EOMONTH for the end date.
  4. 4. Check the source date column: Select dates in the source sheet and use Home > Number Format to confirm they are recognized as dates rather than text.
  5. 5. Recalculate and save the workbook: Press Enter to calculate the formula, review the total, and save the updated workbook from Menu > Save.
Use DATE and EOMONTH functions for dependable monthly SUMIFS criteria.Inspect and convert text dates directly in WPS Spreadsheet.Open and edit Microsoft Excel .xlsx and .xls workbooks with formula compatibility.Use a familiar spreadsheet interface for cross-sheet totals and reports.
microsoft office alternative - wps office

Frequently Asked Questions

Why does SUMIFS return 0 when the dates look correct?

The visible dates may be text rather than real spreadsheet dates. Select a date cell and set Home > Number Format to General; real dates display as serial numbers, while text dates do not convert in the same way.

How do I write a SUMIFS formula for a full month?

Use DATE for the first day and EOMONTH for the last day. For example: =SUMIFS(U1:U4000,Q1:Q4000,">="&DATE(2024,1,1),Q1:Q4000,"<="&EOMONTH(DATE(2024,1,1),0)).

Can SUMIFS calculate values from another worksheet in WPS Spreadsheet?

Yes. Add the worksheet name before every range, such as =SUMIFS(January!U1:U4000,January!Q1:Q4000,">="&DATE(2024,1,1),January!Q1:Q4000,"<="&DATE(2024,1,31)).

Do SUMIFS ranges need to be the same size?

Yes. The sum range and each criteria range must cover the same number of rows and corresponding positions, for example U1:U4000 and Q1:Q4000.

Should I use typed dates such as 1/1/2024 in SUMIFS criteria?

DATE(2024,1,1) is safer than a typed date string because typed formats can be interpreted differently based on regional settings.