# 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

</tbody>
AB900

### Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result

#### jamtay317

##### Well-known Member
put 3a-01
3a-02
and so on all the way to 10

#### DDon

##### Board Regular
I have to keep the zeros out

#### danzon

##### Well-known Member
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:

#### jamtay317

##### Well-known Member
you can put a space instead of the zero

#### DDon

##### Board Regular
perfect thank you

Don

Replies
6
Views
541
Replies
4
Views
452
Replies
8
Views
342
Replies
4
Views
185
Replies
10
Views
529

1,127,567
Messages
5,625,566
Members
416,117
Latest member
Qazzart2

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

### Which adblocker are you using?

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

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