Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Excel Functions Not Working? Fix Formula Errors Fast

· 7 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

If formulas in an Excel worksheet stop calculating, the cause is almost always one of four things: the workbook is set to manual calculation, the formulas are stored as text, a cell is formatted as Text when it should be General, or the formula contains a syntax problem such as a missing parenthesis or a stray space. The fastest fix is to check the Calculation Options setting first (Formulas tab > Calculation Options > Automatic on desktop Excel) and then force a recalculation with Ctrl+Alt+F9 (Windows) or Cmd+= (Mac Excel). Once Excel is on Automatic and the sheet still shows the formula text instead of an answer, you are dealing with a text-versus-number or formatting problem, which the steps below walk through.

This guide is written for Excel for Windows and Excel for Mac on desktop. Labels can differ slightly by version, device and region, so if a tab name in your ribbon does not match exactly, look for the closest equivalent. Excel for the web and the mobile apps have fewer options than the desktop versions, and a few of the checks below only exist on desktop.

What You'll Need

  • Microsoft Excel installed on a desktop computer (Windows or Mac), ideally signed in so formulas that rely on linked data behave normally
  • The workbook containing the failing formulas, saved to a local folder or OneDrive
  • A backup copy before you change formatting across many cells at once
  • Basic awareness of what the formula was supposed to return, so you can tell whether the result is wrong or simply not recalculating

Step-by-Step

Confirm what "not working" means

  1. Click a cell with a formula and look at the formula bar. If the formula bar shows the formula but the cell shows the same text, Excel is treating it as text. If the cell shows a result that is wrong or stale, the formula is calculating but the logic or the inputs are off.
  2. Look for an error value such as #VALUE!, #NAME?, #REF!, #DIV/0! or #N/A. Each points to a specific kind of problem, and the small warning triangle next to the cell offers a plain-language explanation when you hover over it.
  3. Check whether the whole worksheet is affected or only some cells. One cell failing is a formula problem; every cell failing usually means calculation or formatting settings.

Set calculation to Automatic

  1. Open the Formulas tab on the ribbon.
  2. Click Calculation Options.
  3. Choose Automatic. On Mac Excel, the equivalent is in the Formulas menu or under Excel > Preferences > Calculation.
  4. Press Ctrl+Alt+F9 on Windows to force a full rebuild of every formula in every open workbook. On Mac, use Cmd+= or the Calculate Now command.
  5. Save the file and reopen it to make sure the setting stuck. A workbook saved in manual mode reopens in manual mode.

Turn stored-as-text formulas back into real formulas

  1. Select the affected cells.
  2. Open the Home tab and set the number format dropdown to General.
  3. With the cells still selected, open Data > Text to Columns, click Finish without changing anything on the first two screens, and confirm. This re-parses each cell and converts text that looks like a formula into an actual formula.
  4. If Text to Columns is not appropriate because the cells contain text you need to keep, double-click the cell, delete the leading apostrophe or space before the equals sign, and press Enter.
  5. Alternative: use Find and Replace (Ctrl+H) to replace a leading apostrophe with nothing across the selected range.

Check for numbers stored as text

  1. Select the column of numbers you are using in the formula. Excel shows a warning triangle if values are stored as text.
  2. Click the warning icon and choose Convert to Number.
  3. Re-check the formula. Functions such as SUM ignore text values silently, while others such as arithmetic with a plus sign return #VALUE!.
  4. If a formula still misbehaves, wrap the reference in VALUE() to force conversion, for example =VALUE(A2).

Check separators, naming and paired characters

  1. Confirm your function uses the separator your regional settings expect. Many locales use a semicolon instead of a comma, so =SUM(A1;B1) works where =SUM(A1,B1) returns an error.
  2. Check for a misspelled function name, which produces #NAME?. Start typing the function and accept the suggestion from the autocomplete list rather than typing it fully by hand.
  3. Count opening and closing parentheses. Select the formula in the formula bar and Excel highlights the matching pair.
  4. Verify that ranges do not include blank header cells or text rows that break aggregation functions.
  5. For IF formulas, make sure text results are in double quotes and numbers are not.

Repair links, references and the file itself

  1. If you see #REF!, a referenced cell or sheet was deleted. Use Formulas > Show Formulas and trace the broken reference, then rebuild it.
  2. If a formula refers to another workbook, open that workbook. Closed external links can return stale values or #VALUE!.
  3. If only one workbook misbehaves, go to File > Open > Browse, select the file, and choose Open and Repair. Save a copy first because repairs can drop formatting or data.
  4. Test the same formula in a brand-new blank workbook. If it works there, the problem lives in the original file or its settings.

Common Mistakes

  • Retpying the formula instead of fixing the format, then pasting it back into a cell that is still formatted as Text.
  • Leaving a workbook in Manual calculation to speed up a large file and forgetting to switch it back.
  • Using a comma as a separator on a system that expects a semicolon, which makes a perfectly correct formula fail.
  • Assuming SUM is broken when the values are actually text and simply skipped.
  • Deleting a referenced sheet and then editing the #REF! formula by hand in the wrong place, which can create a circular reference.
  • Copying formulas without checking that relative references shifted in a way that points at empty cells.

Tips

  • Use Formulas > Show Formulas (Ctrl+`) to see every formula at once and spot text-versus-formula inconsistencies quickly.
  • Press F2 on a cell to edit in place and confirm whether the leading character is an equals sign or an apostrophe.
  • Keep the status bar visible. When you select a range, it shows the count and sum of numeric cells, which immediately reveals whether numbers are being read as text.
  • Wrap risky formulas in IFERROR to display a readable message instead of an error code.
  • Name your input ranges so formulas read clearly and survive row insertions.
  • If a sheet is very large and slow, work in Manual mode while editing, then switch back to Automatic before you share the file.

Troubleshooting

  • Formulas show as text after every paste: paste using Paste Special > Values only where appropriate, or pre-format the destination column as General before pasting.
  • Only some rows fail: hidden characters or trailing spaces in text references. Use TRIM() on the source values and re-test.
  • Result is zero when it should not be: the range contains text or the criteria in a SUMIF or COUNTIF do not match exactly, including case and spacing where relevant.
  • Formula worked yesterday, not today: check Calculation Options again and confirm no one changed the number format of the input cells.
  • Warning about circular references: a formula refers back to its own cell, directly or through a chain. Rebuild the reference to point at the correct input cell.
  • Nothing at all fixes it: copy the values into a fresh workbook, rebuild the formulas there, and compare. If the new file works, discard the corrupted original.

Frequently Asked Questions

Why does Excel show the formula instead of the result?

Either the cell is formatted as Text or the formula was entered with a leading apostrophe or space. Set the format to General and re-enter or re-parse the formula.

Why does SUM return 0 when I can see numbers?

The values are stored as text. Convert them to numbers using the warning icon or Text to Columns, then recalculate.

Do these steps work in Excel for the web?

Most do, but the Calculation Options and Open and Repair commands are desktop features. Use the desktop app for those checks.

What does #NAME? mean?

Excel does not recognise a function name, a named range or a reference in the formula. Check spelling and confirm the name exists.

Can I stop a formula from breaking when I add rows?

Yes. Use an Excel Table (Insert > Table) or a whole-column reference so the range expands with your data.

Will recalculating change my saved values?

It recalculates them from the current inputs. Save a backup first if the earlier results matter.