How to Convert Text to Numbers in Excel (5 Easy Ways)
Numbers saved as text look fine but cannot be added, sorted or charted correctly. A SUM may show 0 even though the column is full of figures. Here is how to spot the problem and fix it.
How to tell
- The numbers sit on the left side of the cell instead of the right.
- A small green triangle shows in the corner of the cell.
- SUM or AVERAGE gives 0, or ignores some cells.
Way 1: The green triangle
Select the cells, click the yellow warning icon that appears and choose Convert to Number.
Way 2: Text to Columns
Select the column, go to Data → Text to Columns and click Finish. Excel re-reads every cell as a number.
Way 3: Paste Special
Type 1 in an empty cell and copy it. Select your text numbers, choose Paste Special and pick Multiply. Each value is multiplied by 1, which makes it a real number.
Way 4: The VALUE function
In a spare column type =VALUE(A2) and fill it down. Copy the results and paste them back as values.
Way 5: Fix the whole file at once
Upload your file to DataGenius BI and keep Turn numbers saved as text into real numbers ticked in the Cleaning Center. It understands values like $1,200, 5% and (300), and fixes every column in one click.
Watch out for
- Leading zeros. ZIP codes and phone numbers such as 02134 must stay text. DataGenius BI skips columns named ID, ZIP, phone and similar.
- Commas and decimal points. Some countries write 1.234,56 instead of 1,234.56. Check a few results.
- Hidden spaces. Copied data can hold invisible characters. Remove them first with the hidden characters option.
Common questions
Why does my SUM show 0?
The cells hold text that looks like numbers, so SUM skips them. Convert them to real numbers first.
Will converting remove leading zeros?
Yes, because a number cannot start with a zero. Keep ZIP codes, phone numbers and IDs as text. DataGenius BI skips columns named ID, ZIP or phone for this reason.
How do I fix numbers that use a comma as the decimal point?
Excel follows your computer’s regional settings, so 12,50 may be read as text on a US setup. Replace the comma with a period, or change the decimal separator in your settings.
Related guides
Check its quality score and clean it in your browser. Free, no signup, and your file is never uploaded.
Try DataGenius BI