Your formula is probably set to show as text instead of running
When a formula displays as text — like =SUM(A1:A10) appearing in the cell instead of the result — Excel is treating it as plain text rather than an instruction. This happens most often when you type an apostrophe before the equals sign, or when the cell is already formatted as text before you enter the formula.
To fix this, select the cell, delete the apostrophe if one is there, press Enter, and the formula should calculate. If that does not work, right-click the cell, choose Format Cells, click the Numbers tab, and change the format from Text to General or Number. Then re-enter the formula and press Enter.
Key Takeaways
- A formula showing as text instead of a result usually means the cell is formatted as text or the formula starts with an apostrophe.
- Changing the cell format to General or Number and re-entering the formula fixes most calculation problems.
- Circular references — when a formula refers to its own cell — prevent calculation and show an error or warning.
- Automatic calculation may be turned off in your workbook settings, so check the Formulas tab in the ribbon.
- Spaces or typos in cell references, function names, or range names stop formulas from working.
The cell format is set to Text
Excel will not calculate a formula if the cell containing it is formatted as Text. This is the most common cause. You can tell because the formula appears in the cell exactly as you typed it, and the result never shows.
Select the cell or range with the problem. Right-click and choose Format Cells. On the Numbers tab, select General from the Category list on the left. Click OK. Now go back to the cell, press F2 to edit it, and press Enter. The formula should now calculate.
If you have many cells with this problem, select them all at once, change the format to General, then press Ctrl+Shift+F9 to recalculate the entire sheet.
Automatic calculation is turned off
Excel has a setting that lets you turn off automatic calculation. When this is off, formulas do not update unless you manually force them to. You will see formulas that should have results, but the cells stay blank or show old values.
To turn automatic calculation back on, go to the Formulas tab in the ribbon. Look for Calculation Options on the right side. Click it and select Automatic. If you see Manual or Automatic Except for Data Tables selected, that is why your formulas are not updating.
Once you switch to Automatic, press Ctrl+Shift+F9 to recalculate everything in the sheet right away.
Your formula has a circular reference
A circular reference happens when a formula refers to its own cell. For example, if cell A1 contains =A1+5, that is circular — the cell is trying to use its own value to calculate itself. Excel will either show an error, display zero, or show a warning dialog when you enter it.
To find the problem, go to the Formulas tab and click Error Checking. Choose Circular References from the dropdown. Excel will highlight the cells involved. Open each one and change the formula to refer to a different cell instead.
Circular references are sometimes intentional in advanced spreadsheets, but they require manual calculation mode to work. If you did not mean to create one, fix the formula reference.
There is a typo or space in the formula
A single space, misspelled function name, or wrong cell reference stops a formula from working. Common mistakes include typing SUM as SUME, using a space in a range like A1 : A10 instead of A1:A10, or referencing a named range with a typo.
Click the cell with the formula and look at the formula bar at the top. Check that function names are spelled correctly, that there are no extra spaces around operators or colons, and that all cell references match the cells you intended. If you used a named range, verify the name is spelled exactly as it was defined.
Press F2 to edit the cell directly, fix the typo, and press Enter. The formula should calculate once the syntax is correct.
The formula references cells that are empty or contain text
Some formulas fail silently when they reference cells that do not contain numbers. For example, =A1+B1 will show zero or an error if A1 or B1 contains text or is blank, depending on your Excel version and the function used.
Check the cells your formula references. If they are empty, the formula may calculate but show zero or a misleading result. If they contain text, functions like SUM will ignore them, but functions like CONCATENATE will work. Make sure the cells you are referencing actually hold the data type your formula expects.
If you want the formula to handle empty or text cells differently, use an IF statement to test the cell first. For example, =IF(ISBLANK(A1),0,A1+B1) returns zero if A1 is empty, otherwise adds A1 and B1.
The formula is too long or uses an unsupported function
Excel formulas have a character limit of 8,192 characters per cell. If your formula is extremely long, it may not calculate. Also, some functions are not available in all versions of Excel, or they have different names in different regions.
If your formula is very long, break it into smaller formulas across multiple cells. For example, instead of one giant formula in A10, put a formula in A1, another in A2, and so on, then reference those results in A10.
If you are using a function that does not exist in your version, check the Excel documentation or try a different function that does the same thing. Functions like XLOOKUP are newer and not available in older versions of Excel.
Frequently Asked Questions
Why does my formula show the formula itself instead of the answer?
The cell is formatted as Text. Right-click the cell, choose Format Cells, select General from the Numbers tab, and click OK. Then press F2 and Enter to recalculate. You can also delete and retype the formula after changing the format.
How do I turn automatic calculation back on?
Click the Formulas tab in the ribbon, find Calculation Options on the right, and select Automatic. Then press Ctrl+Shift+F9 to recalculate all formulas in the sheet immediately.
What does a circular reference error mean?
A circular reference means a formula refers to its own cell, creating an impossible loop. Go to the Formulas tab, click Error Checking, choose Circular References, and Excel will show you which cells are involved. Change the formula to reference a different cell instead.
Can I fix multiple cells with text formatting at once?
Yes. Select all the cells with the problem, right-click, choose Format Cells, change the format to General, and click OK. Then select all those cells again and press Ctrl+Shift+F9 to recalculate them all at once.
Why does my formula show zero when it should show a number?
The cells your formula references may be empty or contain text instead of numbers. Click the cells in your formula one by one and check what they actually contain. If they are empty, your formula may be working correctly but showing zero as the result.