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
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

danzon

Well-known Member
Joined
Oct 11, 2010
Messages
662
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:
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,632
Messages
5,838,470
Members
430,549
Latest member
jayjay2022

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