Problem: When entering a formula, Excel shows me the formula in the cell instead of the result.
- Excel displays the formula.
Strategy: There are three possible problems in this case.
Possibility 1: You may have forgotten to start the formula with an equals sign.
- You forgot to start the formula with an equals sign.
Follow these steps to correct the formula:
- Select the cell and press F2 to edit the cell.
- Press the Home key to go to the beginning of the formula.
- If there see a hidden apostrophe, delete it using the Delete key.
- Type the = sign.
- Press Enter. Excel shows the result.
Possibility 2: The cell might have been assigned the numeric format @, which is the code for a text cell. The maddening part of this problem is that this format can get set even without you knowing it. A column can inherit a text format if you import a text file and use the text setting for the import. Here's how you fix this problem:
- Select the problematic cell. Look in the Number group in the Home tab of the ribbon.
- Confirm that the cell has a Text format assigned.
- Text formats will show the formula and not the results.
- Change the cell to any format other than Text.
- This does not fix the formula! Edit the cell using the F2 key and then press Enter.
Possibility 3: The third possibility, which is the least likely, is that you are in Show Formulas mode, as shown here. In this mode, all the cells that have formulas show their formulas.
- See all formulas.
To fix this problem, you press Ctrl+` to toggle in and out of Show Formulas mode. (On U.S. keyboards, this character is below the Esc key, on the same key as the tilde.)
When a cell shows a formula rather than a result, there are three possible reasons: (1) You forgot to start the formula with an equals (=) sign, (2) the cell is not formatted for numeric data, or (3) the worksheet is in Show Formula mode.