Fix Excel #NAME? Error and _xlfn Prefix on Mac
Question details
The user needs to resolve an issue where Excel formulas display a #NAME? error and automatically add an _xlfn. prefix on a Mac.
- Product
- Microsoft Excel
- Device & OS
- macOS Sequoia
- Scenario
- Opening or editing a spreadsheet containing newer functions on a Mac computer.
- Observed behavior
- Excel outputs a #NAME? error and prepends _xlfn. to formulas that work correctly on other computers.
Ensure you have a stable internet connection and have closed any active Excel workbooks, as resolving this issue requires downloading the latest software updates.
Update Microsoft Office for Mac
The _xlfn. prefix appears when your current version of Excel does not support a newer function used in the document. Updating the application resolves this compatibility issue.
When a workbook contains functions introduced in newer versions of Excel (such as XLOOKUP, FILTER, or UNIQUE), older versions cannot calculate them. Instead of breaking the file completely, Excel adds the _xlfn. prefix and outputs a #NAME? error. To restore full functionality, you must install the latest Office updates so your software recognizes the new formulas.
Launch Excel on your Mac. Navigate to the top menu bar, click on 'Help', and select 'Check for Updates'.
In the Microsoft AutoUpdate tool, click the 'Update' button next to Excel, or choose 'Update All' to update your entire Office suite to the latest version.
Once the installation is complete, close Excel completely and reopen your spreadsheet. The formulas should now calculate correctly without the _xlfn. prefix.
Use WPS Office to Open Unrecognized Formulas
If your current Microsoft Office license prevents you from upgrading to the latest version, consider using WPS Office. It is a free, lightweight alternative that supports modern spreadsheet functions without the frustrating versioning errors.
- 1. Download and Install: Get WPS Office for Mac from the official website and install the application.
- 2. Open Your Spreadsheet: Launch WPS Spreadsheet and open the file that was causing the _xlfn. error in Excel.
- 3. Edit Seamlessly: View and edit your formulas normally, as WPS Office supports a wide range of modern functions natively.

Frequently Asked Questions
What does the _xlfn prefix mean in Excel?
The _xlfn prefix stands for 'Excel Function'. It indicates that a specific function used in the worksheet is not supported by the version of Excel currently opening the file.
Can I simply delete the _xlfn prefix to make the formula work?
No. Removing the prefix will not fix the issue because your current version of Excel lacks the built-in logic to calculate that specific function. The software must be updated to support the formula.
Will the #NAME? error disappear if I send the file back to someone with a newer Excel version?
Yes. If a user with a fully updated or newer version of Microsoft 365 opens the file, the _xlfn prefix will vanish automatically, and the formulas will calculate normally.




