In this guide
Appearance
Appearance
By Scot, 10+ years in IT support and helpdesk ·How these guides are checked
Select the column, open the Data tab, click Text to Columns, and click Finish on the first screen. Every cell is re-read as a number and =SUM() starts working.
Checked against Microsoft 365 Roadmap, Office release notes - Current Channel and between 5 Aug 2026 and 12 Sep 2026. Nothing published in that period has been linked to this guide.
Green triangles in the corner of your cells, =SUM() returning 0, and a VLOOKUP that cannot find a value sitting right there on screen all come from the same cause: Excel is holding those numbers as text. This article shows you how to confirm it, four ways to convert the values back, how to strip the invisible characters that block conversion, and how to fix a lookup where one side is text and the other is a real number.
=SUM() over a column of figures returns 0, or skips some rows and adds only the others.VLOOKUP and XLOOKUP return #N/A for values you can see in the lookup table.SUMIF and COUNTIF return 0 for criteria that plainly match rows on screen.10 before 2, because it is sorting alphabetically.In this guide
Two seconds of checking stops you converting a column of ZIP codes that were correct as they were.
=ISNUMBER(A2)FALSE means the cell holds text. TRUE means the value is a genuine number and the problem lies somewhere else in the formula.
Note: The green triangle is Excel's error-checking flag, not the problem itself. Someone may have cleared the triangles with Ignore Error while leaving the text values in place, so a clean-looking column can still break
=SUM(). Alignment andISNUMBERare the reliable tests.
Note: Before converting, decide whether the column is meant to be a number at all. Order numbers, ZIP codes, account numbers and part codes belong as text — converting
02134produces2134, and anything over 15 digits loses its trailing digits permanently.
The quickest fix, and it scales further than most people realise.
To do a whole column in one go:
Verification: Select the range again and read the status bar at the bottom right. Sum and Average now appear alongside Count.
Note: On selections of several thousand rows this method runs cell by cell and takes a noticeable pause. Step 3 handles large columns in a fraction of the time.
Note: Excel for the web does not offer Convert to Number on the warning menu. Use the
VALUEformula in Step 5 instead, or open the workbook in the desktop app.
Tip: If the values are correct as text and the triangles are only visual clutter, choose Ignore Error from the same menu. To stop Excel flagging them at all, go to File > Options > Formulas, find the Error checking rules section, and clear Numbers formatted as text or preceded by an apostrophe. That hides the flag across every workbook on this computer — the values themselves are unchanged.
This is the bulk fix. It sounds like the wrong tool, and it is the fastest one available.
The dialog closes and every value in the column shifts to the right edge of its cells. Excel re-read each cell as though you had retyped it, which is exactly what was needed.
Note: If the cells were formatted as Text, set the format first or the conversion will not stick. Select the column, open the Home tab, and set the Number Format dropdown to General. Then run Text to Columns. Changing the format alone does nothing to values already entered — that is why both actions are needed.
Note: Text to Columns overwrites the column to its right if it finds a delimiter in the data. Clicking Finish on screen 1 keeps the default of one column, but check that the Data preview panel at the bottom of the dialog shows a single unbroken column before you click.
Tip: For a column of values with a currency symbol or thousands separator baked in, use screen 3 of the wizard rather than clicking Finish. Click Next twice, click Advanced..., set Decimal separator and Thousands separator to match the data, and click OK, then Finish.
Use this when Text to Columns is unavailable — on a protected sheet region, across several columns at once, or inside a table where you want the conversion in place.
1. Press Enter.1.Note: Choosing Values under Paste keeps the formatting already on the target cells. Selecting All instead copies the helper cell's formatting over your range and flattens any colouring you had.
When the column resists every method above, something invisible is attached to each value. This is normal for data copied out of a web page, a PDF, or a mainframe report.
For plain text numbers:
=VALUE(A2)For values with leading or trailing spaces:
=VALUE(TRIM(A2))For values copied from a web page or PDF, which often carry non-breaking spaces and non-printing characters:
=VALUE(SUBSTITUTE(TRIM(CLEAN(A2)),CHAR(160),""))123 on it.Each function does one job: TRIM removes ordinary spaces from the ends, CLEAN removes non-printing control characters, SUBSTITUTE with CHAR(160) removes the non-breaking space that web pages use and that TRIM cannot touch, and VALUE converts what is left into a number.
Tip: To find non-breaking spaces without a formula, press Ctrl + H to open Find and Replace. Click into the Find what box, hold Alt, and type
0160on the numeric keypad — the number pad on the right of the keyboard, not the row above the letters. Leave Replace with empty and click Replace All. Excel reports how many it removed.
Note:
#VALUE!from these formulas means the cell holds something that is not a number at all — a currency code such asUSD 1,200, a trailing minus from a mainframe export such as1200-, or the textn/a. Strip the offending characters withSUBSTITUTEfirst, for example=VALUE(SUBSTITUTE(A2,"USD ","")). For the wider family of formula errors, see How to Fix Common Excel Formula Errors.
VLOOKUP returns #N/A when the types do not match, even though the values look identical on screen. The number 1045 and the text 1045 are different things to Excel.
=ISNUMBER() on both cells, as in Step 1.When the column cannot be converted — a shared file, a refreshed query, a protected sheet — force the match inside the formula instead.
When your lookup value is text and the table holds real numbers, wrap the lookup value:
=VLOOKUP(VALUE(A2),Products,2,FALSE)When your lookup value is a number and the table holds text, append an empty string to turn it into text:
=VLOOKUP(A2&"",Products,2,FALSE)To cover both without knowing which is which, use IFERROR to try one and fall back to the other:
=IFERROR(VLOOKUP(A2,Products,2,FALSE),VLOOKUP(A2&"",Products,2,FALSE))Note: The same mismatch breaks
SUMIF,COUNTIF,MATCHandXLOOKUP, and it breaks them silently — you get0or#N/Arather than a warning. When a criteria formula returns a suspiciously round0, check the data types on both sides before rewriting the formula. See How to Use VLOOKUP in Excel for the full lookup syntax.
Tip: Prevent the whole class of problem at the source. When the data arrives as a CSV, import it with Data > From Text/CSV and set each column's type deliberately rather than letting Excel guess — see How to Open a CSV File in Excel Without Breaking It.
WARNING
Converting a whole column to numbers destroys leading zeros and truncates values longer than 15 digits. 02134 becomes 2134 and a sixteen-digit account number loses its final digits for good. Check what the column actually holds before you convert it — ZIP codes, phone numbers, account numbers and part codes are meant to be text, and the green triangle on those cells is a false alarm you clear with Ignore Error.
| Symptom / Error | Potential Cause | Solution |
|---|---|---|
=SUM() returns 0 | Text values are skipped by SUM | Select the column and run Data > Text to Columns > Finish (Step 3). |
| Numbers stay left-aligned after changing the format to Number | Format changes do not re-enter values | Set the format to General, then force a re-read with Text to Columns (Step 3) or the multiply-by-1 paste (Step 4). |
Convert to Number is missing from the warning menu | Different error type, or Excel for the web | Read the greyed heading at the top of the menu. If it does not say Number Stored as Text, the cell holds a different problem. In Excel for the web, use the VALUE formula (Step 5). |
Text to Columns is greyed out | More than one column selected, or the sheet is protected | Select a single column. If the sheet is protected, use the multiply-by-1 paste instead (Step 4). |
VLOOKUP still returns #N/A after converting | Trailing or non-breaking spaces remain | Clean the values with TRIM, CLEAN and CHAR(160) before converting (Step 5). |
| The column reverts to text every time the data refreshes | The query declares the column as text | Fix it at the import: edit the query and set the column type there. See How to Open a CSV File in Excel Without Breaking It. |
IT Tip Tuesday
Get a short, actionable IT tip in your inbox every week.
Nothing loads from beehiiv until you click. Once it does, the form sets beehiiv's own cookies and loads beehiiv's own analytics.