logo
search
Function Problems

Fix Excel FILTER Function Not Showing a No Results Message

Bushra ParveenBushra Parveen Sep 25, 2026 869 views

Question details

The user needs to make the FILTER function display a specific custom message when no data matches the given criteria, instead of returning an error or a header row.

How to Fix Excel FILTER Function Not Showing a No Results Message
Product
Spreadsheet
Device & OS
not provided
Scenario
Filtering a dataset using the FILTER function with an 'if_empty' parameter configured to show a custom message when no matching records are found.
Observed behavior
The formula incorrectly returns the header row or fails to display the custom message, often due to entire-column references capturing text headers during numeric comparisons.
Before you start

Verify your dataset structure to identify exactly where your header row ends and the actual numeric or text data begins before modifying your formulas.

Solution 1Recommended

Exclude the Header Row and Define Specific Ranges

Prevent text headers from interfering with numerical logical tests by defining precise data ranges instead of using entire-column references.

When using entire columns (like A:G) in a FILTER function, the text header row is included in the evaluation. If your criteria is a numerical comparison (such as >12000), the text header might satisfy the condition differently than expected, causing the function to output the header instead of the 'if empty' message.

1
Identify your specific data range

Locate the exact rows containing your data, starting immediately below the header row (for example, A2:G1000).

2
Update the FILTER formula

Modify your existing formula to use the exact range. Enter =FILTER(A2:G1000, G2:G1000>12000, "No entries") into your target cell.

3
Apply and test the formula

Press Enter to execute the function. Test it by temporarily changing the criteria to a value you know doesn't exist to ensure the 'No entries' message appears.

Exclude the Header Row and Define Specific Ranges
Performance Benefit: Using specific ranges rather than entire-column references also significantly improves your spreadsheet's calculation speed and reduces processing lag.
Master Advanced Formulas

Easily Filter Data Using Formulas in WPS Spreadsheet

WPS Spreadsheet provides powerful support for dynamic array formulas including FILTER, IF, and COUNTIF, allowing you to seamlessly analyze and extract data without errors.

  1. 1. Open your workbook: Launch WPS Spreadsheet and open the document containing your dataset.
  2. 2. Start the FILTER function: Select an empty cell and type =FILTER( to bring up the intuitive formula tooltip.
  3. 3. Select your exact data range: Highlight your data using the mouse, making sure to start below the header row to avoid text comparison errors.
  4. 4. Input criteria and finish: Type your condition, add your custom message in quotes (e.g., "No results found"), close the parenthesis, and press Enter.
100% format compatibility with Microsoft Excel (.xlsx) files and functions.High-performance calculation engine that smoothly handles large datasets and complex array formulas.Free and lightweight software suite with a familiar interface for quick adoption.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my FILTER formula return a #CALC! error?

The #CALC! error typically occurs when the FILTER function finds no matching results and you haven't provided a custom 'if_empty' parameter. You can fix this by adding a message at the end of your formula, like =FILTER(A2:B10, B2:B10>5, "No results").

Can I use multiple criteria with the FILTER function?

Yes, you can use multiple criteria. Multiply conditions using an asterisk (*) for AND logic, or add them using a plus sign (+) for OR logic. For example: =FILTER(A2:C10, (A2:A10="Red")*(B2:B10="Large"), "None found").

Why is referencing entire columns bad for some Excel formulas?

Referencing an entire column (like A:A) forces the spreadsheet to evaluate over one million rows, which can slow down performance. Additionally, it includes the header row, which can cause unexpected results when mixing text headers with numeric formula criteria.