If Excel won't run a formula, the quickest fix is to check whether the cell is formatted as Text, whether Show Formulas is turned on, and whether manual calculation is enabled. Those three settings account for most cases where a formula sits in a cell as plain text or refuses to recalculate. Work through the checks below in order; each one takes seconds and you can stop as soon as the formula starts behaving.
What You'll Need
- Excel for Windows, Excel for Mac, or Excel for the web (menu labels can differ slightly by version, platform and region)
- The workbook that contains the problem formula
- Permission to edit the workbook (a protected sheet or read-only file will block changes)
Step-by-Step
- Confirm the cell is not formatted as Text. Select the cell, open the Home tab, and look at the Number Format box. If it says Text, change it to General. Then press F2 and Enter (or double-click the cell and press Enter) so Excel re-parses the entry as a formula. A formula typed into a Text-formatted cell is stored as a literal string and never calculates.
- Check for a leading apostrophe or space. Click the cell and look in the formula bar. If the entry starts with an apostrophe (') or a space, Excel treats it as text. Delete the apostrophe or leading space and press Enter.
- Make sure Show Formulas is off. On the Formulas tab, check the Show Formulas button. If it is highlighted, click it to turn it off. In that mode Excel displays formula text instead of results, which looks like the formula is not running. The keyboard shortcut Ctrl+` (the grave accent key) toggles the same setting.
- Set calculation to Automatic. Go to Formulas > Calculation Options and choose Automatic. If Manual is selected, formulas only update when you force a recalculation with F9. This is a common cause in workbooks received from other people.
- Force a full recalculation. Press Ctrl+Alt+F9 (Windows) to recalculate every formula in every open workbook, or F9 to recalculate the active sheet. On Mac, use Cmd+= or the Calculate Now command on the Formulas tab. If results appear now, the problem was calculation mode, not the formula itself.
- Check the formula's syntax. Look for a missing closing parenthesis, a missing comma between arguments, or a function name typed incorrectly. Excel usually offers a correction or flags the error; accept the suggested fix only after reading it. Also confirm that the formula begins with = and not with a space before the equals sign.
- Verify the cell references. Click the cell and check that the ranges point where you expect. A reference to an empty cell returns 0 or a blank, which can look like a broken formula. If you see #REF!, the referenced cell or sheet was deleted; retype the reference.
- Look for circular references. If Excel shows a warning about a circular reference, the formula refers to its own cell, directly or through a chain. Go to Formulas > Error Checking > Circular References to see which cell is flagged, then rewrite the formula so it does not depend on itself.
- Unprotect the sheet or workbook if needed. If the sheet is protected, cells may be locked against editing. Go to Review > Unprotect Sheet and enter the password if you have it. Only do this on workbooks you own or are authorised to change.
- Check for merged cells and hidden rows. Formulas that reference merged cells can return unexpected results, and hidden rows may make a correct result look wrong. Unmerge cells you do not need merged, and unhide rows to confirm the data is where you think it is.
- Test in a clean cell. Type a simple formula such as =1+1 in an empty cell. If that calculates, the problem is specific to your original formula or its references. If it does not, the issue is a workbook or application setting, so continue with the troubleshooting section.
Common Mistakes
- Typing a formula into a cell that is still formatted as Text, then wondering why it shows as text. Change the format to General first, then re-enter the formula.
- Leaving a space before the equals sign. Excel reads that as text, not a formula.
- Using a comma as the argument separator when the system expects a semicolon, or the reverse. This depends on your region settings; Excel's formula tooltips show the separator it expects.
- Assuming a formula is broken when it is only displaying its text because Show Formulas is on.
- Overlooking Manual calculation mode after opening a workbook from someone else.
- Editing a protected sheet and concluding the formula is at fault when the cell simply cannot be changed.
Tips
- Use the Evaluate Formula tool on the Formulas tab to step through a formula one calculation at a time and see exactly where it goes wrong.
- Press Ctrl+` to toggle Show Formulas quickly when you want to audit a sheet, then press it again to return to normal view.
- Keep number formats as General while you build a formula, then apply currency, percentage or date formatting afterwards.
- If you paste formulas from another program, use Paste Special > Values first, then retype the formula in Excel so it is parsed correctly.
- Save a copy of the workbook before making bulk format changes, so you can compare against the original if something looks off.
Troubleshooting
If the steps above did not fix it, work from simplest to most disruptive. First close and reopen the workbook, then restart Excel entirely. Check that Office is up to date through the account or update section of the application, since formula behaviour can change between versions. If only one workbook misbehaves, open a new blank workbook and retype a small version of the formula there; if it works, the original file may be damaged, and you can try opening it with Excel's Open and Repair option from the File > Open dialog.
If every workbook fails to calculate, the problem is at the application level. Sign out of your Microsoft account and sign back in, then repair the Office installation using the official repair tool for your platform. On Excel for the web, try a different browser or clear the browser cache. As a last resort, reinstalling Office restores default settings, but note that any customisations you made will be lost; back up your workbooks first. Never download Excel or repair tools from unofficial sources.
Frequently Asked Questions
Why does my formula show as text instead of a result?
The cell is almost certainly formatted as Text, or the entry begins with an apostrophe or space. Change the format to General, remove any leading character, and re-enter the formula.
Why does Excel show the formula itself in the cell?
Show Formulas is turned on. Turn it off from the Formulas tab or press Ctrl+` to toggle it back.
Why does my formula not update when I change a number?
Calculation is set to Manual. Switch it to Automatic under Formulas > Calculation Options, or press F9 to recalculate.
What does #REF! mean in a formula?
The formula refers to a cell, range or sheet that no longer exists. Retype the reference to point at a valid location.
Can a protected sheet stop a formula from working?
Yes. If the cell is locked, you cannot edit or re-enter the formula until the sheet is unprotected. Only unprotect workbooks you own or are authorised to change.
Does Excel for the web behave the same way?
The core checks are the same, but menu locations and some calculation options differ. If a feature is not available in the web version, open the workbook in the desktop app to change it.