Sorting Alphanumeric characters

RahulNa

Board Regular
Joined
Jul 12, 2012
Messages
120
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.
 

Some videos you may like

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.

Eric Kelcher

Board Regular
Joined
May 11, 2006
Messages
127
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
 

RahulNa

Board Regular
Joined
Jul 12, 2012
Messages
120
Office Version
  1. 365
Platform
  1. Windows
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.
 

Watch MrExcel Video

Forum statistics

Threads
1,122,214
Messages
5,594,882
Members
413,947
Latest member
gizmolucy

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
Top