If your Excel formula isn't working, the most common causes are that the cell is formatted as Text, the formula is missing an equals sign, or calculation is set to Manual. Fix those first: select the cell, check the formula bar for a leading =, set the cell format to General, and go to Formulas > Calculation Options > Automatic. Then re-enter the formula. The steps below walk through each fix in order, from the simplest checks to the ones that require changing Excel settings.
What You'll Need
- Excel for Windows, Mac, or Excel for the web (menus can differ slightly by version, device, or region)
- The workbook containing the formula that isn't working
- Basic familiarity with the formula bar and ribbon tabs
Step-by-Step
- Check for a leading equals sign. Click the cell and look at the formula bar. A working formula starts with =. If you see text like SUM(A1:A5) without the =, Excel treats it as plain text. Type = at the start and press Enter.
- Confirm the cell isn't formatted as Text. Right-click the cell, choose Format Cells, and on the Number tab select General. If the cell was Text, Excel may have stored the formula as text; after changing the format, re-enter the formula (press F2, then Enter) so Excel recalculates it.
- Set calculation to Automatic. Go to Formulas > Calculation Options and choose Automatic. If Manual is selected, formulas won't update when inputs change. You can also press F9 to force a recalculation.
- Look for error values. #VALUE!, #REF!, #NAME?, #DIV/0!, and #N/A each point to a specific problem. Click the cell and read the tooltip or use Formulas > Error Checking to see what Excel suggests. #NAME? usually means a function name is misspelled or a named range doesn't exist.
- Verify cell references and ranges. A #REF! error means a referenced cell was deleted or moved. Check that ranges like A1:A10 still contain the data you expect and that sheet names with spaces are wrapped in single quotes, e.g., ='Sheet 1'!A1.
- Match parentheses and separators. Excel highlights matching parentheses as you type. In some regions, the list separator is a semicolon instead of a comma; if your formula uses commas and Excel expects semicolons, it will fail. Check File > Options > Advanced (Windows) or Excel > Preferences (Mac) for the list separator setting.
- Ensure numbers aren't stored as text. If SUM returns 0 or ignores cells, the values may be text. Select the range, use Data > Text to Columns and click Finish, or multiply by 1 in a helper cell and copy back. Left-aligned numbers are a common sign of text formatting.
- Check for hidden spaces or non-printing characters. Use =TRIM(A1) to remove extra spaces. For non-breaking spaces, =CLEAN(TRIM(A1)) helps. This matters most with VLOOKUP and MATCH, which require exact matches.
- Confirm the formula isn't inside a merged cell or array without proper entry. Merged cells can hide formulas. For array formulas in older Excel versions, press Ctrl+Shift+Enter instead of Enter; in Microsoft 365, dynamic arrays handle this automatically.
- Test in a clean cell. Copy the formula to an empty cell and simplify it piece by piece. If a short version works, add back one component at a time to isolate the failing part.
Common Mistakes
- Typing a formula without the leading =, so Excel stores it as text.
- Leaving calculation on Manual after opening a workbook from someone else.
- Using a comma as a separator in a region that expects a semicolon.
- Referencing a cell that was deleted, causing #REF!.
- Assuming VLOOKUP is case-sensitive or handles text/number mismatches automatically—it doesn't.
- Forgetting that sheet names containing spaces need single quotes in references.
Tips
- Press Ctrl+` (grave accent) to toggle showing formulas instead of results—useful for spotting text-stored formulas.
- Use Formulas > Evaluate Formula to step through a calculation and see where it breaks.
- Keep data in a clean table (Insert > Table) so ranges expand automatically and references stay valid.
- When sharing workbooks, check Calculation Options on the receiving machine; it's saved per workbook in some cases.
- Use IFERROR to handle expected errors gracefully, but fix the root cause first.
Troubleshooting
If the formula still doesn't work after the steps above, try these in order:
- Re-enter the formula from scratch. Delete the cell contents and type the formula again; this clears hidden characters.
- Check for circular references. Excel warns about these; go to Formulas > Error Checking > Circular References to locate and fix them.
- Open in Excel for the web. If it works there but not on desktop, the issue is likely a desktop setting or add-in. Disable add-ins via File > Options > Add-ins.
- Repair the workbook. Use File > Open > Browse, select the file, click the arrow next to Open, and choose Open and Repair. This can fix corruption that breaks formulas.
- Start Excel in safe mode. Press Ctrl while launching Excel (Windows) to bypass add-ins and test. If formulas work in safe mode, an add-in is the culprit.
- Check regional settings. Windows region settings can change decimal and list separators; align them with your formula style or adjust formulas accordingly.
If none of these resolve it, the workbook may be corrupted or the formula may rely on a function not available in your Excel version. Test the same formula in a new blank workbook to isolate whether the problem is file-specific.
Frequently Asked Questions
Why does my formula show as text instead of calculating?
The cell is likely formatted as Text or the formula is missing the leading =. Set the format to General and re-enter the formula.
Why does Excel show the formula itself instead of the result?
Show Formulas mode may be on. Press Ctrl+` to toggle it off, or go to Formulas > Show Formulas.
Why does my formula return 0 when the numbers are there?
The numbers are probably stored as text. Use Text to Columns or multiply by 1 to convert them to real numbers.
Why do I get #NAME? errors?
A function name is misspelled or a named range doesn't exist. Check spelling and use Formulas > Name Manager to verify names.
Why doesn't my formula update when I change a cell?
Calculation is set to Manual. Go to Formulas > Calculation Options > Automatic.
Can I fix a formula without retyping it?
Yes, often. Use Find & Replace to correct common issues, or edit in the formula bar. For text-stored formulas, changing format and pressing F2 then Enter recalculates without full retyping.