Excel numbers not showing as numbers usually means the cells are stored as text, so Excel treats entries like "0123" or "1,234" as words: they align left, refuse to sum, and may show a green warning triangle. The fastest fix is usually Data > Text to Columns (press Finish), or changing the cell format to Number and re-entering the value, though other causes such as a stray apostrophe, leading apostrophes imported from another system, or a Calculation Options setting of Manual can look identical.
Why Excel Treats Some Numbers as Text
Excel decides how to store a value the moment you enter it. If the entry matches a numeric pattern, it becomes a number with a right-aligned display; if it looks like anything else, it becomes text, left-aligned by default. Several everyday situations push values into text:
- A leading apostrophe (') typed deliberately or pasted in from exported data. The apostrophe is invisible in the cell but forces text.
- Pasting from CSV files, web pages, or other systems where the source wrapped values in quotes or padded them with spaces.
- Locale mismatch: values imported with a comma decimal separator (1,23) or a period thousands separator (1.234) into a region expecting the opposite.
- Leading zeros, such as ZIP codes or part numbers. Excel drops leading zeros unless the cell is preformatted as Text, so many people format the column as Text first, then find formulas no longer work.
- Invisible characters: non-breaking spaces, tabs, or characters copied from a PDF.
- Cell format set to Text before the data was typed or pasted into it.
There is also a subtler case where the cell genuinely contains a number but formatting hides it. If the column is formatted as Text, or the number format is set to something odd, or the workbook is set to show formulas instead of results (Ctrl+` toggles this), the display looks wrong even though the underlying value is fine.
How to Tell a Real Number From Text
Before fixing anything, confirm what is actually stored. Excel gives several quick signals:
- Alignment: numbers align right, text aligns left (unless someone changed the alignment manually).
- The status bar: select a range and look at the bottom of the window. A sum, average, and count appear for real numbers; text cells are counted only as "Count" and contribute nothing to Sum.
- The green triangle: a small triangle in the top-left corner warns of a number stored as text. Clicking the cell shows an error icon with options such as "Convert to Number".
- ISNUMBER: the formula =ISNUMBER(A1) returns TRUE for real numbers and FALSE for text, including text that looks like a number.
Those checks also distinguish the calculation problem from a display problem. If ISNUMBER returns TRUE but the cell still looks wrong, the issue is formatting or calculation settings, not text storage.
Fixes That Work, From Quickest to Most Thorough
- Use the warning icon. Select the flagged cells and choose "Convert to Number" from the small menu that appears beside the selection. This works well for a handful of cells.
- Re-enter the value with the format set. Change the cell format to Number or General, then retype or press F2 and Enter. This re-parses the entry, but it is slow for large ranges.
- Text to Columns. Select the column, choose Data > Text to Columns, and click Finish without changing anything. Excel re-reads each entry and converts numeric-looking text to numbers. This is the standard bulk fix and takes seconds.
- Multiply by one. Type 1 in an empty cell, copy it, select the text numbers, and use Paste Special > Multiply. This coerces text to numbers, though it fails on entries with non-numeric characters.
- Clean the characters first. If Text to Columns does not fix it, the cells probably contain spaces or invisible characters. TRIM removes normal spaces; CLEAN removes non-printing characters. Combine them, for example =VALUE(TRIM(CLEAN(A1))), then paste the results back as values.
- Handle decimal and thousands separators. If the data came from another locale, either adjust the import settings during a re-import or use formulas to swap separators before converting. A quick test is to check whether the status bar Sum shows a value.
After conversion, remember that your original formatting may not carry across. Leading zeros disappear once a value becomes a true number, which is correct mathematically but wrong for identifiers. For ZIP codes and product codes, keep the column as Text on purpose and set the number format to a custom "00000" pattern, or prefix the code so it is unambiguously text.
When Numbers Show as Dates or Scientific Notation
Two conversions surprise people because the cell is not technically text anymore. First, entries such as 1-2 or 3/4 may be interpreted as dates, because Excel treats a hyphen or slash between numbers as a date separator. To keep the fraction, type it with a leading zero (0 1/2) or format the cell as Fraction before entering. Second, long numbers such as 16-digit card or account numbers display as 1.23457E+15. Excel stores only 15 significant digits, so the trailing digits are permanently lost once the value enters a number cell. Format the column as Text before pasting such identifiers, or accept the loss.
Another common display quirk: a number may be visible but too narrow for the cell, showing as a row of hashes (#####). Widen the column or reduce the font size; the value itself is unaffected.
Checking Calculation Settings and Formula Results
If the cells really are numbers but totals still do not update, the workbook may be set to manual calculation. Go to Formulas > Calculation Options and switch to Automatic. A related symptom is a formula that shows its own text, such as =SUM(A1:A10), rather than the result; the cell is likely formatted as Text, and switching it to General and pressing F2 then Enter fixes it. Watch for another trap: a formula result that was copied and pasted as a value in a Text-formatted cell stays text until converted. Finally, check that the range you are summing actually covers the data. A total below the visible rows is a classic mistake when rows have been inserted.
Repairing Imported CSV and Downloaded Files
CSV files are plain text, so Excel guesses column types on opening them. If the guess goes wrong, use Data > From Text/CSV instead of double-clicking the file. That opens the import dialog, where you can set the delimiter, choose Text for fields that must keep leading zeros, and specify the correct decimal and thousands separators. Setting the data type explicitly prevents the whole round of conversion problems. If you regularly download the same report, saving the steps as a query workflow means the cleaning happens automatically on refresh.
One more habit worth adopting: paste raw data into a worksheet formatted as General, not as Text. General lets Excel parse numbers correctly while still accepting text, whereas Text blocks conversion until you manually fix it.
Frequently Asked Questions
Why is my sum showing 0 when I can see numbers? The cells are almost certainly stored as text, so SUM ignores them. Select the range and run Data > Text to Columns (Finish), or use the Convert to Number option on the warning icon. Also confirm the calculation option is set to Automatic.
Why do my numbers align to the left? Left alignment is the default for text. If the values are numeric, check the cell format and remove any leading apostrophe, trailing space, or Text formatting. If alignment was set manually, the horizontal alignment button in the Home tab will change it back, though that alone does not convert text to numbers.
Can I stop Excel from removing leading zeros? Yes. Format the cells as Text before entering or pasting the data, or use a custom number format with a pattern of zeros matching the code length. For imported files, choose Text for that column in the import wizard.
Why does a number turn into a date when I type it? Excel reads hyphens and slashes between numbers as date separators. Enter the value with a leading zero (0 1/2), apply the Fraction format first, or prefix the entry with an apostrophe if it should stay text.
How do I fix hundreds of cells at once? Select the whole column and use Text to Columns, or paste-multiply by 1 with Paste Special. If non-numeric characters are mixed in, clean them with TRIM and CLEAN inside a VALUE formula first.
Why did my long number lose its last digits? Excel keeps only 15 significant digits, so very long identifiers are rounded and the ending digits are lost. Format the destination column as Text before pasting to preserve the full value.