
A price imported as text can look like the number beside it, yet SUM skips it when adding a range. Start by checking one cell that the total missed.
Why numbers become text in Excel
Numbers get saved as text for several common reasons:
- Data imported from other systems (databases, web reports, etc.) that export everything as text by default.
- Numbers intentionally saved as text using an apostrophe (‘) before them.
- Mismatched decimal separators when copying data. Some systems use periods, others commas. If it doesn’t match Excel’s settings, decimals become text.
- Hidden characters like extra spaces, tabs, or line breaks before or after numbers. These are invisible to you but tell Excel “this is text!”
- Thousands separators using non-standard spaces (common in data exports).
- Using the “import data” feature and accidentally setting columns to text format.
How to Save Numbers as Text (On Purpose)
The quickest way? Type an apostrophe before your number. This forces Excel to treat it as text.
But what if you have hundreds of cells? Check how to add characters to multiple cells in Excel at once.
How to Spot Text Disguised as Numbers
Excel’s Built-in Warning System
Microsoft added visual clues for this exact problem. Look for a small green triangle in the corner of cells. Select the cell, and a warning appears:
Hover over the warning icon, and Excel explains: “The number in this cell is formatted as text or preceded by an apostrophe.”
Excel usually offers to convert these to numbers with one click:
Click the icon and choose Convert to Number. The same menu has Help on this Error, Ignore Error, Edit in Formula Bar and Error Checking Options.
But this doesn’t always work. When Excel misses the problem, try these methods.
The Alignment Test
Here’s the easiest visual clue: text aligns left by default, numbers align right. Don’t change the default alignment – it’s your quickest way to spot impostor numbers!

Data Validation for Prevention
If you create files that others fill out, use Data Validation to lock cells to numbers only. Here’s how:
- Select the cells you want to protect
- Choose whether you need whole numbers or decimals
- Set your comparison type and value ranges
- Click OK
The settings are on the Data tab → Data Validation → Settings: in Allow, pick Whole number or Decimal.
Warning: This won’t stop someone from pasting text over your validated cells, which overwrites the rules.
How to convert text to numbers
If the price already uses the separators expected by Excel, VALUE converts it in a helper column. For a known source convention, NUMBERVALUE lets you specify the decimal and grouping separators. Both methods work in Excel 2013.
| A | B | |
|---|---|---|
| 1 | Imported text | Number |
| 2 | 1.234,50 | 1234.5=NUMBERVALUE(A2,",",".") |
| 3 | 49,95 | 49.95=NUMBERVALUE(A3,",",".") |
Keep account numbers, phone numbers and product IDs as text when leading zeros matter.
Extra Spaces
If spaces are the culprit, you need to remove extra spaces from cells.
Wrong Thousands Separator
When system separators don't match your data:
- Use Find and Replace to swap separators (like period to comma)
- Change the separator in Excel's settings (File → Options → Advanced)
In File → Options → Advanced, clear Use system separators and set the Decimal separator and Thousands separator you need.
Other Hidden Characters
If cells contain invisible characters mixed with numbers:
- If you can see the extra characters, use Find and Replace to remove them
- For multiple hidden characters (tabs, line breaks, etc.), don't waste time deleting - instead, extract numbers from text cells
Convert text to numbers in one click with !SEMTools (free)
For an imported column with numeric text, select just the values you want to use in calculations.
That's where my Excel add-in comes to the rescue. Install !SEMTools once, and it loads every time you open Excel. The intuitive tool panel includes a magic button that converts text to numbers instantly.
This feature is completely free - no limitations, no upgrades needed. Select the cells and click CHANGE → Numbers → Numbers as text -> to numbers. Values that can’t be read as numbers, such as “N/A”, turn into “error”, so check the result with a filter.
See also:
- Change & replace tools
- Special characters in Excel
- Count cells with numbers in Excel
- LEN function
- Math functions and procedures in Excel
- Arithmetic actions and operations in Excel
Stop fighting with stubborn numbers! With !SEMTools, you can convert text to numbers instantly — and fix dozens of other data problems right inside Excel!