XLOOKUP was introduced as a modern replacement for VLOOKUP and HLOOKUP, designed to be more flexible and easier to use. It is available to users with a Microsoft 365 subscription and in newer standalone versions of Excel. Because it is not available in older versions (such as Excel 2016 or 2019), you must verify your software version to ensure the function will work in your workbook.
What You'll Need
- A computer with Microsoft Excel installed.
- An active internet connection (to check for updates if the function is missing).
- A Microsoft account (if you are using the subscription-based version).
Step-by-Step
- Open Microsoft Excel: Launch the application on your desktop.
- Open a Blank Workbook: Start a new, empty spreadsheet to test the function without existing data interference.
- Test the Function Directly: Click on any empty cell and type
=XLOOKUP(`.- If the function name appears in the autocomplete dropdown list as you type, XLOOKUP is available in your version.
- If you finish typing the formula and press Enter, and Excel returns a
#NAME?error, the function is not supported by your current version.
- Check Your Account Version: If the function did not appear, navigate to File > Account. (Note: Menu labels may differ slightly depending on your operating system or region).
- Verify Product Information: Look under the "Product Information" section.
- If it says "Microsoft 365," you should have access to XLOOKUP. If you don't see it, you may need to update your software.
- If it lists a specific year (e.g., "Office Professional Plus 2016"), XLOOKUP is not natively available in that version.
- Update Your Software: If you have Microsoft 365 but the function is missing, go to File > Account > Update Options > Update Now to install the latest feature set.
Common Mistakes
- Assuming all "New" Excel versions have it: Many users assume any version from the last few years has XLOOKUP, but standalone "perpetual" licenses (like Office 2019) do not include it. It is primarily a feature of the subscription model.
- Ignoring the #NAME? Error: Some users mistake the
#NAME?error for a typo in their formula. In the case of XLOOKUP, this error almost always means Excel does not recognize the function name because the version is too old. - Testing in Excel Online vs. Desktop: You might find that XLOOKUP works in the web browser version (Excel for the Web) but not in your desktop app. This happens when your local installation is an older version than the cloud version.
Tips
- Use Excel for the Web: If you are using an old desktop version and cannot upgrade, you can upload your file to OneDrive and use Excel for the Web. XLOOKUP is available there for free.
- Avoid XLOOKUP for Shared Files: If you are sending a spreadsheet to clients or colleagues, avoid using XLOOKUP if you aren't sure which version of Excel they use. If they have an older version, the formula will break.
- Use INDEX/MATCH as a Backup: If you discover you don't have XLOOKUP, the combination of
INDEXandMATCHprovides almost all the same functionality and works in every version of Excel.
Troubleshooting
If you believe you should have XLOOKUP but it isn't working, follow these steps in order:
- Restart Excel: Close all open workbooks and restart the application to ensure updates have been applied.
- Check for Updates: Go to File > Account > Update Options and select Update Now.
- Verify Subscription Status: Ensure your Microsoft 365 subscription is active. If the account has expired, some advanced features may be limited.
- Check the File Format: Ensure your file is saved as a
.xlsxor.xlsmfile. Very old file formats (like.xls) can occasionally cause compatibility issues with modern functions.
Frequently Asked Questions
Does Excel 2019 have XLOOKUP?
No, XLOOKUP is not available in the standalone Excel 2019 version. It is available in Microsoft 365 and newer standalone releases.
What should I use if I don't have XLOOKUP?
The best alternatives are VLOOKUP (for simple left-to-right searches) or the combination of INDEX and MATCH (for more complex, flexible searches).
Will a file with XLOOKUP work on an older version of Excel?
The file will open, but the cells containing XLOOKUP will display a #NAME? error for users on older versions, and they will be unable to edit the formula.
Is XLOOKUP available on Excel for Mac?
Yes, XLOOKUP is available for Mac users as long as they are using a Microsoft 365 subscription or a compatible newer version of Excel.
Do I need to install a special add-in for XLOOKUP?
No, XLOOKUP is a built-in function. If it is not appearing, it is a matter of your software version, not a missing add-in.