Fix Excel Numbers Stored as Text: Green Triangles, Apostrophes, Spaces/Separators, and European Decimals

Fix Excel Numbers Stored as Text: From Green Triangles to European Decimals

If you see the Number Stored as Text warning in Excel and the total is 0, your numbers are stored as text. Use the Quick Fix below and the solutions by cause to resolve it all at once.

Quick Fix (3 Minutes)

  1. Select the range → click the error icon → Convert to Number.
  2. If there is no icon, use Data > Text to Columns (no delimiter → Finish), or use Paste Special = Multiply by 1 (Ctrl+Alt+V → Multiply).

Why Numbers Become Text

  • A leading apostrophe (‘123), nonbreaking spaces (CHAR160), or full-width digits (1)
  • European formatting (1.234,56) or confusion between thousands and decimal separators
  • Cells formatted as Text

7 Methods for Bulk Conversion

  1. Error checking: Convert to Number
  2. Text to Columns → Finish
  3. Paste Special → Multiply by 1
  4. =VALUE(A2) (+ TRIM/SUBSTITUTE)
  5. =NUMBERVALUE(A2, ",", ".") (European format)
  6. Replace leading apostrophes/full-width characters: Ctrl+H or SUBSTITUTE
  7. Power Query: force the data type to Whole Number or Decimal Number

Values That Should Remain Text, Such as Dates and IDs

  • Phone numbers, ZIP codes, card numbers, and product codes: Keep as text
  • Date text → date: =DATEVALUE(A2) (+ TIMEVALUE)

Practical Examples

// Remove NBSP, then convert to a number
=VALUE(TRIM(SUBSTITUTE(A2,CHAR(160)," ")))
// European format → standard numeric value
=NUMBERVALUE(A3, ",", ".")
// Date
=DATEVALUE(A5)

Troubleshooting

SymptomCauseSolution
Total = 0Numbers stored as textUse Text to Columns or Multiply by 1
Not right-alignedText formatChange the cell format to General, then recalculate
Changes to 1234561.234,56 parsing errorNUMBERVALUE(A2,”,”,”.”)
Conversion fails because of spacesCHAR160SUBSTITUTE(,CHAR(160),” “) → TRIM → VALUE
Leading zeros disappearIdentifierKeep as text/use data validation

Checklist to Prevent It from Happening Again

  • Import using From Text/CSV and do not detect data types
  • Set ZIP codes and IDs to Text
  • For European formats, use NUMBERVALUE or a Power Query locale
  • Turn on error checking and control input with data validation

Related Posts

1 thought on “Fix Excel Numbers Stored as Text: Green Triangles, Apostrophes, Spaces/Separators, and European Decimals”

  1. Pingback: Excel COUNT Returns 0 for Imported Quantities: Find Text Numbers Before a Stock Check

Leave a Reply

Your email address will not be published. Required fields are marked *