Guide
Numbers stored as text in Excel: how to convert them
How to tell a number is really text, what it breaks, and the conversion methods Microsoft lists.
Short answer
Numbers stored as text can cause unexpected results, Microsoft says, such as a formula that shows instead of a result. Excel usually shows an alert next to the cell. To convert, select the cells and choose Convert to Number from the error indicator, or use the VALUE function in a new column and paste the results back as values.
How to tell
Microsoft says: "Numbers that are stored as text can cause unexpected results, like an uncalculated formula showing instead of a result." It adds that "most of the time, Excel will recognize this, and you'll see an alert next to the cell." After conversion the values are left aligned and the green triangle warning is gone.
If the alert is missing, Microsoft's page says to turn on File > Options > Formulas > Error Checking > "Enable background error checking".
The methods
- Error indicator (Windows). Select the cells, use the error indicator at the top left of the selection or press Alt+Shift+F10, and choose Convert to Number.
- VALUE function. Insert a new column, enter =VALUE() pointing at the first text cell and fill down. Copy the results, then use Paste Special > Values (Ctrl+Shift+V) to put them back.
- Excel for the web. Microsoft gives the same VALUE approach, with the same Paste Special > Values step.
Why it matters for totals
Microsoft's PivotTable page says fields in the Values area are displayed as a SUM by default, and "if Excel interprets your data as text, the data is displayed as a COUNT." A column of numbers stored as text can therefore show counts where totals were expected. It also says the data types in a column should be the same. See the pivot table guide.
Preventing it on import
The CSV import guide shows how to choose each column's data type before loading, which avoids the conversion step.
Common questions
- Why is my sum wrong?
- Microsoft says numbers stored as text can cause unexpected results, so converting them is the first thing to check.
- What does the green triangle mean?
- It is the error indicator Excel shows when it recognises numbers stored as text, per the Microsoft page.
- Does converting change the value?
- The VALUE function returns the numeric value of the text, according to Microsoft. Checking a few cells against the source after converting is a sensible habit.
- Where did the text come from?
- The Microsoft page does not name a cause. A CSV import can produce it, and the import guide shows how to choose each column's type up front.
What Statementizer does with this
Statementizer reads supported broker statement PDFs into rows you can review, and exports them to Excel or CSV. The Excel export is a workbook with a Trades sheet whose columns are Date, Symbol, Side, Quantity, Price, Gross, Fees, Net, Currency, Confidence and Review Status.
See what Statementizer convertsRelated guides
Sources
The conversion methods and the quoted warnings are from Microsoft's "Convert numbers stored as text to numbers" page, and the Sum and Count behaviour from its PivotTable page. Both were read on 2026-11-12 and show no updated date.
Verified on 2026-11-12 by the Statementizer Team.