Sorting Alpha-Numeric Data

Smokeyham

Board Regular
Joined
Feb 1, 2006
Messages
118
Office Version
  1. 365
Platform
  1. Windows
Seems this should be fairly simple, but various things I have tried after Google searches have not worked. I would like to sort the following in Alpha-numeric order, but can't get the number sorting correct.

P101
P102
P103
P104
P105
P106
P107
P108
P109
P110
P111
P43
P50
P78
P79
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.

mcmuney

Board Regular
Joined
Sep 11, 2015
Messages
88
You'll need to involve a second column to achieve the results you're looking for. If the first character will always be a letter, you can use the MID formula (=MID(A2,2,10)) to extract numbers only in the new column. Then, sort on the new column.
 
Last edited:
Solution

Smokeyham

Board Regular
Joined
Feb 1, 2006
Messages
118
Office Version
  1. 365
Platform
  1. Windows
Thanks so much! That did what I needed it to.
 

Forum statistics

Threads
1,148,108
Messages
5,744,876
Members
423,907
Latest member
zerocool88

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