sorting a column

KyaPam

New Member
Joined
Sep 22, 2006
Messages
20
I need to sort a column of room numbers.
They sorted like this...
IC16
A1
A2
C19
C2
C6
CC1
CC10
CC2

How do I get them to sort like this?
A1
A2
B1
B2
C2
C19
CC1
CC2
CC10
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

Airfix9

Well-known Member
Joined
Sep 23, 2005
Messages
886
It is possible that you had "Header Row" selected on the filter. That would account for IC16 remaining at the top (I assume that it was at the top originally.

In AlphaNumeric sorting CC10 would come between CC1 and CC2. The only way around this would be to rename the latter two to CC01 and CC02 etc. This would then sort the list properly.

Hope that helps.
 

Airfix9

Well-known Member
Joined
Sep 23, 2005
Messages
886
Sometimes the simplest of answers are the hardest to find.

You're welcome.
 

Forum statistics

Threads
1,136,261
Messages
5,674,705
Members
419,520
Latest member
Jennifer4Dillon

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