logo
search
Excel Error Codes

How to Fix Excel FILTER #NAME? and _xlfn._xlws.FILTER Errors

Phi Hung VoPhi Hung Vo Oct 7, 2026 872 views

Question details

The user needs to fix formula errors where the FILTER function evaluates to #NAME? and displays an _xlfn._xlws.FILTER prefix in the formula bar.

Fixing Excel FILTER #NAME? and _xlfn._xlws.FILTER Errors
Product
Microsoft Excel
Device & OS
not provided
Scenario
Opening an Excel workbook containing the modern dynamic-array FILTER function on a computer with an older or incompatible version of Excel.
Observed behavior
Excel fails to recognize the FILTER function, replacing it with the _xlfn._xlws.FILTER prefix and outputting a #NAME? error in the affected cells.
Before you start

Verify your current Microsoft Office version to confirm if dynamic array functions are supported, and create a backup copy of your workbook before running any software repairs.

Solution 1Recommended

Upgrade to Microsoft 365 or Excel 2021

The most definitive way to resolve this error is to open the workbook in a version of Excel that natively supports dynamic array functions.

The FILTER function is a dynamic array feature introduced in newer versions of Excel. Older standalone versions (like Excel 2016 or 2019) do not have the internal code to calculate these formulas, which is why the #NAME? error appears.

1
Check your current Excel version

Open Excel, click on 'File' in the top-left corner, and select 'Account' at the bottom of the left pane. Review your software version under 'Product Information'.

2
Upgrade your software suite

If you are running Excel 2019 or older, you will need to purchase and install an upgrade to Microsoft 365 or a standalone version of Excel 2021 (or later).

3
Reopen the workbook

After installing the newer version of Excel, open your file again. The _xlfn._xlws prefix will disappear, and the FILTER formula will evaluate properly.

Upgrade to Microsoft 365 or Excel 2021
Free Microsoft Office alternative

Use WPS Office to Seamlessly Handle Dynamic Array Functions

If upgrading a legacy Microsoft Office suite is too expensive or impractical, WPS Office provides a free, robust alternative. It perfectly supports advanced Excel functions like FILTER and modern dynamic arrays without generating #NAME? errors.

  1. 1. Install WPS Office: Download the free WPS Office installer from the official website and complete the quick installation process.
  2. 2. Launch WPS Spreadsheet: Open WPS Office and click on 'Spreadsheet' from the main dashboard to access the Excel-compatible editor.
  3. 3. Open your workbook: Click 'Open', select your .xlsx file containing the FILTER formula, and view your dynamic data without any #NAME? or _xlfn prefix errors.
Fully compatible with Microsoft Excel (.xlsx, .xls) workbook formats.Natively supports modern dynamic array formulas, including the FILTER function.Free to download and exceptionally lightweight, making it ideal for older devices.Features a familiar spreadsheet interface with zero learning curve for Excel users.
microsoft office alternative - wps office

Frequently Asked Questions

What does the _xlfn prefix mean in an Excel formula?

The _xlfn prefix is automatically added by Excel when a workbook contains a function that is not supported by the version currently running. It acts as a placeholder to preserve the original formula structure, even though it cannot calculate the result.

Can I use the FILTER function in Excel 2019 or 2016?

No. The FILTER function relies on the dynamic array calculation engine introduced in Microsoft 365 and Excel 2021. Older standalone versions like 2019, 2016, or 2013 lack this engine and will always return a #NAME? error.

Is there a workaround to filter data using formulas in older Excel versions?

Yes, you can achieve similar results in older versions using a complex combination of traditional functions like INDEX, SMALL, IF, and ROW entered as an array formula (Ctrl+Shift+Enter). However, this method is significantly slower and harder to maintain than the modern FILTER function.

Why do I see _xlws along with _xlfn in the formula bar?

The _xlws prefix is added internally by Microsoft Excel alongside _xlfn when the unsupported function is specific to modern worksheet calculations, often involving newer dynamic array functionalities or newly added web functions.