Sorting cells with letter and number content

tpepere

New Member
Joined
Mar 10, 2004
Messages
1
I'm trying to sort a substantial list of titles e.g. C1, C2, C3, C4... C10, C11, C12, C100 etc. However on sorting Excel arranges the cells C1, C10, C11, C12, C100, C2, C3, C4 (default sort order). Is there a way to sort the cells paying attention to the numeric value e.g. C1 then C2, not C1 then C100?

Kind regards.
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Can you pad your numeric portion with leading zeroes, like C001, C002,...C100?
 
Upvote 0
Hello,

Or can you split the cell into two columns with C and the number,then sort?

Alternatively create a custom list C1, C2.. C100 then use this asthe SORT under options.
 
Upvote 0
You can create a custom list in tools options custom lists. Add a new series as C1,C2,C3.

Then when you sort, change the options box to your list type instead of normal.

hope this helps
 
Upvote 0

Forum statistics

Threads
1,215,527
Messages
6,125,337
Members
449,218
Latest member
Excel Master

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