ExcelReady
CourseFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before the interview. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Function guides
  • Blog

Product

  • Certificate

Company

  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Errors & fixes
  3. Numbers Stored as Text in Excel: Find and Fix

Numbers Stored as Text in Excel: Find and Fix

By ExcelReady Team·Updated October 30, 2026·6 min read

The short answer

Numbers stored as text look like numbers but Excel treats them as words, so SUM skips them and lookups miss them. You can spot them by left alignment and a small green triangle. To fix them, select the cells, click the warning icon and choose Convert to Number, or use =VALUE(A2) in a helper column.

Key takeaways

  • Text numbers sit on the left of the cell and often show a green triangle in the corner.
  • SUM, AVERAGE and COUNT skip text numbers without any warning, so totals come out too low.
  • Convert to Number, Text to Columns and Paste Special Multiply all fix a whole column at once.
  • =VALUE(A2) converts one cell in a formula; add TRIM or SUBSTITUTE first if the text has spaces.
  • Compare =COUNTA(range) with =COUNT(range) to find out how many text numbers a column has.
On this page+
  1. What does "number stored as text" mean?
  2. How to spot numbers stored as text
  3. Why numbers end up stored as text
  4. How to convert numbers stored as text (5 ways)
  5. When the usual fixes don't work
  6. How to add up text numbers without converting them
  7. When text is the right choice
  8. Practise it

Numbers stored as text in Excel look like ordinary numbers, but Excel treats them as words. SUM skips them, lookups fail to match them and sorting puts them in the wrong order, often with no error message at all. This guide shows you how to find them, the fastest ways to convert them, and what to do when the usual fix doesn't work.

What does "number stored as text" mean?#

A number stored as text is a cell that holds digits, like 142, but is saved as a piece of text rather than a value Excel can calculate with. To you, it looks the same. To Excel, "142" (text) and 142 (number) are different things.

This matters because most functions only use real numbers. SUM adds numbers and skips text, so a column with a few text numbers gives a total that is too low. VLOOKUP and XLOOKUP treat the text "1001" and the number 1001 as different values, so they return #N/A.

How to spot numbers stored as text#

You can usually see them without any formula. Look for these signs:

SignReal numberNumber stored as text
Alignment (default)Right of the cellLeft of the cell
Corner markerNoneSmall green triangle, top left
Status bar when selectedShows SumShows Count only
=ISNUMBER(B3)TRUEFALSE

The green triangle is Excel's error checking. Select the cell and a yellow warning icon appears beside it; hover over it and it says the number in this cell is formatted as text or preceded by an apostrophe.

To count text numbers in a column, compare two counts:

Excel formula
=COUNTA(B2:B6)-COUNT(B2:B6)

COUNTA counts every filled cell. COUNT counts only real numbers. The difference is the number of filled cells that aren't numbers. You practise this check in the Debugging SUM lesson.

Why numbers end up stored as text#

Text numbers usually come from somewhere else. The common causes are:

  • Imported or copied data. Exports from accounting systems, CRMs and web pages often arrive as text.
  • The Text number format. If a cell is formatted as Text before you type, anything you type is stored as text.
  • A leading apostrophe. Typing '142 tells Excel to keep the entry as text. The apostrophe doesn't show in the cell, only in the formula bar.
  • Hidden characters. A trailing space, or a non-breaking space copied from a web page, makes 142 text.
  • Text formulas. LEFT, RIGHT, MID and TEXT always return text, even when the result is all digits.

How to convert numbers stored as text (5 ways)#

The best method depends on how many cells you have and whether they contain hidden characters.

1. Convert to Number (fastest for a few cells)#

  1. Select the cells with green triangles. Start the selection on a flagged cell.
  2. Click the yellow warning icon that appears.
  3. Choose Convert to Number.

This works on Windows and Mac. If you don't see the icon, error checking may be turned off, so use one of the methods below.

2. Text to Columns (good for a whole column)#

  1. Select the column.
  2. Go to Data > Text to Columns.
  3. Click Finish straight away.

Excel re-reads every cell as General, which turns text digits into numbers. The Text to Columns guide explains the rest of the wizard.

3. Paste Special Multiply by 1#

  1. Type 1 in an empty cell and copy it (Ctrl+C, Mac: ⌘C).
  2. Select the text numbers.
  3. Open Paste Special (Ctrl+Alt+V on Windows, Control+⌘V on a Mac), choose Multiply and click OK.

Multiplying text digits by 1 forces Excel to treat them as numbers. Delete the 1 afterwards.

4. VALUE in a helper column#

When you want a formula, use VALUE:

Excel formula
=VALUE(B3)

VALUE turns text digits into a real number. Fill it down, then copy the helper column and paste it back as values if you want to replace the original. The TEXT and VALUE lesson has you do this on imported unit counts.

5. Retype or reformat#

For one or two cells, set the format to General and type the number again. Changing the format alone does not convert the value; you have to re-enter it.

When the usual fixes don't work#

If Convert to Number does nothing, or VALUE returns #VALUE!, the text contains a character Excel can't read as a number. The two usual culprits are spaces and non-breaking spaces (character 160, common in data copied from web pages).

Clean the text first, then convert it:

