Text to Numbers in Excel

If you just need to text to numbers in excel and move on, the boxed answer at the top is all you need. The rest of this page is for when you want to understand why it works in Excel, adapt it to a trickier version, or make it robust enough to hand to a colleague. We keep the opening short on purpose — the depth is here when you want it, not in your way when you don’t.

Exact answer

In Excel: select the cells, click the green-triangle warning icon and choose Convert to Number — or convert by formula with =VALUE(A2), the double unary --A2, or A2*1.

Annotated stepsExcel
1

Select the affected cells — text numbers sit left-aligned and usually carry a green triangle in the corner.

2

Click the yellow warning icon next to the selection and choose Convert to Number.

3

For large ranges, select the column and run Data ▸ Text to Columns ▸ Finish — Excel re-parses every cell as a number in one pass.

4

Alternative bulk trick: type 1 in an empty cell, copy it, select the range, then Paste Special ▸ Multiply.

5

Or add a helper column with =VALUE(A2) (or --A2), fill down, and paste the results back as values.

6

Verify: values align right and SUM over the range is no longer 0.

=VALUE(A2)
Ctrl+CthenCtrl+Shift+V+Cthen+Ctrl+VPaste values · WindowsMac

Need it as an auditable file?

Ships inside the linked template — formula-driven, unlocked, audit-ready.

View template

What this does

Numbers stored as text look like numbers but Excel treats them as strings: they align left by default, SUM ignores them, and lookups against real numbers fail. Converting rewrites the stored value as a true number. Changing the cell format to Number is not enough — the format changes how a value displays, not what is stored, so existing text stays text until you re-enter or convert it. Keep the inputs visible and clearly labelled and the whole thing stays auditable — anyone who opens the file later, including you, can see at a glance exactly what feeds the result and change one assumption without hunting through the formula. The difference between a quick fix and a sheet you can trust is the extra minute you spend validating “text to numbers in excel”. Start on a copy or a tiny sample, keep the affected cells visible, and compare the result with the tool above before you touch the real workbook. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. The point is a calculation you can defend to a CFO or an auditor, but the practical win is that someone else can open the file and understand what happened without asking you.

A worked example

A2:A4 contain 10, 20 and 30 imported as text — left-aligned, each flagged with a green triangle. =SUM(A2:A4) returns 0. Select A2:A4, click the yellow warning icon, choose Convert to Number: the values jump to the right and SUM now returns 60. Formula alternative: =VALUE(A2) in B2 returns the real number 10. Text numbers arrive constantly from CSV exports, ERP systems and copied web pages; until you convert them, sums, lookups and charts fail silently instead of erroring. One habit worth forming early: name the cells that hold your inputs, so the formula reads in plain language instead of a string of cell addresses. A reviewer — or you in three months — can then follow the logic without decoding what B7 and D2 were supposed to mean, which is most of what makes a sheet maintainable.

In Google Sheets

Google Sheets handles this almost identically to Excel. The formula syntax above is the same, and the menu lives under a slightly different label rather than a ribbon tab. Use the platform toggle at the top of the page to switch every keyboard shortcut between Windows and Mac, and expect at most cosmetic differences in naming. The aim was to get you unstuck fast and leave you a little more capable than a copy-paste would. The answer is at the top, the tool proves it, and the detail above shows why it holds — so the next time a colleague asks, you can answer without reaching for search. The short version of “text to numbers in excel”: the answer is at the top of this page, the tool proves it on your own numbers, and the sections above explain why it holds so the next variation does not stump you. Excel rewards people who reference cells instead of typing values and who keep inputs separate from formulas, because that is what makes a result you can audit months later. Build it once, deliberately, with the live tool as a check, and you convert a one-off lookup into a reusable skill — which is the whole point of learning the why and not just the what.

Common mistakes

  • Formatting the cells as Number and expecting existing text to convert — the stored value does not change until you re-enter or convert it.
  • Wondering why SUM returns 0: SUM silently skips text, so a whole column of text numbers sums to nothing.
  • Importing a US-format CSV on a comma-decimal system: 1.5 arrives as text or gets misread as a date, and VALUE follows your regional decimal separator.
  • Ignoring invisible characters — non-breaking spaces and currency symbols from web copies block conversion; clean with TRIM and SUBSTITUTE first.
  • Looking for the green triangle in Google Sheets — it does not exist there; Sheets usually auto-coerces text numbers in math, and when it does not, use VALUE or Format ▸ Number.

Frequently asked questions

Why does SUM return 0 over my numbers?

They are stored as text. SUM ignores text values entirely. Convert them with the warning icon, Text to Columns, or =VALUE().

What does the green triangle mean?

It is Excel's error check flagging a number stored as text. Click the cell, then the yellow icon, then Convert to Number.

Does this work the same in Google Sheets?

Sheets has no green triangle and usually auto-coerces text numbers in calculations. When it does not, use =VALUE(A2) or Format ▸ Number ▸ Number.

Other ways people ask this

On the way here you may have searched this as “excel text to number”, “excel number to text”, “excel formula number to text” and “excel text number” — it is all the same task, and this page is the single, complete answer to it.

Why do people search for this in so many different ways?

Because the same task has many names. “excel text to number”, “excel number to text”, “excel formula number to text” all point at the one operation explained on this page, which is why they all lead here.