Calculation Issues

WPS Spreadsheet: Fix SUMIFS Returning One Match for Dates in a Dynamic Array

Kushani NimanthikaKushani Nimanthika Nov 12, 2026 869 views

Question details

The user needs to make SUMIFS include all records that match a date, including dates with hidden fractional time values, and ensure the values being summed are numeric.

Product
WPS Spreadsheet
Device & OS
not provided
Scenario
A SUMIFS formula is used with dates in a dynamic array or date-based criteria, but the result appears to include only one matching record.
Observed behavior
Formatting the dates as short dates does not remove their underlying time values, and amounts stored as text may be excluded from the sum even when the dates match.
Before you start

Select a few cells in the date column and inspect their values in the formula bar, then check whether the amount column contains real numbers. Use a blank cell with =MOD(date_cell,1) to reveal any fractional time component.

Solution 1Recommended

Use a full-day date range in SUMIFS

Use this solution when date cells may contain times such as 12:30 PM or 6:00 PM and the criteria should match the entire calendar day.

A date with a time is stored as a serial number containing a whole-day value plus a fractional day. Instead of comparing the date to one exact serial number, set a lower boundary at the target date and an exclusive upper boundary at the next day.

1
Enter date-range criteria

In the target result cell, enter a formula such as =SUMIFS(amount_range,date_range,">="&target_date,date_range,"<"&target_date+1), replacing amount_range, date_range, and target_date with the relevant cells or ranges.

2
Fill the formula for each target date

Select the formula cell, use the fill handle or Copy and Paste from the Home tab, and apply the formula to the remaining target dates in the dynamic list.

3
Check the matching record count

In a blank cell, enter =COUNTIFS(date_range,">="&target_date,date_range,"<"&target_date+1) to confirm how many records fall within the complete calendar day.

Why this works: The >= target_date and < target_date+1 criteria include every time on the target date without relying on display formatting.

Resolve Date-Based SUMIFS Errors in WPS Spreadsheet

WPS Spreadsheet lets you inspect underlying date serials, normalize dates, convert text amounts, and build SUMIFS formulas with complete-day criteria so every valid record is included.

  1. 1. Open the worksheet: Launch WPS Spreadsheet and open the workbook containing the SUMIFS formula from the Home screen or File > Open.
  2. 2. Inspect the source values: Select cells in the date and amount columns, then use the formula bar to check for time components or text-formatted numbers.
  3. 3. Apply complete-day criteria: Edit the SUMIFS formula in the formula bar to use >= target_date and < target_date+1 criteria for the date range.
  4. 4. Verify the result: Use COUNTIFS in a blank cell to count matching records and compare that count with the records included in the corrected sum.
Reliable SUMIFS calculations for dates that contain hidden time valuesBuilt-in formulas such as INT, MOD, COUNTIFS, and VALUE for troubleshootingFamiliar spreadsheet tools for copying formulas and checking imported dataCompatible with Microsoft Excel XLS and XLSX formatsLightweight tools for reviewing and correcting calculation ranges
microsoft office alternative - wps office

Frequently Asked Questions

Why does SUMIFS match only one record when the dates look identical?

The cells may contain different hidden times even though they display the same short date. Use criteria such as ">="&target_date and "<"&target_date+1 to include the entire day.

Does changing a date to Short Date remove its time value?

No. Formatting changes only the display. To remove the time component, create a helper value with =INT(date_cell), or use a complete-day date range in SUMIFS.

How can I confirm how many records match a date?

Use =COUNTIFS(date_range,">="&target_date,date_range,"<"&target_date+1) in a blank cell. This counts every record occurring on the target calendar day.

Why does COUNTIFS find the rows but SUMIFS does not add all the amounts?

The amount cells may be stored as text. Test the range with =SUM(amount_range), then convert the values using Data > Text to Columns > Finish or a helper formula such as =VALUE(amount_cell).

Can I use a normalized date column for repeated SUMIFS calculations?

Yes. Enter =INT(date_cell) in a helper column, fill it down, and use that date-only column as the SUMIFS criteria range.