Excel formula
=VALUE(TRIM(SUBSTITUTE(B3,CHAR(160),"")))

SUBSTITUTE removes the non-breaking spaces, TRIM removes ordinary extra spaces, and VALUE converts the result. If VALUE still fails, the cell may hold a currency symbol or thousands separator from a different region. Our guide to the #VALUE! error covers more of these cases.

How to add up text numbers without converting them#

Sometimes you can't change the source data, for example when it is refreshed from another system every day. Then convert inside the formula:

Excel formula
=SUMPRODUCT(--B2:B6)

The double minus (--) turns each value into a number: text digits become numbers, and real numbers stay the same. SUMPRODUCT then adds them up. On this data, =SUM(B2:B6) returns 555 because it skips the text 45 and 210, while =SUMPRODUCT(--B2:B6) returns the correct 810.

AB
1ProductUnits
2Notebook120
3Stapler45 (text)
4Pen340
5Folder210 (text)
6Tape95

One limit: a blank cell or a word in the range makes -- return #VALUE!, so use this only on a range that holds digits. For more on totals that come out wrong, see why your Excel total is wrong, and the SUM function guide for the full reference.

When text is the right choice#

Not every text number is a mistake. Codes such as ZIP codes, employee IDs like 00123 and phone numbers should stay text, because you never calculate with them and leading zeros matter. Store them as text on purpose, and keep the lookup column in the same type. To format real numbers for display without changing them, use the TEXT function and format codes instead.

Practise it#

Try the exercise on this page, then practise turning text digits into real numbers with VALUE in a live spreadsheet. The Debugging SUM lesson walks you through finding a text number that breaks a total, the way a job test might.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

Some units in B2:B6 are numbers stored as text, so =SUM(B2:B6) comes out too low. In B7, total every value with =SUMPRODUCT(--B2:B6). The double minus turns text digits into real numbers.

fx
ABCD
1
Product
Units
2
Notebook
120
3
Stapler
45
4
Pen
340
5
Folder
210
6
Tape
95
7
Total
8
9
10

Tip: Type two minus signs right before the range: --B2:B6. Each minus flips the sign, so together they leave the number unchanged but make it a real number.

Practise this in a lesson

LessonTEXT and VALUE: numbers to text and backFormat dates and dollar amounts inside sentences with TEXT, and turn digits stored as text into real numbers with VALUE.LessonDebugging SUMFind the three bugs behind most wrong totals: a range that misses a row, numbers stored as text, and a total that counts itself.Function guideSUMAdd up columns, rows and separate ranges with Excel's SUM function. Clear examples, common mistakes and a live practice exercise.

Frequently asked questions

How do I convert numbers stored as text to numbers in Excel?

+

Select the cells, click the yellow warning icon next to the selection and choose Convert to Number. If there is no icon, use Data, Text to Columns, Finish, or multiply the cells by 1 with Paste Special.

Why does Excel say number stored as text?

+

The cell holds digits but is stored as text, usually because the data was imported, the cell was formatted as Text, or the entry starts with an apostrophe. Excel flags it because formulas will treat it as text, not as a number.

Why is my SUM ignoring some numbers?

+

SUM skips any cell that holds text, including numbers stored as text. Convert those cells to real numbers and the total updates.

Why doesn't Convert to Number work on my cells?

+

The text probably contains a hidden character, such as a trailing space or a non-breaking space from a web page. Clean it first with =VALUE(TRIM(SUBSTITUTE(A2,CHAR(160),""))).

Should product codes like 00123 be stored as text?

+

Yes, if the leading zeros matter and you never calculate with the code. Store it as text on purpose and make sure the lookup table uses text too, so the values match.

Sources

  • Convert numbers stored as text to numbers - Microsoft Support
  • VALUE function - Microsoft Support

Written and checked by the ExcelReady Team. First published October 30, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. What does "number stored as text" mean?
  2. How to spot numbers stored as text
  3. Why numbers end up stored as text
  4. How to convert numbers stored as text (5 ways)
  5. When the usual fixes don't work
  6. How to add up text numbers without converting them
  7. When text is the right choice
  8. Practise it

Keep reading

Errors & fixes· 5 min read

Excel Formula Not Updating? Check These Causes

When an Excel formula is not updating, calculation is usually set to Manual. Go to Formulas, Calculation Options and choose Automatic, or press F9 to recalculate now. If it is already Automatic, check that the formula points at cells rather than typed-in numbers, that its range includes new rows, and that the inputs are real numbers.

Errors & fixes· 5 min read

#VALUE! Error in Excel: Causes and Fixes

#VALUE! means a formula got the wrong type of value, most often text where it needed a number. Common causes are a word like "n/a" in a cell you add with +, a cell that holds only a space, or a date stored as text. Fix the data, or use SUM, which skips text, instead of adding cells with +.

Math· 5 min read

The Excel SUM Function: A Beginner's Guide

The Excel SUM function adds numbers. Type =SUM( then the cells to add, then ), for example =SUM(B2:B5) to add B2 through B5. A colon makes a range, and a comma adds separate cells or ranges, like =SUM(B2,B4:B5). SUM skips text and empty cells, so it doesn't break on gaps.

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback. The first lessons are free, with no download.

Start learning for free