Fix Excel Showing _xlfn.XLOOKUP After Microsoft 365 Reinstall
Question details
Saved Excel workbooks display _xlfn.XLOOKUP instead of the standard XLOOKUP function, causing the formulas to stop calculating correctly after the application was reinstalled.

- Product
- Microsoft Excel (Microsoft 365)
- Device & OS
- not provided
- Scenario
- Opening existing workbooks containing XLOOKUP formulas immediately following a reinstallation of Microsoft 365.
- Observed behavior
- The formulas are prefixed with _xlfn. and fail to work, indicating that the function is no longer recognized by the current Excel instance.
Ensure your computer is connected to the internet, as you will need online access to verify your Microsoft account and activate your Microsoft 365 subscription.
Verify and Reactivate Your Microsoft 365 License
Reconnecting your licensed account resolves the unsupported function error by restoring access to premium Microsoft 365 features like XLOOKUP.
The `_xlfn.` prefix indicates that Excel does not recognize the function. This commonly happens if your reinstalled Microsoft 365 defaults to an older version's feature set because it isn't properly authenticated with your active subscription.
Launch Microsoft Excel, click on the 'File' tab in the top-left corner, and select 'Account' from the bottom of the left-hand menu.
Review the 'Product Information' section on the right side of the screen to see if your Microsoft 365 subscription is listed as active.
If the software asks you to sign in, activate, or shows an unlicensed product warning, click 'Sign In' and enter the email address associated with your Microsoft 365 license.
Close Microsoft Excel entirely and reopen your workbook to verify that the `_xlfn.` prefix has been removed and the XLOOKUP formulas are calculating correctly.

Manually Update Microsoft Office
Applying the latest updates ensures your reinstalled version has all the newest dynamic array functions enabled.
Use WPS Office to Open and Edit XLOOKUP Formulas for Free
If you are struggling with Microsoft 365 license activations and missing formulas, switch to WPS Office. WPS Spreadsheet fully supports XLOOKUP and other advanced functions completely free of charge, without requiring a paid subscription.
- 1. Download and Install: Download WPS Office for free from the official website and run the lightweight installer.
- 2. Open Your Workbook: Launch WPS Spreadsheet, click 'Open', and select your existing Excel file.
- 3. Use Advanced Formulas: View and edit your XLOOKUP formulas seamlessly, as WPS Office recognizes and calculates them automatically.

Frequently Asked Questions
Why does Excel add _xlfn. to my formulas?
Excel adds the `_xlfn.` prefix when a workbook contains a function (like XLOOKUP) that is not supported by the currently running version of Excel. This acts as a placeholder to preserve the formula's data without attempting to calculate an unknown function.
Does Excel 2016 or 2019 support the XLOOKUP function?
No, XLOOKUP is only available in Microsoft 365, Excel 2021, and newer versions. If you open a workbook containing XLOOKUP in Excel 2016 or Excel 2019, it will display the `_xlfn.XLOOKUP` error.
Can I remove the _xlfn. prefix manually to make the formula work?
Removing the prefix manually will result in a `#NAME?` error if your Excel version or license still doesn't support the function. You must either activate a valid Microsoft 365 license, use a newer version of Excel, or replace the formula with an alternative like VLOOKUP or INDEX/MATCH.




