Sorting Alphanumeric characters

RahulNa

Board Regular
Joined
Jul 12, 2012
Messages
125
Office Version
  1. 365
Platform
  1. Windows
Hi


The below is a set of data which I have where the sname is sorted in a particular sequence.

Abcd....z0123456789

So the record are sorted first with alphabet character and then by number.

But when I try to sort the same in Excel it doesn't work according to the above order.


S.no.SNAM
1
AJ6VP6

<tbody>
</tbody>
2
AJ6VQ0

<tbody>
</tbody>
3
AJ6VZ7

<tbody>
</tbody>
4
AJ6V01

<tbody>
</tbody>
5
AJ6V02

<tbody>
</tbody>

<tbody>
</tbody>


Please Suggest how to sort according to the given order.
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
not sure I am following as the 5th character changes from letters to numbers so that may be what is throwing it, but appears to sort as desired if you format the cells as text
 
Upvote 0
Hi Eric,

Thank You for the response.

I have more than 15000 unique records like that, and I don't want to mess up the order.

I even tried to break the records individually in different column and tried to sort it but still the same issue.

It's sorting the numbers first and then sorting the alphabets.
 
Upvote 0

Forum statistics

Threads
1,215,572
Messages
6,125,605
Members
449,238
Latest member
wcbyers

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top