Formula Errors

How to Fix SUMIFS Formula Errors with Imported Dates in Excel

Aamir Naveed AkramAamir Naveed Akram Nov 10, 2026 868 views

Question details

The user needs to correct a SUMIFS formula that returns incorrect results when filtering revenue by customer and invoice dates, primarily due to imported dates or invalid table references.

How to Fix SUMIFS Formula Errors with Imported Dates in Excel
Product
Excel
Device & OS
not provided
Scenario
Filtering revenue data by customer and specific date ranges using a SUMIFS formula after importing dataset.
Observed behavior
The SUMIFS formula fails or returns incorrect zero values because of mismatched date formats or the formula pointing to table header cells instead of data columns.
Before you start

Before troubleshooting the formula, widen the columns containing your dates to ensure you can clearly see the data formatting, as hashes (###) might obscure the underlying values.

Solution 1Recommended

Use Correct Table Data Column References

Modify the SUMIFS formula to reference the actual data columns instead of the table header cells, ensuring proper range matching.

When clicking on columns to build a formula, Excel may accidentally capture the table header instead of the data range. SUMIFS requires data ranges to evaluate correctly.

1
Locate the formula

Select the cell containing your faulty SUMIFS formula and look at the formula bar.

2
Identify header references

Check for references that contain the header tag, such as ActRevMth[[#Headers],[Date]].

3
Update to data references

Replace the header references with standard data column references like ActRevMth[Date].

4
Apply the corrected formula

Ensure your formula looks like: =SUMIFS(ActRevMth[Amount], ActRevMth[Name], Revenue!B13, ActRevMth[Date], ">="&Revenue!E3, ActRevMth[Date], "<="&Revenue!F3), then press Enter.

Use Correct Table Data Column References
Tip: When manually typing table references, use the autocomplete dropdown and select the column name without the [#Headers] tag.

Fix Formula Errors Easily with WPS Spreadsheet

WPS Spreadsheet offers a seamless experience for processing datasets, handling imported dates, and troubleshooting complex formulas like SUMIFS. It provides intuitive data conversion tools and is fully compatible with major spreadsheet formats.

  1. 1. Install WPS Office: Download and install WPS Office for free from the official website.
  2. 2. Open your file: Launch WPS Spreadsheet and open your .xlsx or .csv file containing the revenue data.
  3. 3. Convert text dates: Select your imported date column and use the 'Text to Columns' feature in the Data tab to convert text to true dates.
  4. 4. Apply formula: Enter your corrected SUMIFS formula using the smart table column references suggested by the WPS autocomplete feature.
Fully compatible with Microsoft Excel formulas, functions, and date formatting.Built-in Error Checking features to easily spot text-formatted dates.Free, lightweight, and fast when processing large data tables.
QA img-9

Frequently Asked Questions

Why does my SUMIFS formula return 0 even when criteria match?

This usually happens because the criteria cells or the source data cells are formatted as text instead of true numeric dates. Excel cannot mathematically compare a text string like '10/01/2023' with the serial date value 45200.

Can I use wildcards with date criteria in SUMIFS?

No, wildcards (*, ?) only work with text string criteria. For dates, you must use mathematical comparison operators like '>=' and '<=' combined with the & symbol to concatenate the cell references.

What does the [#Headers] syntax mean in my formula?

The [#Headers] syntax indicates that the formula is explicitly referencing the title cell of the table column rather than the data within the column. For aggregations like SUMIFS, you should reference just the column name, such as [Date].