logo
search
Excel Error Codes

How to Fix Excel SORT Function #NAME? Error on Mac

Elise WilliamsElise Williams Oct 16, 2026 869 views

Question details

The user is encountering a #NAME? error when trying to organize data using the SORT function in Excel on a Mac.

How to Fix the Excel SORT Function #NAME? Error on Mac
Product
Microsoft Excel
Device & OS
Mac
Scenario
Attempting to dynamically sort a range or array of data using the SORT formula in a spreadsheet.
Observed behavior
The cell returns a #NAME? error instead of the sorted results, indicating that Excel does not recognize the function name.
Before you start

Before troubleshooting your software version, double-check that you have spelled the SORT function correctly in the formula bar, as typos will also trigger a #NAME? error.

Solution 1Recommended

Check and Update Your Microsoft Excel Version

Verify if your current Excel installation supports dynamic array functions like SORT, and update the software if a newer version is available.

The SORT function is a dynamic array formula introduced in newer versions of Excel. It is natively supported in Microsoft 365 subscriptions and perpetual licenses starting from Excel 2021. Older standalone versions like Excel 2016 or 2019 do not support this feature.

1
Open Excel Information

Launch Microsoft Excel on your Mac. In the top menu bar, click on 'Excel' and select 'About Microsoft Excel' from the dropdown.

2
Verify License Version

Look at the license information in the dialog box. Ensure it says 'Microsoft 365 Subscription' or 'Office 2021' (or newer).

3
Check for Updates

If you have a supported license but are running an outdated build, click on 'Help' in the top menu bar and select 'Check for Updates' to install the latest patches.

Check and Update Your Microsoft Excel Version
Version Limitations: If your license is for Office 2019 or older, updating the software will not add the SORT function. You will need to upgrade your license or use manual sorting alternatives.
Free Microsoft Office alternative

Organize Spreadsheets Flawlessly with WPS Office

If you are restricted by unsupported functions and version incompatibility in older Microsoft Office software, consider switching to WPS Office. It is a powerful, free, and lightweight alternative that ensures seamless data management without expensive subscriptions.

  1. 1. Install WPS Office: Download and install the free WPS Office application for your Mac.
  2. 2. Open Your Workbook: Launch WPS Spreadsheet and easily open your existing Excel files.
  3. 3. Manage Data Easily: Utilize the extensive built-in tools under the Data tab to seamlessly sort and organize your information.
Completely free alternative with highly compatible spreadsheet featuresFully supports Microsoft Excel file formats like .xlsx and .csvLightweight architecture ensures fast installation and smooth operation on MacFamiliar interface makes migrating from Microsoft Excel effortless
microsoft office alternative - wps office

Frequently Asked Questions

Why does my SORT formula show a #NAME? error in Excel?

The #NAME? error occurs when Excel does not recognize the function name entered. This typically happens if the function is misspelled, or if you are using an older version of Excel that does not include the newer dynamic array functions.

Which versions of Excel for Mac support the SORT function?

The SORT function is supported exclusively in Microsoft 365 subscriptions and the standalone versions of Excel 2021 and newer. It is not available in Excel 2019, 2016, or older releases.

Can I add dynamic array functions to older versions of Excel?

No, dynamic array functions like SORT, FILTER, and UNIQUE are hardcoded into newer versions of the Excel computation engine. They cannot be downloaded as add-ins for older perpetual versions like Office 2019.

How can I sort data dynamically if I don't have Microsoft 365?

Without the SORT function, you can rely on the manual 'Sort' button found under the Data tab. Alternatively, you can use a complex combination of older functions (like INDEX, MATCH, and LARGE/SMALL) to mimic dynamic sorting, though this is heavily advanced and less efficient.