Cellgrids Cellgridsby LearnWithRinkesh
Home › Excel tutorials › Convert Text to Numbers in Excel (Numbers Stored as Text)

How to Convert Text to Numbers in Excel When SUM Shows 0

By Rinkesh Shah · Business Analyst, 8 years in data · Updated 2026-10-31

▶ Video coming soon

You sum a column and Excel shows 0, or a VLOOKUP says #N/A although the value is clearly there. The reason is often that the numbers are stored as text. This is very common with data copied from a website, a PDF or an accounting system.

How to spot it

Fix 1: the green triangle

Select the cells, click the yellow warning icon that appears and choose Convert to Number. This is the fastest fix for a small range.

Fix 2: Paste Special multiply

Type 1 in any empty cell and copy it. Select the text numbers, right click, choose Paste Special, then Multiply, then OK. Excel multiplies every cell by 1 and turns it into a real number.

Fix 3: Text to Columns

Select the column, go to Data, then Text to Columns, and click Finish without changing anything. This forces Excel to re-read each cell.

Fix 4: the VALUE function

=VALUE(A2) converts one cell. If the text also has extra spaces or odd characters, clean it first:

=VALUE(TRIM(CLEAN(A2)))

Fix 5: double minus

=--A2 is a short trick that forces the number conversion.

Stop it happening again

Before typing numbers, format the column as Number or General, not Text. A column formatted as Text keeps everything as text even when you type digits.

Worked example

Numbers like "1500" are left-aligned with a green corner. Select them, click the warning icon and choose Convert to Number. With a formula, =VALUE(A2) or =A2*1. If it fails, the cell may have spaces: =VALUE(TRIM(A2)).

Common mistakes

Frequently asked questions

Why does SUM show 0?

The numbers are text. Convert them first.

What is the fastest fix for many cells?

Type 1 in a cell, copy it, select the data, Paste Special → Multiply.

Why is there an apostrophe in front?

It forces text. Convert the cell to remove it.

Practice this online, free

Reading is only half of learning Excel. Cellgrids is a free place for online Excel practice: solve Excel formula exercises in a live spreadsheet, prepare for Excel interview questions, and work through business case studies built for data analytics and business analytics roles.

Practice these formulas: VALUE, TRIM, CLEAN.

Start Excel practice → Case studies