For cells that should contain amounts or counts, use the warning menu's Convert to Number option, or put =VALUE(A2) in an empty helper column. Check the result with ISNUMBER and a known total before replacing your source. Keep identifiers such as 00123 as text so their leading zeros stay intact.

In this guide
A cell can show 12 while storing text rather than a number. A range-based SUM ignores text, so a column of these values can produce a total of zero. That is one possible cause of a wrong total, not a diagnosis by itself. Microsoft documents how SUM handles text.
This walkthrough uses Microsoft 365 or Excel 2024 on Windows, with English function names. Work on a copy of your workbook. The small practice example below uses whole numbers so decimal conventions do not affect it.
1. Check whether the cell should be a number
Convert quantities and amounts you intend to calculate. Leave postal codes, product IDs, and similar labels as text. Converting 00123 to a number removes its leading zeros; long identifiers can also lose precision. See Microsoft's explanation and our CSV guide for keeping leading zeros.
For a suspect value in A2, enter this in an empty cell formatted as General:
=ISNUMBER(A2)
- TRUE: A2 is already numeric. Check the formula or referenced range instead of converting it again.
- FALSE: A2 is not numeric. Check whether it is text with the next formula in another empty cell.
=ISTEXT(A2)
If ISTEXT returns TRUE, inspect the text and confirm it represents an amount or count. If both checks return FALSE, look for an empty cell, an error, or another value type. ISNUMBER does not convert text during its check, which makes it more useful than judging alignment or color. Microsoft's IS function reference explains these results.
2. Choose a conversion method
Use the warning menu when it is available
Select only the populated amount cells you want to change. Open their error indicator and choose Convert to Number. If no suitable warning appears, use the helper column below. This is Microsoft's documented error-indicator method.
Use a helper column to keep the original values
For text amounts starting in A2, reserve an empty column B and keep its formula cells formatted as General. In B2, enter:
=VALUE(A2)
Fill the formula down through the populated amount rows by dragging the small handle at B2's lower-right corner. Check the results before using column B in calculations.
VALUE converts recognized numeric text into a number. It returns #VALUE! when it cannot interpret the text. Microsoft's conversion walkthrough also shows this helper-column method. Avoid filling through headers, identifiers, or blank rows.
3. Try a complete example and check the total
The following is an original fictional practice exercise, with expected results derived from the documented functions.
Choose Save file for excel-number-practice.txt. Open the downloaded card in a text editor and enter the listed values and formulas in a blank Excel workbook. You can also read the card here.
Before entering any values, select A2:A4, then choose Home > Number Format > Text. Do the same for E2. Leave the other cells as General. Microsoft documents formatting empty cells as Text before entering values.
EXCEL TEXT-NUMBER PRACTICE
Start with a blank workbook.
Before entering data, format A2:A4 and E2 as Text.
Leave all other cells as General.
Type these labels and values into the named cells:
A1: Original amount
B1: Converted amount
C1: Numeric result?
E1: Reference code
A2: 12
A3: 7
A4: 5
E2: 00123
Enter these formulas into the named cells:
B2: =VALUE(A2)
B3: =VALUE(A3)
B4: =VALUE(A4)
C2: =ISNUMBER(B2)
C3: =ISNUMBER(B3)
C4: =ISNUMBER(B4)
A5: =SUM(A2:A4)
B5: =SUM(B2:B4)
E3: =ISTEXT(E2)
Expected results:
B2, B3, B4: 12, 7, 5
C2, C3, C4: TRUE, TRUE, TRUE
A5: 0
B5: 24
E2: 00123
E3: TRUE
Use the helper-column method, keeping A2:A4 unchanged for this exercise. The expected result is:
| Check | Expected result |
|---|---|
| Converted amounts in B2:B4 | 12, 7, and 5 |
| Numeric checks in C2:C4 | All TRUE |
| Original text total in A5 | 0 |
| Converted total in B5 | 24 |
| Code in E2 and its check in E3 | 00123 and TRUE |
The arithmetic is 12 + 7 + 5 = 24. A5 stays zero because its referenced cells still contain text. E2 remains a label, even though it contains digits. On your own data, compare several converted values and the total with the original source; a numeric result can still be the wrong amount.
If A5 already shows 24, check whether you entered the values before setting A2:A4 to Text, or converted that range directly. Repeat in a new blank sheet with Text selected first to reproduce the example.
4. Keep the checked results
You can use the helper column as your numeric data. If you need fixed values instead of formulas, copy the checked results to an empty output range using Home > Paste > Paste Special > Values. Keep the source and helper columns until you have checked the output. Microsoft explains replacing formulas with their results.
Before saving, confirm that the output has the expected row count, numeric checks pass for the intended amounts, and identifiers remain unchanged.
If the conversion still fails
VALUE returns an error
Inspect the original entry for units, punctuation, or unexpected characters. For example, 12 boxes contains both a quantity and a unit; decide what belongs in each column before converting. Do not replace a failed conversion with zero simply to make the total work.
When the source uses different decimal and thousands separators, NUMBERVALUE lets you specify them. For a source that uses a comma for decimals and a period for thousands, this standalone example returns the number 1234.5:
=NUMBERVALUE("1.234,50",",",".")
Confirm the source convention before applying it to a whole column. If your Excel uses semicolons between function arguments, use this equivalent formula; the punctuation inside quotes stays the same:
=NUMBERVALUE("1.234,50";",";".")
Microsoft documents regional differences in formula argument separators. The result's displayed decimal character also depends on your settings.
The formula appears as text
If you entered a formula into a Text cell, change that formula cell to General, press F2, then press Enter to accept it again. Make sure the formula starts with =. Keep your formula cells separate from the Text cells used for the practice inputs. Microsoft documents this repair in its broken-formula checklist.
ISNUMBER is TRUE but the total is wrong
Check which cells the total actually references. In the practice sheet, SUM(A2:A4) and SUM(B2:B4) deliberately calculate different columns. If your real workbook still disagrees, investigate its formulas and dependencies rather than repeating text conversion. Keep the original data available while you trace the problem.
Sources & verification
This guide is based on the documentation below. The instructions have not been independently tested in a live account or on every device.
- Convert numbers stored as text to numbers in Excel (opens in a new tab)Official source · Checked Nov 15, 2026
- IS functions (opens in a new tab)Official source · Checked Nov 15, 2026
- VALUE function (opens in a new tab)Official source · Checked Nov 15, 2026
- SUM function (opens in a new tab)Official source · Checked Nov 15, 2026
- Format numbers as text (opens in a new tab)Official source · Checked Nov 15, 2026
- Keeping leading zeros and large numbers (opens in a new tab)Official source · Checked Nov 15, 2026
- NUMBERVALUE function (opens in a new tab)Official source · Checked Nov 15, 2026
- Replace a formula with its result in Excel (opens in a new tab)Official source · Checked Nov 15, 2026
- Detect formula errors in Excel (opens in a new tab)Official source · Checked Nov 15, 2026
- How to avoid broken formulas in Excel (opens in a new tab)Official source · Checked Nov 15, 2026
What to keep in mind
- Instructions were checked against Microsoft's documentation on November 15, 2026. No live Excel UI or workbook test was performed; the fictional practice results are derived from the documented functions and manual arithmetic.
Prepared with AI assistance and reviewed against the listed sources. How we write and verify guides.