Excel Functions Not Working? Fix Formulas Fast
In this article
If your Excel functions are not working, the fastest fix is to check whether the formula is actually being treated as a formula. Select the cell, look at the formula bar, and confirm the entry starts with an equals sign (=). If it does, press Enter and see whether the result appears. If the cell still shows the formula as text, the cell is likely formatted as Text or the formula is preceded by an apostrophe or a space. Removing that and re-entering the formula usually solves it. Beyond that, the most common causes are automatic calculation being turned off, the workbook being in Manual mode, a missing or broken reference, or a function name that Excel does not recognise because it belongs to a different version or requires an add-in. This guide walks through the checks in order, from simplest to most involved, so you can get your formulas calculating again without guesswork.
What You'll Need
- Your Excel workbook open on desktop (Windows or Mac) or in Excel for the web
- Access to the Formulas tab on the ribbon
- Basic familiarity with the formula bar and cell references
Step-by-Step
- Confirm the formula starts with an equals sign. Click the cell and look at the formula bar. If the text begins with an apostrophe ('), a space, or no equals sign, Excel treats it as plain text. Delete the leading character and type = at the start. Press Enter. The cell should now calculate.
- Check the cell format. If the cell was formatted as Text before you typed the formula, Excel may keep displaying the formula as text even after you add the equals sign. Select the cell, go to the Home tab, open the Number Format dropdown, and choose General. Then re-enter the formula by typing it fresh or pressing F2 and Enter.
- Turn on automatic calculation. Go to the Formulas tab and click Calculation Options. Make sure Automatic is selected. If Manual is chosen, formulas will not recalculate when inputs change. After switching to Automatic, press F9 (Windows) or Command+= (Mac) to force a full recalculation.
- Look for error values in the cell. If the cell shows #NAME?, #VALUE!, #REF!, #DIV/0!, or #N/A, the formula is running but hitting a problem. Click the cell and check the formula for misspelled function names, references to deleted cells, or text where a number is expected. Excel usually offers a tooltip explaining the error.
- Verify the function exists in your Excel version. Some functions, such as XLOOKUP or certain dynamic array functions, are not available in older versions of Excel. If you are using Excel 2016 or earlier, check the function list or try an alternative like VLOOKUP or INDEX/MATCH. In Excel for the web, most modern functions are supported, but a few advanced ones may not be.
- Check for missing add-ins. Functions like those in the Analysis ToolPak (e.g., some statistical or engineering functions) require the add-in to be enabled. Go to File > Options > Add-ins. At the bottom, ensure Excel Add-ins is selected in the Manage dropdown and click Go. Tick Analysis ToolPak and click OK. On Mac, go to Tools > Excel Add-ins.
- Inspect for circular references. A circular reference occurs when a formula refers to its own cell, directly or indirectly. Excel may display a warning or return 0. Go to Formulas > Error Checking > Circular References to see if any are listed. Fix the formula so it does not refer back to itself.
- Check for hidden or filtered rows. If your formula uses a range that includes hidden rows, some functions (like SUBTOTAL) behave differently. Also, if you are using structured references in a table, ensure the table name and column names are correct. A broken reference often shows as #REF!.
- Recalculate the workbook. Press Ctrl+Alt+F9 (Windows) to force a complete recalculation of all formulas, including those in other sheets. On Mac, use Command+=. This can resolve stuck calculations after a large edit or when Excel seems unresponsive.
- Repair the workbook. If formulas still fail, the file may be corrupted. Go to File > Open, browse to the file, click the arrow next to Open, and choose Open and Repair. This attempts to recover the file. Save a backup first, as repair can sometimes alter data.
Common Mistakes
- Typing a formula without the leading equals sign, then wondering why it shows as text.
- Leaving a cell formatted as Text and expecting formulas to calculate after editing.
- Using a function name that is misspelled or not available in your Excel version (e.g., XLOOKUP in Excel 2016).
- Forgetting to enable the Analysis ToolPak for certain statistical functions.
- Assuming a formula is broken when the cell simply shows a cached value that has not recalculated because calculation is set to Manual.
- Deleting a referenced cell or sheet without updating the formula, causing #REF! errors.
Tips
- Use the Evaluate Formula tool (Formulas > Evaluate Formula) to step through a complex formula and see where it fails.
- Press Ctrl+` (grave accent) to toggle between showing formulas and showing values in the worksheet. This helps spot text-formatted formulas quickly.
- When sharing workbooks, check that calculation is set to Automatic; otherwise recipients may see stale values.
- Use the Insert Function dialog (fx button) to browse and insert functions correctly, which reduces typos.
- Keep a backup before running Open and Repair, as it can sometimes remove formatting or data.
Troubleshooting
If the steps above do not resolve the issue, try these additional checks. First, test a simple formula like =1+1 in a new cell. If that works, the problem is specific to your formula or data. If even =1+1 fails, the issue is likely application-wide: restart Excel, then restart your computer. Check for Excel updates via File > Account > Update Options > Update Now (Windows) or Help > Check for Updates (Mac). If you are in Excel for the web, try a different browser or clear the browser cache. If the problem persists across multiple workbooks, consider reinstalling Office. For network-stored files, copy the file to your local drive and test; network latency or permissions can sometimes cause calculation issues. If a specific function is not recognised, consult the official Microsoft documentation for that function to confirm version support. Finally, if you suspect file corruption, use Open and Repair as described, and if that fails, try opening the file in Excel for the web, which sometimes handles corruption differently.
Frequently Asked Questions
Why does my formula show as text instead of calculating?
The cell is likely formatted as Text, or the formula is preceded by an apostrophe or space. Remove the leading character, set the cell format to General, and re-enter the formula.
How do I turn automatic calculation back on?
Go to Formulas > Calculation Options and select Automatic. Then press F9 (Windows) or Command+= (Mac) to recalculate.
Why do I get #NAME? errors?
#NAME? means Excel does not recognise a function name or defined name. Check for typos, ensure the function is available in your version, and verify that any named ranges exist.
Can I use XLOOKUP in Excel 2016?
No, XLOOKUP is not available in Excel 2016 or earlier. Use VLOOKUP, INDEX/MATCH, or upgrade to a newer version.
What is a circular reference and how do I fix it?
A circular reference occurs when a formula refers to its own cell. Go to Formulas > Error Checking > Circular References to locate and correct it.
Why does my formula work in one workbook but not another?
The other workbook may have calculation set to Manual, or the formula may reference cells or sheets that do not exist there. Check calculation settings and references.