Sorting a column with numbers and letters!

krazykevin76

Board Regular
Joined
Jan 8, 2006
Messages
70
Have a column of data with entries as such:

OCT14 1
OCT14 2
OCT14 3
OCT14 10
OCT14 11.......
MAR15 1....and repeats like the OCT14 above.

When sorting these, I have two issues. It puts the MAR entries before the OCT, because of the letters, so I'm looking for a fix for that. Then when I filter for say just the OCT entries, I have the issue of the 10, 11, and 12 going before the 2. So its
1
10
11
12
2
3

Is there any way to get around this without creating new columns? And if not, what would be the easiest way to do it?

Thank you
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
This formula requires a new column and converts data in A2 to Excel "Date" format:
Code:
=--(--RIGHT(A2,2)&"-"&LEFT(A2,3)&"-"&"20"&MID(A2,4,2))
 
Upvote 0

Forum statistics

Threads
1,224,885
Messages
6,181,587
Members
453,055
Latest member
cope7895

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
Back
Top