ToolsEdit PDFArticlesPricingContact
TipsNov 9, 2026·4 min read

Numbers Stored as Text in Excel: Why SUM Fails and the Fix

TPTry PDF Kit team
Numbers Stored as Text in Excel: Why SUM Fails and the Fix

Numbers stored as text in Excel make SUM return zero and sorting go wrong. Learn the causes, how to spot them and how to convert them to real numbers.

When a column of figures will not add up, the usual culprit is numbers stored as text. Excel sees "1,250" or "45%" as words, not as values, so SUM returns zero or a short total and sorting puts 100 before 20. Convert numbers stored as text turns text like "1,250" and "45%" into real numbers Excel can add up.

How to tell it is text

Look for these signs.

  • Numbers sit on the left side of the cell instead of the right, when the cell has default alignment.
  • A small green triangle appears in the corner of cells.
  • The status bar shows a count but no sum when you select the column.
  • Sorting gives a strange order: 1, 10, 100, 2, 20 instead of 1, 2, 10, 20, 100.
  • A formula that should work returns an error or zero.

Why it happens

The most common causes are exports from other systems, copy and paste from websites or PDFs, and CSV imports where a program guessed wrong. Other sources:

  • A leading apostrophe or space before the number.
  • A trailing space, which looks invisible.
  • Thousands separators or currency symbols written in a style Excel's regional settings do not expect.
  • A percent sign or text such as "Rs." or "USD" attached to the number.
  • The cell was formatted as Text before the value was typed.

Changing the format to Number afterwards often does nothing, because Excel only reformats a text cell when you edit it again. This is why people end up pressing F2 and Enter on cell after cell.

Fix it in bulk

  • Open the number converter and add your file.
  • Run it on the sheet. Text such as "1,250" and "45%" becomes real numbers.
  • Download the new file and select the column. The status bar should now show a sum.
  • Sort the column to confirm the order is numerical.

If the values also have invisible spaces, run Trim Excel whitespace first, which strips stray spaces from the start and end of every text cell. If the values contain a unit word such as "kg", use Find and replace spreadsheet values to remove the unit before converting.

Check the file came in right in the first place

If the problem starts at import, do the CSV conversion properly. CSV to Excel builds a workbook with real numbers and dates, and the CSV encoding converter fixes garbled text that can hide a bad character inside a number.

For a quick health check, Spreadsheet column statistics gives count, unique values, sum, average, min and max for each column. If a column that should be numeric shows no sum or average, you know it is still text.

When the dates are the issue

A date column stored as text has the same symptoms: it sorts alphabetically and cannot be used in date formulas. See our guide on mixed date formats in Excel for that case, or run Normalize date columns.

Keep it from happening again

  • Do not format an entire column as Text unless you want to keep leading zeros, such as in ID codes.
  • Remove currency symbols and units from numeric columns, and put the unit in the header.
  • Check any CSV that comes from another system before you build formulas on it.

Privacy

Finance sheets deserve care. The tools process the file in your browser, without uploading it. A few free uses are available without an account, then you sign in with Google.

Frequently asked questions

Why does Excel SUM give 0 for my numbers?

The numbers are stored as text, so SUM ignores them. Converting them to real numbers makes the sum work.

How do I convert text to numbers in Excel in bulk?

Use a converter that handles whole sheets at once, so you do not need to edit each cell. After conversion, check the total in the status bar.

Will converting remove leading zeros?

Real numbers cannot keep leading zeros, so do not convert columns like phone numbers or ID codes. Leave those as text.

Ready to try it on your own files? Try PDF Kit gives you 3 free uses without an account.

Browse all toolsBrowse all tools

Keep reading.

Every PDF tool you need, in one place.

Try 3 tools free, no account needed.

Start for freeStart for freeBrowse all toolsBrowse all tools
Numbers Stored as Text in Excel: Why SUM Fails and the Fix | Try PDF Kit