Numbers stored as text in many Excel files: why SUM shows 0, and how to fix every file on a Mac
By Kayabyte · Last updated 11 November 2026
A column of numbers that Excel treats as text will not add up: SUM ignores those cells, sorting puts “100” before “20”, and lookups fail. In Excel for Mac you can fix one column at a time with the error alert, Text to Columns or Paste Special, Multiply (checked 11 November 2026 against Microsoft’s page on converting numbers stored as text). For a folder of workbooks, Gridhand’s Clean tool has a Numbers step that turns text that looks like a number into a number in every file, with a preview of examples and counts first. It takes .xlsx and .xlsm files only; a CSV goes through Convert first.
How to tell a number is really text
- It sits on the left of the cell when you expected it on the right.
- A small green triangle shows in the corner of the cell.
- The status bar shows a Count but no Sum for the selection.
- SUM or a pivot total comes out lower than it should, or as 0.
The manual fixes in Excel for Mac
Microsoft’s page lists these, and they work one range at a time:
- The error alert. Select the flagged cells, open the warning menu next to them and choose the option to convert to a number.
- Text to Columns. Select the column, choose Data, Text to Columns and click Finish. Then press Command-1 to pick the number format you want.
- Paste Special, Multiply. Type 1 in a blank cell and copy it. Select the text numbers, choose Home, Paste, Paste Special, Multiply and click OK.
- The VALUE function. In a new column, point VALUE at the text cell. This keeps the original column.
One caution that applies to all of them: a code such as 00123 (a ZIP code, a part number) is a text on purpose. Converting it removes the leading zeros.
Why this does not scale
With 30 monthly exports, each with several sheets, you repeat the steps on every sheet of every file, and nothing tells you which cells you skipped. Different files often have the problem in different columns.
With Gridhand
Gridhand Clean has a Numbers step: text that looks like a number becomes a number. Codes with leading zeros and codes of 12 or more digits stay text, so IDs and long account numbers are not damaged. The preview shows examples and counts before anything is written. You can tick the Spaces step in the same run, which trims the ends of text and collapses repeated and non-breaking spaces, a common reason a number is not recognised as one.
Results are new copies in the output folder you choose, with the file type kept (macros included). Your originals are never modified. The result lists notes under Check these, Left out, Changed on the way and Good to know; Copy Report copies them as text.
Steps with Gridhand
- Drop the workbooks, or a folder, into Gridhand and choose Clean.
- Tick Numbers, and Spaces if the text has stray spaces. Leave the other steps off.
- Read the preview: examples and counts per step.
- Choose an output folder and press Run, then open the report and read the notes marked Check these.
Free for your first 2 runs (up to 2 files each), then Gridhand Pro is USD 49 once. Previews are always free. Download Gridhand
Questions
Will it strip the leading zeros from my ZIP codes? No. Codes with leading zeros stay text, and so do codes of 12 or more digits.
What about a CSV? Gridhand’s other tools take .xlsx and .xlsm only. Run the CSV through Convert, which makes real numbers only when the whole column agrees, then Clean the result if needed.
Does it change the originals? No.
Related guides
- Clean data in many Excel files at once on a Mac
- Keep leading zeros when you open a CSV in Excel on a Mac
- Batch convert CSV files to XLSX on a Mac
Microsoft and Excel are trademarks of the Microsoft group of companies. Gridhand is made by Kayabyte and is not affiliated with or endorsed by Microsoft.
More guides
- Is there an ASAP Utilities for Mac, and what can you use instead?
- How do you combine multiple CSV files into one Excel workbook on a Mac?
- How do you combine multiple Excel files into one sheet on a Mac?
- How do you compare two Excel files on a Mac?
- How do you convert XLSX to CSV on a Mac, for every sheet and many files?
- Why are the dates in my CSV the wrong way round, or stuck as text, in Excel on a Mac?
- Why does a CSV show garbled characters or sit in one column in Excel on a Mac?
- A CSV with more rows than Excel can hold: how to split it into several files on a Mac
- How do you find and replace in multiple Excel files on a Mac?
- How do you change a reference or a value inside formulas across many Excel files on a Mac?
- Gridhand on the Mac App Store or direct from kayabyte.dev: which should you use?
- Gridhand vs Kiolix Xel and SysTools Excel Split & Merge on a Mac
- Gridhand vs XLclick vs XLWizard: which Excel tool for Mac?
- Is there a Kutools for Mac, and what are the alternatives for Mac?
- How do you merge CSV files on a Mac?
- How do you merge Excel files on a Mac?
- Can you use Power Query on a Mac to merge Excel files?
- How do you remove blank rows from many Excel files at once on a Mac?
- How do you remove duplicates from two or more Excel files?
- How do you split Excel data into one file per customer, region or month on a Mac?
- How do you split an Excel workbook into one file per sheet, or every N rows, on a Mac?
- How do you unmerge cells in many Excel files at once on a Mac?
- How do you do a VLOOKUP between two Excel files on a Mac?