Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 04-13-2021, 08:34 AM
p45cal's Avatar
p45cal p45cal is offline Sort alphanumeric data using SORTBY Windows 10 Sort alphanumeric data using SORTBY Office 2019
Expert
 
Join Date: Apr 2014
Posts: 956
p45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond repute
Default

You're going to struggle to do this, because the values in the Item column are treated as text. So the sorting looks at characters one at a time from the left until they're different, so 1 comes before 6 even if there are zeroes after the 1.
You could try to extract the numerical value into a different column but it won't be easy.
You could also try to edit the values so that there are leading zeroes, so instead of:
RING BINDER, plastic, 6mm x 1.2m
you have
RING BINDER, plastic, 06mm x 1.2m


and instead of:
STAPLE WIRE, heavy duty, binder type, 23/6
you edit it to:
STAPLE WIRE, heavy duty, binder type, 23/06


It'll get difficult when you have the likes of:
1 1/2"
and

1 3/8"
because the 3/8ths is smaller than the 1/2 numerically, but not alphabetically.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sort alphanumeric data using SORTBY Sort data by month and by dates Marcia Excel 4 05-30-2018 01:51 AM
Sort alphanumeric data using SORTBY Please Help. I need to sort Data A-Z not sure if i need to use Macros steveyjohn Excel 1 11-14-2014 06:19 PM
Sort alphanumeric data using SORTBY When I sort my data, the sumif report changes amaka Excel 6 03-19-2014 04:55 AM
sort data in excel cabot Excel 1 08-17-2012 09:41 AM
Sort alphanumeric data using SORTBY Sort Data rkeles Excel 6 02-04-2012 01:31 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:27 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft