Yes — Excel can convert text strings that look like numbers into real numbers using the VALUE function, such as =VALUE(A2). Text-formatted numbers often arrive when you import or paste data from other programs, and while they look identical to numbers, Excel treats them as text, so sums and formulas ignore them. This guide shows the reliable ways to make the conversion, plus what to do when a value refuses to convert. Steps are written for Excel on Windows and Mac; exact menu labels can differ slightly between versions.

What You'll Need

  • Excel (Microsoft 365, Excel 2016 or later; the core functions also work in older versions)
  • A spreadsheet containing numbers stored as text — often marked with a small green triangle in the cell's top-left corner

Step-by-Step

  1. Confirm the problem. Click a suspect cell and look at the status bar at the bottom. If selecting several cells shows only Count instead of Sum, they are stored as text.
  2. Use the VALUE function (the direct method). In an empty cell, type =VALUE(A2) and press Enter. Replace A2 with your text cell. The result is a true number.
  3. Copy the formula down. Drag the fill handle (the small square at the cell's bottom-right corner) down the column to convert the whole range.
  4. Replace the originals (optional). Select the formula results, copy them (Ctrl+C, or Cmd+C on Mac), then right-click the original cells and choose Paste Special > Values. Delete the helper column if you no longer need it.
  5. Alternative: use the error checking button. Select the cells with green triangles, click the warning icon that appears, and choose Convert to Number. This converts everything in one step with no formula.
  6. Alternative: simple arithmetic. Add 0 to the text with a formula like =A2+0, or multiply by 1 with =A2*1. Excel forces the text into a number. Paste the results back as values as in step 4.
  7. Alternative for whole columns: Text to Columns. Select the column, go to the Data tab, click Text to Columns, and click Finish straight away. Excel re-reads each cell and stores clean numeric text as numbers.
  8. Handle decimals and thousands separators. If your data uses a comma as the decimal separator but your Excel does not, wrap the text first: =VALUE(SUBSTITUTE(A2;",";".")), adjusting separators to match your locale. Remove stray spaces first with =TRIM(A2) or =VALUE(TRIM(A2)).
  9. Handle currency symbols. Strip them before converting, for example =VALUE(SUBSTITUTE(A2,"$","")) for dollar signs. Some locales accept =VALUE(A2) directly on currency-formatted text, but stripping the symbol is safer.
  10. Verify the result. Select the converted cells and confirm the status bar shows Sum, Average and Count rather than just Count. Real numbers also align right by default.

Common Mistakes

  • Leaving helper formulas in place. If you delete the original text column while the VALUE formulas still point to it, the results break. Paste values first.
  • Ignoring non-breaking spaces. Data copied from web pages often contains character 160, which TRIM does not remove. Use =VALUE(SUBSTITUTE(A2,CHAR(160),"")) for these.
  • Assuming alignment proves the type. Text can be right-aligned by cell formatting. Always verify with the status bar or a quick SUM.
  • Converting ID numbers and ZIP codes. Leading zeros are dropped once text becomes a number. Keep identifiers as text unless you truly need to do math on them.
  • Applying a number format and expecting conversion. Changing the cell format to Number does not re-convert existing text; you still need VALUE, Convert to Number, or Text to Columns.

Tips

  • For modern Excel (Microsoft 365), wrapping the range in a dynamic array works: =VALUE(A2:A100) spills the results down automatically, no fill handle needed.
  • With Excel's newer data types, =A2+0 and similar arithmetic is often the fastest fix for a one-off cell.
  • Dates stored as text also convert with VALUE, returning a serial number you can format as a date (Ctrl+1, then pick a Date format). For ambiguous dates, DATEVALUE with an unambiguous layout is safer.
  • Set the destination column to General or Number format before running Text to Columns so results land in the right type.
  • When importing data regularly, fix it at the source: in Power Query (Data > Get Data) you can set a column's data type to a number before it ever reaches the sheet.

Troubleshooting

  • #VALUE! error: the cell contains something VALUE cannot parse — a stray character, mismatched decimal separator, currency symbol, or an em-dash used as a zero. Inspect with =LEN(A2) (longer than expected means hidden characters) and clean the text as described in steps 8–9.
  • Numbers turn into scientific notation (1.5E+12): the conversion worked; the column is just too narrow or formatted oddly. Widen the column or set the cell format to Number with zero decimals (Ctrl+1).
  • Dates become numbers like 45123: that is Excel's internal date serial. Format the cells as a date via Ctrl+1.
  • Convert to Number is greyed out or slow on huge ranges: Excel disables it for very large selections. Use Text to Columns or VALUE instead, working in chunks if needed.
  • Whole column still shows as text after converting: some cells were empty or contained errors and blocked the batch. Filter for blanks, convert the rest, then recheck with the status bar.
  • Formula returns text again: the cell itself is formatted as Text, so it displays the formula. Change the cell format to General, then press F2 and Enter to re-evaluate.

Frequently Asked Questions

What is the difference between VALUE and NUMBERVALUE?

VALUE is the classic function and works in every Excel version. NUMBERVALUE (Excel 2013 and later) additionally lets you specify the decimal and group separators as arguments, which helps with foreign-formatted data.

Why does Excel show a green triangle on my cells?

It is the "number stored as text" warning. Click the cell, then use the warning icon's Convert to Number option for a one-click fix.

Can VALUE convert a date stored as text?

Yes, VALUE parses text that looks like a date and returns the date serial number. Format the result as a date. For ambiguous layouts, DATEVALUE is a more explicit choice.

Does changing the cell format to Number convert the text?

No. Formatting only changes how content displays. You must re-enter the value or use VALUE, arithmetic, Text to Columns, or Convert to Number to change the underlying type.

How do I convert numbers to text instead?

That is the reverse operation: use =TEXT(A2,"0") for plain text, or =A2&"" for a quick conversion.

Will VALUE work in Google Sheets too?

Yes, Google Sheets supports VALUE with the same syntax, and its Data menu also offers a "Split text to columns" option and automatic conversion warnings similar to Excel's.