excel - Sort alphanumeric values -


i need sort list of part numbers alphanumerically. excel not sort them correctly though when open auto filter drop down shows them in order need.

they aren't uniform in length, contain letters, have leading zeros, maximum length of 15 characters. here list along correct sorting:

part       correct sort 00863      00863 1123       02257 02257      07706 6549       10338 6834       11212 07706      1123 8001       65412sscy 8001       6549 10338      6834 11212      8001 65412sscy  8001 en93       en93 scsm11be   scsm11be 

hoping macro or method.

if have values formatted text , not numbers custom number formats (for leading zeroes) need choose correct sort warning option.

        sort numbers text

if opt *sort numbers , numbers stored text separately, come teh correct (as per sample) sort order.

note text default left-aligned in cell while numbers (regardless of number formatting) right-aligned default.


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -