sorting numbers

DDon

Board Regular
Joined
Jan 25, 2009
Messages
58
i have a list of numbers, 3A-1 thru 3A-30. When I sort my numbers on my table, 3A-10 would be behind 3A-1 instead of 3A-2. How do I sort my column so all numbers will fall in order.

Thanks

Excel 2010
L
23A-1
33A-10
43A-11
53A-12
63A-13
73A-14
83A-15
93A-16
103A-17
113A-18
123A-19
133A-19
143A-19
153A-2
163A-2
173A-20

<colgroup><col style="width: 25pxpx"><col></colgroup><thead>
</thead><tbody>
</tbody>
AB900
 

Some videos you may like

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

danzon

Well-known Member
Joined
Oct 11, 2010
Messages
655
use a helper column. If your first line of numbers is in row 3, then in C3 enter the formula

=RIGHT(B3,LEN(B3)-FIND("-",B3))*1

drag that down and then sort on that new column
 
Last edited:

Watch MrExcel Video

Forum statistics

Threads
1,127,633
Messages
5,626,002
Members
416,150
Latest member
Dawzzy

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