How to Fix Excel SORT and FILTER Functions Not Available
Question details
The user is encountering a function-not-valid error when trying to use dynamic-array functions like SORT and FILTER.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Attempting to use SORT or FILTER functions to organize data dynamically in a spreadsheet.
- Observed behavior
- Excel returns a function-not-valid error because the SORT and FILTER functions are unavailable or not recognized by the current software version.
Ensure you have an active internet connection to download any necessary Office updates and save your current work before initiating a software repair.
Check Your Excel Version and Install Updates
Verify that your version of Excel supports dynamic-array functions and apply the latest Microsoft 365 updates.
SORT and FILTER are dynamic-array functions introduced in Microsoft 365 and newer perpetual versions like Excel 2021. Older standalone versions, such as Excel 2019 or 2016, do not natively support these functions.
Launch Microsoft Excel, open a blank workbook, and click on 'File' in the top-left corner. Select 'Account' from the bottom of the left-hand menu.
Look under the 'Product Information' section on the right side to confirm your subscription or version. Ensure you are using Microsoft 365 or at least Excel 2021.
Click on the 'Update Options' button next to the Office Updates section, then select 'Update Now' from the drop-down menu to install the latest features.

Run a Quick Repair on Your Office Installation
Use the built-in Windows repair tool to fix corrupted Office files that might be causing the functions to disappear in supported versions.
Use WPS Office as a Free Alternative with High Compatibility
If your current version of Microsoft Excel doesn't support modern functions like SORT and FILTER and you prefer not to purchase an expensive upgrade, consider switching to WPS Office. It provides a lightweight, highly compatible, and free alternative with a familiar user interface.
- 1. Download and Install WPS Office: Visit the official WPS Office website and download the free installation package for your operating system.
- 2. Launch WPS Spreadsheet: Open the WPS Office desktop app and click on 'Spreadsheet' to start a new document or open an existing one.
- 3. Open Your Excel Files: Drag and drop your existing .xlsx files directly into the WPS interface to continue working on your data seamlessly.

Frequently Asked Questions
Why do SORT and FILTER show a #NAME? error in older Excel versions?
Older versions of Excel, such as Excel 2016 and 2019, do not support dynamic-array functions. If a workbook containing these functions is opened in an older version, Excel does not recognize the function name and returns a #NAME? error.
Can I get dynamic-array functions without subscribing to Microsoft 365?
Yes, you can purchase the perpetual license of Excel 2021 or newer standalone editions. These newer versions include native support for dynamic-array functions like SORT and FILTER without requiring a recurring monthly subscription.
Does the Office Quick Repair delete my personal files or settings?
No, running a Quick Repair from the Windows settings only checks and replaces corrupted installation files for Microsoft Office. It does not affect, modify, or delete your personal documents, spreadsheets, or customized application settings.




