# sorting numbers

#### DDon

##### Board Regular
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

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
put 3a-01
3a-02
and so on all the way to 10

I have to keep the zeros out

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:
you can put a space instead of the zero

perfect thank you

Don

Replies
1
Views
283
Replies
8
Views
1K
Replies
3
Views
453
Replies
6
Views
333
Replies
2
Views
190

Threads
1,203,502
Messages
6,055,772
Members
444,822
Latest member
Hombre

### 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

### 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