Excel templates and practical guides

Excel problem solving

Excel Numbers Stored as Text: Convert Amounts Without Damaging IDs

Auditably.co · Published 29 November 2026 · 3 minute read

If a column looks numeric but SUM ignores some of its cells, those entries may be text. Changing the display format to Number is not a reliable way to convert the underlying values. First decide whether the column contains amounts that should be calculated or identifiers that should stay as text.

That decision prevents a common second problem: fixing the total while damaging postcodes, account numbers or product codes. The practice workbook includes both amounts and IDs so you can see the distinction.

In this guide
Numbers stored as text: actual workbook preview with fictional example entries
Actual preview of the Convert sheet. Open the full-size image to inspect the figures.

Diagnose before converting the whole column

Use ISNUMBER(A2) on a suspect cell. TRUE means Excel holds a number; FALSE means it does not. A number format, alignment or green warning triangle can be a clue, but a formula check is easier to repeat across a list.

Inspect several source rows. A column may contain real numbers, numeric text, blanks and notes such as “not known”. A blanket conversion can turn a data-quality problem into a misleading zero or a formula error.

Source value Meaning Desired treatment
1,234.50 Amount with decimal point Convert to 1234.5
1.234,50 Amount with decimal comma Convert to 1234.5 using the source separators
00123 Postcode or identifier Preserve as text
12345678901234567 Long account ID Preserve every character as text
not known Missing information Flag for review, not zero

Convert amounts with explicit separators

For text using a decimal point and comma grouping:

=NUMBERVALUE(A2,".",",")

For text using a decimal comma and period grouping:

=NUMBERVALUE(A2,",",".")

Microsoft describes NUMBERVALUE as a locale-independent conversion when the separators are supplied. Choose them from the source format, not from how you wish the result to look.

Keep a blank guard if missing amounts must remain missing. NUMBERVALUE applied to an empty string can return zero, so the downloadable workbook tests for an empty source first. Invalid amount text produces an explicit review message rather than disappearing into an empty result.

How the practice workbook works

In the Convert sheet, column A is the original text and B identifies Amount or ID. C and D hold the source decimal and grouping separators. E calculates numeric amounts, while F preserves identifiers. G summarises whether the row was converted or needs review.

The two differently formatted 1,234.50 examples both produce the same numeric value. The postcode keeps its initial zeros. The 17-digit identifier remains text. “Not known” is flagged, and a genuine text zero becomes numeric zero.

Try changing one amount and compare the output. Do not replace the original column until you have checked the totals, row count and a sample of individual records.

Why multiplying by one can be the wrong shortcut

Arithmetic conversion can be convenient for a clean amount column. It is less appropriate for mixed data because it relies on interpretation and can affect identifiers you never intended to calculate.

For example, a supplier ID of 00123 is not a quantity of 123. Losing the zeros may break a join to another system. A long numeric identifier can also exceed Excel's numeric precision. Once digits have already been altered, changing the format back to Text does not recover them. Return to the original export.

Check the result, not just the absence of errors

Compare the number of successfully converted rows with the number of amount rows expected. Investigate every invalid value. Reconcile the converted total to a source total where one is available, and inspect negative amounts, zero amounts and unusual separators separately.

Do not use IFERROR(...,0) simply to make the sheet look tidy. That can make an unreadable amount indistinguishable from a real zero. Keep a visible exception status until the source is corrected.

For future imports, set identifier columns to Text before loading them and define amount columns deliberately. A repeatable import rule saves more time than cleaning the same export every month.