A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hi Charles,
What you’re describing is most often caused by some values that look like numbers but are actually being treated as text by Excel. When that happens, Excel sorts them alphabetically instead of numerically, which leads to results like 1, 10, 100, 2, 20 instead of 1, 2, 10, 20, 100.
This can happen for a few common reasons:
- The source cell contains a number stored as text
- There’s a leading apostrophe (for example
'123) - The cell contains hidden spaces or non‑printing characters
- Since the summary sheet is pulling values from other sheets, the issue often originates in the source sheets, not the summary sheet itself
A quick way to confirm this is to test one of the problematic cells with: =ISNUMBER(A2)
If this returns FALSE, Excel is not recognizing the value as a true number.
For a practical workaround, you can add a helper column next to the affected data and use: =VALUE(TRIM(CLEAN(SUBSTITUTE(A2,CHAR(160)," "))))
Then sort by that helper column. If the sort behaves correctly, that confirms the issue is caused by text values or hidden characters being carried over from the linked cells.
It’s also a good idea to check one of the original source cells directly. If the value on the source sheet is stored as text, any formula like =Sheet1!A1 will carry that issue forward. In that case, you can adjust the link to force numeric conversion, for example: =VALUE(Sheet1!A1) or =--Sheet1!A1
Since you’re working with around 70 sheets, fixing each formula manually could be time‑consuming. While Paste Special > Multiply can sometimes help convert text to numbers, it should only be used on cells that already contain values. Not formulas because applying it directly to linked formulas can overwrite them or return errors.
Please let me know if this proves useful to you, or if you would like further assistance.
I'm looking forward to your reply.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment”.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.