Text to Numbers in Excel

There are two ways to “text to numbers in excel”: the quick way you copy and the durable way you understand. This page gives you both. The exact Excel answer is above; below, we build the small mental model that makes the fix stick, so the next variation of the same problem solves itself.

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.

On this page7
▤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

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 outcome you expected 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. Check the referenced cells, argument order and result type in your workbook. Start with the worked example before changing an input, then compare the changed result with the calculation you expected. An error value or a result of a different type is a reason to inspect the inputs and arguments.

In Google Sheets

Google Sheets support for this task has not been verified. Check the function, arguments and workflow in the target product before transferring the example. Matching formula notation does not establish identical behaviour. 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 and the detail above shows why it holds — so the next time a colleague asks, you can answer without reaching for search. For “text to numbers in excel”, keep the input cells and the result visible while you check the formula in Excel. Follow the worked example and change one input at a time. The steps explain the workbook calculation; this page does not run a live calculator for that task.

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.