Excel is treating your numbers as text, which is why they sit on the left edge of the cell, refuse to sum, and break every formula that references them. The quickest fix is to select the cells, open the Data tab, and use Text to Columns with nothing changed except the Finish button — that forces Excel to re-read each entry as a number. If that is not available or you only have a handful of cells, retyping with a leading apostrophe removed, or using Paste Special with Multiply by 1, does the same job. Below is the full order of fixes, from safest to most thorough, plus how to stop the problem coming back.
What You'll Need
- Excel on desktop (Windows or Mac) for the Text to Columns and Paste Special methods — the browser version and the mobile apps have fewer options, noted where relevant.
- A backup copy of the sheet if you are about to bulk-convert a large column, since conversion can strip leading zeros from things like postcodes and phone numbers.
- Knowledge of which columns are genuinely text (IDs, zip codes, account numbers) so you do not convert those by accident.
Step-by-Step
- Confirm the problem. Click a suspect cell and look at the status bar at the bottom of the window. If it shows only a count and no Sum, Average or Count Numbers, Excel sees text. A small green triangle in the corner of the cell with a warning icon is the same signal. Numbers normally align right; text aligns left unless someone changed the alignment manually.
- Check for stray characters. Press Ctrl+` (the key left of 1) on Windows or Cmd+` on Mac to toggle formula view, or simply widen the column. Look for leading or trailing spaces, non-breaking spaces pasted from websites, apostrophes at the start of the cell, or currency symbols and units typed into the same cell as the number. Any one of these makes the whole entry text.
- Remove spaces with Find and Replace. Select the column, press Ctrl+H, type a single space in Find what, leave Replace with empty, and click Replace All. This is safe for numeric columns but will join words in text columns, so select only the affected range.
- Use Text to Columns for a clean bulk conversion. Select the range, go to Data > Text to Columns. In the wizard, choose Delimited, click Next, leave every delimiter unticked, click Next, leave the column format as General, and click Finish. Excel re-parses each cell and converts anything that looks like a number. This is the most reliable method for a whole column and does not need a helper cell.
- Or multiply by 1 with Paste Special. Type 1 into any empty cell, copy it, select your text-numbers, then use Paste Special (Ctrl+Alt+V on Windows, Cmd+Ctrl+V on Mac) and choose Multiply. Excel performs arithmetic on each cell, which coerces text to numbers. Delete the helper cell afterwards. This works in the browser version too, via Paste Special in the right-click menu.
- Fix single cells by retyping. If a cell starts with an apostrophe, Excel stores everything after it as text and hides the apostrophe. Delete the cell contents and retype the number without the apostrophe, or press F2 to edit and remove it. For a whole column of apostrophe-prefixed values, Text to Columns from step 4 handles it in one pass.
- Check the cell format. Press Ctrl+1 (Cmd+1 on Mac) and look at the Number tab. If the format is Text, changing it to General or Number will not convert existing entries — you must re-enter or re-parse them — but it stops the next entry being stored as text. Set the format before you paste or import new data.
- Re-import rather than paste. If the numbers came from a CSV or a website, use Data > From Text/CSV (or Get Data) and set the column data type to Whole Number or Decimal Number in the import preview. Pasting from a browser frequently carries invisible characters that break numeric parsing.
- Verify the fix. Select the converted range and check the status bar again — Sum should now appear. Run a quick =SUM() or =COUNT() over the range to confirm. COUNT counts numbers only, so if COUNT returns zero, the conversion did not take.
Common Mistakes
The most frequent error is converting a column that should stay text. Postcodes, phone numbers, part numbers and account numbers with leading zeros will lose those zeros the moment they become numbers — 01234 becomes 1234. Format those columns as Text before entering data and leave them alone.
Second, changing the cell format from Text to Number and expecting the values to convert. It does not; the format only affects how new entries are stored and displayed. Existing text stays text until it is re-parsed or re-entered.
Third, using Find and Replace to delete commas or periods as thousands separators. In locales where the comma is the decimal separator, removing commas changes the value. Check your regional settings under File > Options > Advanced before bulk-replacing punctuation.
Fourth, assuming the green triangle warning is always safe to ignore. Clicking the warning icon gives you Convert to Number, which is a legitimate one-click fix for a small selection — but it silently drops leading zeros, so use it only on genuine numeric data.
Tips
Set the column format to Number or General before pasting data in, and most of these problems never appear. When importing, always use the import wizard rather than a plain paste so you can assign types per column.
If you need to keep leading zeros and still do arithmetic, keep the display column as text and add a helper column with =VALUE(A2) or =A2*1 to produce the numeric version for calculations. VALUE works in all current Excel versions and in the browser app.
Watch for non-breaking spaces (character 160) pasted from web pages. Find and Replace with a normal space will not match them. You can clear them with =TRIM(SUBSTITUTE(A2,CHAR(160)," ")) in a helper column, then copy the results back as values.
Menu labels vary slightly between Excel versions, platforms and regions, so if you cannot see an option exactly as named here, look for the closest equivalent on the same tab.
Troubleshooting
Text to Columns did nothing. Check that you selected the full range and that the cells are not locked or part of a protected sheet. Unprotect via Review > Unprotect Sheet first. Also confirm the column format step is set to General, not Text.
The numbers still will not sum. Look for hidden spaces or a mix of numbers and text in the same range. Use =ISTEXT(A2) down a helper column to find the culprits quickly; it returns TRUE for any cell Excel still reads as text.
Formulas show #VALUE!. The referenced cell is still text. Convert it, or wrap the reference in VALUE(). If the cell contains an error value rather than text, fix the source error first.
Decimal points became dates. Excel sometimes interprets entries like 1.2 as a date depending on regional settings. Set the column format to Number before importing, and check File > Options > Advanced for the decimal separator setting.
On the browser or mobile app. Text to Columns is not available in Excel for the web or the mobile apps. Use Paste Special > Multiply in the browser version, or make the conversion on desktop and reopen the file. On mobile, retyping individual cells is often the only option.
If none of this works, the file itself may be the issue. Open a blank workbook and paste a few values in — if they behave correctly there, the original sheet has a formatting or protection problem. Copy the data into a fresh sheet as values and rebuild the formatting.
Frequently Asked Questions
Why does Excel treat my numbers as text?
Usually because the cell was formatted as Text before entry, the data was pasted from a website or CSV with hidden characters, or the value contains a space, apostrophe or symbol. Excel stores whatever it received literally.
Does changing the format to Number fix existing cells?
No. It only affects how new entries are stored and displayed. Existing text must be re-parsed with Text to Columns, Paste Special Multiply, or retyping.
Will converting to numbers delete leading zeros?
Yes. Once a value like 00421 becomes a number, the zeros are gone. Keep ID, phone and postcode columns formatted as Text and use a helper column if you need the numeric value.
Can I fix this in Excel for the web?
Partly. Paste Special with Multiply works in the browser version. Text to Columns is desktop-only, so for a large conversion you may need the desktop app.
Why does COUNT return zero after I convert?
COUNT counts numeric cells only, so a zero result means the conversion did not actually take. Recheck for hidden spaces or a Text cell format still applied to the range.