When you try to format a cell as a number in Microsoft Excel, the cell remains formatted as text.
This issue occurs when the following conditions are true:
- In the Format Cells dialog box, you format a cell as text.
- You then type a number into that cell.
- In the Format Cells dialog box, you then format the cell as a number.
To convert cells that are formatted as text to numbers, follow these steps:
- Select the cell that is formatted as text that you want to convert to a number.
Notice that the Error Checking Options button appears if you select the cell or rest the mouse pointer over the cell. The cell should contain an Error Indicator in the upper left corner of the cell.
NOTE: If the Error Checking Options button does not appear or you do not see an Error Indicator, turn on background error checking.
To do this in Microsoft Excel 2002 or in Microsoft Office Excel 2003, follow these steps:
- On the Tools menu, click Options.
- In the Options dialog box, click the Error Checking tab.
- In the Settings section, click to select the Enable background error checking check box.
- In the Rules section, make sure the Number stored as text rule is selected, and then click OK.
- Click the Microsoft Office Button, and then click Excel Options.
- On the Formulas tab, click to select the Enable background error checking check box in the Error Checking section.
- Under Error checking rules, make sure that the Numbers formatted as text or preceded by an apostrphe check box is selected, and then click OK.
- On the Error Checking Options button, click the down arrow.
Notice that the Number Stored as Text menu appears.
- Click Convert to Number.