Excel Says “Number Stored as Text” — The Green Triangle
The quick answer: that little green triangle in the top-left corner of a cell is Excel telling you “the number in this cell is stored as text.” It appears constantly right after you import a CSV as text — which is exactly what keeps your ZIP codes and barcodes intact. So don’t rush to “fix” it. For prices and quantities you’ll actually do maths on, convert them to real numbers. For codes, IDs and phone numbers, leave the triangle exactly where it is — converting those re-breaks them. This guide shows you which is which, and how to do both.
What the green triangle actually means
The small green triangle in a cell’s top-left corner is Excel’s error indicator, and here it means one thing: the number you see is stored as text, not as a real number. The consequence is that Excel won’t include a text-stored number in SUM, AVERAGE or any other calculation — it treats "42" the way it treats the word “banana”. Click a flagged cell and a yellow warning icon appears, spelling out “Number Stored as Text.”
Here is the part most guides miss: this warning very often appears the moment you import a CSV as text — which is precisely what CSVUndo recommends to protect codes. Seeing the triangle usually means you did the right thing. It is a notification, not an emergency, and whether you act on it depends on what lives in the column.
Convert it, or leave it alone?
The single question that decides everything: will you ever do arithmetic on this column? If yes — prices, amounts, quantities you plan to total — convert it to a real number. If the column is an identifier you only ever read, match or export, leave it as text and ignore the triangle. Here is the rule at a glance:
| Column | Convert to number? |
|---|---|
| Price / amount / quantity | Yes — you’ll do maths on it |
| ZIP / postal code | No — keep as text |
| SKU / product code | No — keep as text |
| UPC / EAN barcode | No — keep as text |
| Phone number | No — keep as text |
| Account / order ID | No — keep as text |
The pattern is simple: quantities get converted, identifiers stay put. A ZIP code is a label that happens to be written with digits, so making Excel treat it as a number gains you nothing and costs you your leading zeros.
How to convert text to a real number
When a column genuinely holds quantities, converting takes three clicks. This method changes the underlying values, not just their appearance:
- Select the cells that show the green triangle and the warning.
- Click the yellow warning icon that appears beside the selection (keyboard shortcut:
Alt + Shift + F10). - Choose “Convert to Number.” The triangles vanish and the values now count in
SUMandAVERAGE.
Microsoft documents this and a few alternatives in its own help article on converting numbers stored as text to numbers. If you only need the figures to look right but not necessarily to recalculate, applying a number format is a lighter touch — see Microsoft’s note on fixing text-formatted numbers with a number format.
Convert a whole column at once
For a large range, the “multiply by 1” trick is faster than the warning menu. It forces every selected cell through a maths operation that turns text digits into real numbers:
- Type
1into any blank cell and press Enter. - Copy that cell (
Ctrl + C). - Select the range you want to convert.
- Right-click → Paste Special → tick Multiply → OK.
Every value is silently multiplied by one — unchanged in size, but now a genuine number. A third option is a helper column with =VALUE(A2); copy the result and paste it back as values. All three produce the same real numbers.
Imported a CSV and the codes are already damaged?
If a column lost its leading zeros or collapsed into 1.2E+11 before you got the triangle, converting won’t bring the digits back. Repair the raw CSV first with our free browser tool — it re-pads leading zeros and expands scientific notation locally, with nothing uploaded — then re-import as text.
The codes you should never convert
This is the whole reason CSVUndo exists, so read it before you click anything. Do not convert ZIP codes, SKUs, UPC or EAN barcodes, phone numbers, or account and order IDs to numbers. Converting them re-triggers the exact damage this site is built to undo: leading zeros disappear (07030 → 7030), long barcodes flip into scientific notation (885909560622 → 8.85909E+11), and 16+ digit account numbers lose their final digits to Excel’s 15-significant-figure limit — a loss that is permanent and can only be undone by re-exporting from the source system.
The green triangle on a code column is not a problem to solve; it is proof the column is safe. If you want the mechanics of why those zeros vanish, see why leading zeros disappear from CSV files. The same one-way trap catches long identifiers in Excel’s scientific-notation guide, and date-shaped codes in when Excel turns numbers into dates. In every case the fix is the same: keep the column as text.
Turn the warning off without converting
If a sea of green triangles is just visual noise, you can switch the indicator off and keep every value as text. This changes nothing about your data — it only stops Excel flagging it:
- Go to File → Options → Formulas.
- Under Error checking rules, untick “Numbers formatted as text or preceded by an apostrophe.”
- Click OK. The triangles disappear; your leading zeros and barcodes stay exactly as they are.
This is the right move for a workbook that is mostly codes: a clean-looking sheet without sacrificing a single digit — the opposite of what “Convert to Number” would do to the same cells.
Frequently asked questions
What does the green triangle in Excel mean?
It is Excel’s error indicator warning that the number in that cell is stored as text rather than as a real number, so it won’t be counted in SUM, AVERAGE or other calculations. It very often appears right after you import a CSV as text — which is exactly what protects codes like ZIP codes and barcodes — so seeing it usually means you did the right thing.
How do I convert text to numbers in Excel?
Select the cells, click the yellow warning icon and choose “Convert to Number” (keyboard: Alt + Shift + F10). For a big range, type 1 in a blank cell, copy it, select the range, then Paste Special → Multiply. A helper column with =VALUE(A2) works too. Only do this for true quantities such as prices and counts.
Should I convert my ZIP codes to numbers?
No. Converting a ZIP or postal code strips its leading zeros, so 07030 becomes 7030 and fails the next system that expects five characters. The same goes for SKUs, UPC and EAN barcodes, phone numbers and account IDs. Leave the green triangle in place for anything you’ll never do arithmetic on — converting it re-creates the damage you imported as text to avoid.
How do I remove the green triangle warning?
To hide it without touching the data, open File → Options → Formulas and, under Error checking rules, untick “Numbers formatted as text or preceded by an apostrophe.” The triangles disappear but the values stay as text, so your leading zeros and long barcodes are preserved — the safe choice for a sheet full of codes.
Sources: Microsoft’s guidance on converting numbers stored as text to numbers in Excel and on fixing text-formatted numbers by applying a number format. Excel’s 15-significant-digit ceiling is a property of IEEE 754 double-precision floating point.