Excel Cannot Find Function? Here's How to Fix It
In this article
Excel shows "cannot find function" when it does not recognise the name you typed, usually because of a typo, a missing add-in, a language mismatch, or because the function belongs to a newer Excel version than the one you are using. The fastest fix is to check the spelling and the Analysis ToolPak add-in, then confirm the function exists in your Excel edition. Below is a step-by-step guide to diagnose and resolve the error, plus common mistakes and troubleshooting tips.
What You'll Need
- Excel for Windows or Mac (steps below apply to both; menu labels may differ slightly by version, device, or region).
- The exact function name you are trying to use.
- Access to Excel's add-in settings (usually under File > Options > Add-ins on Windows, or Excel > Preferences > Add-ins on Mac).
Step-by-Step
- Check the spelling and syntax. Click the cell with the error. In the formula bar, compare the function name with Excel's official list. Common typos include missing letters (e.g.,
VLOOKUPwritten asVLOOKUPis fine, butVLOKUPis not) or using a space instead of an underscore. Function names are not case-sensitive, but they must be spelled exactly. - Verify the function exists in your Excel version. Some functions (like
XLOOKUP,FILTER,SORT,UNIQUE,TEXTJOIN) are only available in Microsoft 365 and Excel 2021 or later. If you are on Excel 2016 or 2019, these will produce the error. Check Microsoft's official documentation for the function's availability. If it is not supported, use an alternative (e.g.,INDEX/MATCHinstead ofXLOOKUP). - Enable the Analysis ToolPak add-in (for functions like
NETWORKDAYS,WORKDAY,EDATE,EOMONTH). On Windows: File > Options > Add-ins. In the Manage drop-down, select Excel Add-ins and click Go. Check Analysis ToolPak and click OK. On Mac: Excel > Preferences > Add-ins, then check Analysis ToolPak. After enabling, the functions should work. - Check for missing references or broken links. If your workbook uses a function from another workbook that is not open, Excel may not recognise it. Open the source workbook or use Edit Links to update the reference.
- Confirm the function is not part of a custom add-in or macro. User-defined functions (UDFs) from an add-in (e.g., a .xlam file) require that add-in to be enabled. Go to File > Options > Add-ins, select Excel Add-ins, click Go, and ensure the relevant add-in is checked. If the add-in is not listed, browse to its location and add it.
- Check your Excel language settings. Function names are localised. If your Excel is set to a non-English language, English function names may not be recognised. Either use the localised name or change the language under File > Options > Language (Windows) or Excel > Preferences > Language (Mac).
- Update Excel. If you are on Microsoft 365, ensure you have the latest updates via File > Account > Update Options > Update Now. New functions are added through updates.
- Test with a simple formula. In a blank cell, type
=SUM(1,2). If that works, the issue is specific to the function you are using. If it also fails, Excel may be in a state where functions are not calculating; press F9 to recalculate or check Calculation Options on the Formulas tab.
Common Mistakes
- Typing the function name with a space or hyphen. Excel functions use underscores (e.g.,
NETWORKDAYS), not spaces. - Assuming all functions are available in all versions. Dynamic array functions like
FILTERandXLOOKUPare not in older perpetual versions. - Forgetting to enable the Analysis ToolPak. Many date and engineering functions require it.
- Using English function names in a localised Excel. For example,
SUMMEin German Excel instead ofSUM. - Not opening the workbook that contains a referenced custom function. UDFs only work when their source workbook or add-in is loaded.
Tips
- Use Excel's Formula AutoComplete: type
=and the first few letters; a drop-down list shows valid functions. If your function does not appear, it may not be available. - Press
Ctrl+Shift+Aafter typing a function name and opening parenthesis to see the argument names. - For compatibility, save workbooks that use newer functions as .xlsx and avoid sharing with users on older Excel versions.
- Use the
FORMULATEXTfunction to inspect the exact formula in a cell if you are troubleshooting a complex sheet.
Troubleshooting
If the error persists after the steps above, try these checks in order:
- Restart Excel and reopen the workbook. A glitch can cause functions to be unrecognised.
- Check for pending updates. Install any available Office updates.
- Repair Office. On Windows: Settings > Apps > Microsoft 365 > Modify > Quick Repair. On Mac: run the Microsoft AutoUpdate tool and choose Repair.
- Test in a new blank workbook. If the function works there, the issue is with the original file (e.g., corruption or add-in conflict).
- Disable add-ins temporarily. Go to File > Options > Add-ins, clear all checkboxes, restart Excel, and test. Re-enable one at a time to identify the culprit.
- Check regional settings. In some locales, the list separator is a semicolon instead of a comma; using the wrong separator can cause a function to be misparsed. Adjust via Windows Settings > Time & Language > Region.
If none of these work, the function may simply not be supported in your Excel edition; consult Microsoft's official documentation for alternatives.
Frequently Asked Questions
Why does Excel say "cannot find function" for XLOOKUP?
XLOOKUP is only available in Microsoft 365 and Excel 2021 or later. If you are on an older version, use INDEX/MATCH instead.
How do I enable the Analysis ToolPak?
Go to File > Options > Add-ins, select Excel Add-ins in the Manage drop-down, click Go, and check Analysis ToolPak.
Can I use English function names in a non-English Excel?
No, Excel uses localised function names. Either switch the display language or use the localised name.
What if my custom function from an add-in is not recognised?
Ensure the add-in is enabled under File > Options > Add-ins. If it is not listed, browse to the add-in file and add it.
Does repairing Office remove my data?
No, repairing Office only fixes program files; your workbooks and settings are preserved. However, back up important files before any repair as a precaution.
Why does a function work in one workbook but not another?
The workbook may have a broken link to an add-in or a missing reference. Check Edit Links and add-in settings for that specific file.