When Excel formulas stop working, the cause is almost always one of six things: the cells are formatted as Text, the formula is being read as text because it starts with an apostrophe or a space, Show Formulas is switched on, the workbook is set to Manual calculation, the formula bar displays a typed-in value rather than a formula, or your version of Excel expects a different argument separator. Work through these checks in order and you will usually find the culprit in under a minute. Nothing needs to be installed first — just open the workbook and keep a failed formula visible on screen while you test.

What You'll Need

  • The workbook where the formula fails, open in Excel for Windows, Mac or the web
  • A spare empty cell to use for testing, so you don't overwrite working data
  • Access to the workbook's settings (some fixes are per-workbook, not per-app)

Step-by-Step

  1. Check whether the formula is actually being treated as a formula. Click the problem cell and look at the formula bar. If you see the formula text but the cell still displays that text, or if the cell shows a leading apostrophe, Excel is storing it as text. Delete the apostrophe and any leading space before the =. If the formula bar shows a result such as 25 instead of =A1+B1, the formula was replaced by a pasted value — retype the formula.
  2. Look for stray spaces or invisible characters. A space before the equals sign, or a non-breaking space pasted in from a website, makes Excel treat the whole entry as text. Select the cell, press F2 to edit, and check the very first character. Delete and retype the = by hand rather than copying it.
  3. Set the cell format to General, then re-enter the formula. Right-click the cell and open Format Cells, or use the number-format dropdown on the Home tab, and choose General. Changing the format alone does not recalculate an existing entry, so press F2 then Enter (or retype the formula) to force Excel to re-read it. This is the single most common fix for numbers that show as text.
  4. Turn off Show Formulas. On the Formulas tab, the Show Formulas button toggles between displaying results and displaying the formulas themselves. If every cell in the sheet shows its formula text, click that button once. The keyboard shortcut Ctrl+` (the grave accent key, left of the 1 key) does the same thing and is easy to hit by accident.
  5. Check the calculation mode. Go to Formulas > Calculation Options and confirm Automatic is selected. If Manual is ticked, formulas only update when you press F9, which looks exactly like broken formulas. Switching back to Automatic recalculates the whole workbook immediately.
  6. Verify the references point where you think they do. A formula copied from another row may point at the wrong cells if the dollar signs ($) in the references are wrong. Click the cell, then use Formulas > Trace Precedents to draw arrows from the formula to the cells it reads. If the arrows go somewhere unexpected, fix the relative or absolute reference.
  7. Look for broken references and errors. Check for #REF!, #VALUE!, #N/A, #DIV/0!, #NAME? and circular-reference warnings. Each has a specific cause: #REF! means a referenced cell or sheet was deleted, #VALUE! means a cell in a maths operation contains text, #NAME? usually means a function name is misspelled or a defined name no longer exists, and a circular-reference warning means the formula refers back to its own cell. The status bar at the bottom left names the circular cell if one exists.
  8. Test a bare minimum formula. In your spare cell, type =1+1 and press Enter. If it returns 2, formulas work and the problem is in your specific formula or its references. If it returns the text =1+1, the sheet or workbook itself is set to text entry or Show Formulas is still on — go back to steps 3 and 4.
  9. Match the argument separator to your Excel version and region. Most English installs use commas between function arguments (=SUM(A1,A2)), but some regional settings and many European installs use semicolons (=SUM(A1;A2)). If typing a comma-separated function returns an error, try the semicolon. Excel's own help pages show the separator for your version.
  10. Check for text that merely looks like numbers. Values imported from other systems often carry invisible trailing spaces or are stored as text. =ISTEXT(A1) returns TRUE if that is the case, and =TRIM(A1) or Text to Columns on the Data tab can clean it up. Numbers stored as text will also be ignored by SUM and other maths functions.
  11. Fix column widths before assuming the result is wrong. A result that shows as #### is not an error; the column is too narrow. Double-click the right edge of the column header to auto-fit.
  12. Repair the workbook if nothing else works. In Excel for Windows, File > Open > Browse, select the file, then use the arrow next to the Open button and choose Open and Repair. This can recover formulas from a slightly corrupted file. Save a copy first, because repair can remove parts it cannot read.

Common Mistakes

  • Changing a cell's format to Number and expecting the existing text entry to convert. Formatting alone never re-parses the contents; you must re-enter it.
  • Copying the = sign from a web page or document, which can bring in an invisible character that Excel rejects.
  • Assuming a formula is broken when the column is simply too narrow and shows ####.
  • Typing an apostrophe to keep a leading zero and then wondering why the cell won't add up. Use a text format deliberately, or store the number as a number.
  • Deleting a row or column that a formula refers to, producing #REF! errors you only notice later.
  • Pressing Enter on a multiline formula pasted from another source, which splits it across cells.

Tips

  • Use Formulas > Evaluate Formula to step through a long formula one calculation at a time and see exactly where it goes wrong.
  • Turn on Formulas > Error Checking to get warnings when formulas are inconsistent with their neighbours.
  • Press Ctrl+Shift+U to expand the formula bar when working on long nested formulas.
  • Name key ranges with Formulas > Define Name so references stay readable and survive row insertions.
  • Keep a scratch sheet in the workbook for testing individual pieces of a formula before combining them.

Troubleshooting

If a formula works in one workbook but not another, compare the Calculation Options and cell formats between the two files — settings are saved per workbook. If the whole sheet shows formula text, Show Formulas is almost certainly on. If formulas vanish after you save and reopen, check whether the file is being saved in an older format that doesn't understand newer functions; the status bar will show a compatibility warning. If a formula returns a value that never updates when you change its inputs, calculation is set to Manual. For errors that only appear after importing data, suspect text-formatted numbers or hidden spaces first. Menu and button labels can differ slightly between Excel versions, platforms and regions, so if a name doesn't match exactly, look for the closest equivalent on the same tab. On Excel for the web some advanced functions and calculation options behave differently from the desktop app; open the file in the desktop version to rule that out.

Frequently Asked Questions

Why does Excel show my formula as text?

The cell is formatted as Text, the entry begins with an apostrophe or space, or Show Formulas is enabled. Set the format to General, remove any leading character, and re-enter the formula.

Why won't my formula update when I change a cell?

Calculation is set to Manual. Go to Formulas > Calculation Options and choose Automatic, or press F9 to recalculate now.

What does #VALUE! mean?

One of the cells a maths operation refers to contains text instead of a number. Check the referenced cells and convert or clean them.

Why do some formulas use semicolons instead of commas?

Excel uses the list separator from your regional settings. Some regions use semicolons between function arguments — use whichever your installation expects.

Can I fix a #REF! error?

Yes, by repairing the reference manually with the correct cell or range. #REF! appears when a referenced cell, row, column or sheet has been deleted, so the damaged reference must be retyped.

Why does my formula work for one row but not the next?

Usually the relative and absolute references are wrong after copying. Check where the cell references point using Trace Precedents and adjust the dollar signs.