Forum Discussion
Irregular Sorting in Excel
I have tried copying the data (paste values only) into a new file but the results are still the same.
19 Replies
- Lewis-HIron ContributorSelect one cell in the column you want to sort.
Press Ctrl + A, to select the entire region.
Check the selected area, to make sure that all the data is included.
On the Excel Ribbon, click the Home tab.
In the Editing group, click the arrow on Sort & Filter.
Click Custom Order.- Paul_CastelinoCopper ContributorData is in a Table format so the Sorting steps are correct. The issue is that ot does not sort in correct order from my Laptop but the same file sorts correctly from other devices.
- SergeiBaklanDiamond Contributor
If your laptop is on Windows did you have a chance to test on another Windows machine? Or perhaps you could submit the file in question here to remove sensitive information.
- SergeiBaklanDiamond Contributor
Do you have the same result if you sort manually, not by function? If so, do you have the same locale as on other computer?
- Paul_CastelinoCopper ContributorI tried Sorting thru the DATA, SORT option as well as using the SORT formula. Both give the same details from my Laptop.
The file is stored in OneDrive / Sharepoint.- SergeiBaklanDiamond Contributor
Okay, let start from scratch.
- is another sorting order on your laptop for sorting numbers or texts or months or all of above?
- sorting could depend on locale (regional settings), are they the same for the laptop and another computer on which you tested?
- if copy the file from OneDrive to local folder (not synced with OneDrive) will you have the same sorting order as for the OneDrive file?
- what are regional settings for OneDrive?
But first question what is sorting incorrectly. E.g. 5,9,1 is sorted as 9,5,1 or doesn't sorted at all or what.