A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
If the formulas are correct but Excel is still not calculating correctly, check these common causes:
- Make sure the formula starts with
=. If not, Excel can treat it as text instead of calculating it. - Check whether the cell is formatted as Text. If formulas display as text or do not evaluate:
- Select the cell
- Go to Home > Number Format
- Change it to General
- Press F2, then Enter
- Make sure Show Formulas is turned off:
- Go to Formulas > Show Formulas
- Check calculation mode:
- Go to Formulas > Calculation Options
- Set it to Automatic
- To force recalculation, use Calculate Now, or press F9 or Shift+F9
- Check for common formula entry issues even if the formula looks right:
- Mismatched parentheses
- Missing required arguments
- Wrong argument type
- Wrong range separator, such as using a space instead of
: - Wrong list separator for the regional setting, such as
,instead of;
- If Excel shows an error like
#VALUE!,#REF!,#NAME?, or#DIV/0!, that points to a specific formula problem. If the cell shows#####, that usually means the column is too narrow, not that the formula is broken. Fix that with Home > Format > AutoFit Column Width. - Turn on background error checking:
- Windows: File > Options > Formulas
- Mac: Excel menu > Preferences > Error Checking
- Enable Enable background error checking
- Excel will mark problem cells with a triangle in the top-left corner
If the issue is that Excel shows the formula itself instead of the result, the most likely causes are Text cell format, Show Formulas being enabled, or calculation mode not being Automatic.
References: