Sorting Letters and Numbers

b19upj

New Member
Joined
Oct 3, 2014
Messages
34
Office Version
  1. 365
Platform
  1. Windows
Hi,

I need to sort a table to be in order of the numbers and letters from column A.
They are not in order at the moment. I would like them to look like this:
1
1a
1b
1c
1d
1e
1f...
2
2a
2b
2c
2d
2e... etc

Pressing 'Sort A-Z' does not give me this.

Any suggestions?

TIA
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Put this formula in a helper column


=LOOKUP(1E300,--LEFT(A1,ROW(INDIRECT("1:"&LEN(A1)))))

Select your data and the helper column and sort on the helper column.
 
Upvote 0
You can do this by features on the ribbon.
First separate the numbers from the letters, using the text to columns on the data tab. (use "fixed with" in the dialogue box and used the slide ruler)
Then select both columns and use the custom sort on the home tab. Use the add level button to select a second column to sort by.
Then when that's done use concatenate to get your original letter/number format back.
 
Upvote 0
I have the same problem. I a quite new to this and have no clue what a helper column is. Will this formula work on any column or do I have to change numbers?
 
Upvote 0
A helper column is just a blank column to the left or right of the one your data is in. Insert one if needed. That's where you put your formula and get your altered data.
Yep, the numbers have to be changed depending on where your data is.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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