Excel shows the "Number Stored as Text" warning because a cell that looks like a number is actually formatted as text, so formulas, sorting, and calculations may ignore it or treat it as a label. The fix is to convert those cells to real numbers using one of Excel's built-in conversion tools, not by retyping each value. The quickest reliable method is to select the range, click the warning icon that appears, and choose Convert to Number; for larger or mixed ranges, use Text to Columns or a simple multiplication by 1. This guide covers those methods, why the warning appears, and what to do when a conversion refuses to work.

What You'll Need

  • Excel for Windows, Excel for Mac, or Excel for the web (menu labels can differ slightly by version, platform, and region).
  • The workbook containing the cells with the green triangle warning, or a copy of it if you want to test the conversion before changing the original.
  • Basic familiarity with selecting a range and using the ribbon or menu bar.

Step-by-Step

  1. Identify the affected cells. Cells stored as text usually show a small green triangle in the top-left corner. Select one cell and look at the status bar or the formula bar: if the value is left-aligned by default and the formula bar shows it with a leading apostrophe or as plain text, it is stored as text. The warning icon appears next to the cell when it is selected.
  2. Select the range you want to convert. You can select a single cell, a column, or a block of cells. If the range contains formulas or dates you want to keep as text, convert only the numeric cells to avoid unintended changes.
  3. Use the warning icon for a quick conversion. With the range selected, click the small warning diamond that appears at the top-left of the selection, then choose Convert to Number from the menu. Excel converts the selected text numbers to real numbers in place. This is the fastest method for a small, clean range.
  4. Use Text to Columns for a stubborn range. Select the column (or range) and go to Data > Text to Columns. In the wizard, choose Delimited and click Next, clear all delimiter checkboxes and click Next, then set the column format to General and click Finish. Excel re-parses each cell and converts text numbers to real numbers. This works well when the warning icon does not appear or when many cells are affected.
  5. Use a formula-based conversion for a copy. In an empty helper column, enter =VALUE(A2) (replace A2 with your first cell), then fill down. Copy the helper column and paste it back over the original range using Paste Special > Values. Delete the helper column. This method is useful when you want to verify the converted values before overwriting the originals.
  6. Multiply by 1 as a quick trick. Type 1 in an empty cell, copy it, select the text-number range, and use Paste Special > Multiply. Excel multiplies each text value by 1, which coerces it to a number. This is fast but changes the values if the cells contain non-numeric text, so check the range first.
  7. Check the result. After conversion, the green triangles should disappear, the values should right-align by default, and formulas such as =SUM() should now include them. If a cell still shows a triangle, it may contain spaces, non-breaking spaces, or other characters that prevent conversion; see Troubleshooting below.
  8. Save the workbook. Once the conversion is verified, save the file. If you converted a copy, compare a few totals against the original to confirm nothing was lost.

Common Mistakes

  • Retyping values one by one. This is slow and error-prone; the built-in conversion tools handle entire ranges at once.
  • Converting the wrong range. Selecting an entire column can convert dates, IDs, or leading-zero codes that should stay as text. Convert only the cells that need to be numeric.
  • Ignoring hidden characters. A number with a trailing space or a non-breaking space will not convert with the warning icon. Clean the data first (see Troubleshooting).
  • Using Paste Special > Multiply on mixed data. If the range contains text labels, multiplying by 1 will produce errors or change the labels. Check the range before applying.
  • Assuming the warning is harmless. Text numbers can break SUM, AVERAGE, VLOOKUP, sorting, and chart axes. Fix them before building reports.

Tips

  • To stop Excel from flagging numbers as text in the first place, set the cell format to Number or General before typing or pasting data.
  • When importing from CSV or another system, use Data > From Text/CSV and set the column type to Whole Number or Decimal Number during import.
  • Use =ISNUMBER(A2) in a helper column to test whether a cell is a real number before and after conversion.
  • For IDs with leading zeros (such as ZIP codes or product codes), keep them as text deliberately and ignore the warning; converting them to numbers would drop the leading zeros.
  • If you work with large ranges, convert a sample first, verify totals, then apply the method to the full range.

Troubleshooting

  • The warning icon does not appear. The range may already be numeric, or the warning may be disabled. Try Text to Columns instead, or check File > Options > Formulas and look at the error-checking settings (labels vary by version).
  • Conversion does nothing. The cells likely contain spaces or non-printing characters. Use =TRIM(A2) or =CLEAN(A2) in a helper column, copy the results, and paste them back as values before converting.
  • Some cells convert, others do not. Mixed ranges often contain a few cells with text such as "N/A" or a currency symbol. Clean those cells or convert them separately.
  • Leading zeros disappear after conversion. That is expected: numbers do not store leading zeros. If you need the zeros, keep the column as text and accept the warning, or use a custom number format.
  • Formulas still return 0 or errors. Check that the referenced cells are truly numeric with =ISNUMBER(). If they are, recalculate the workbook (press F9 on Windows or Command+= on Mac) and confirm the formula range includes the converted cells.
  • Excel for the web behaves differently. Some conversion options are limited; if the warning icon or Text to Columns is unavailable, download the file and use desktop Excel, then upload it again.

Frequently Asked Questions

Why does Excel say "number stored as text"?

Excel flags a cell when its content looks like a number but the cell is formatted as text, which can happen after pasting from another program, importing a CSV, or typing with a leading apostrophe. The warning is a prompt to convert the value if you intend to calculate with it.

Does converting text to numbers change the value?

No, for clean numeric text the value stays the same; only the data type changes. Values with leading zeros or special characters will change or fail to convert, so check those first.

Can I turn off the green triangle warning?

Yes. Go to File > Options > Formulas and adjust the error-checking rules (labels vary by version). Turning it off hides the warning but does not convert the cells, so calculations may still ignore them.

Why do some numbers still show a green triangle after conversion?

Those cells probably contain spaces, non-breaking spaces, or other characters that prevent conversion. Clean them with TRIM or CLEAN, then convert again.

Should I convert ZIP codes or phone numbers?

Usually no. These are identifiers, not quantities, and converting them to numbers drops leading zeros. Keep them as text and ignore the warning.

Does this work in Excel for Mac and Excel for the web?

The warning icon and Text to Columns are available in Excel for Mac and Excel for the web, though menu labels and placement can differ. If an option is missing, use desktop Excel to convert and then reopen the file in your preferred version.