Auto sort a range into columns based on first 4 characters.

LessThanLeo

New Member
Joined
Jun 9, 2015
Messages
1
Long time lurker, first time poster.

Basically, I have a range consisting of 2 columns, a postcode, and a second column, that postcode trimmed down to district. eg. LE16 9HA in column one, and LE16 in column 2. There's also a further column just showing the first Letter...in this case L.

The total range has roughly 460K rows, what I'm looking to do is sort this data into columns based on the first part of the postcode...so LE16 in the column heading, then LE16 9HA, LE16 9EU etc. into the column below. Is there any easy way of doing this with a data set that's quite so vast?

Eventually I would like to sort these into separate sheets sorted by letter but I'll cross that bridge when I come to it.

Thanks in advance,

Leo
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
sorting on the full postcode should accomplish what you need
the size of your dataset shouldnt really be an issue
 
Upvote 0

Forum statistics

Threads
1,214,812
Messages
6,121,704
Members
449,048
Latest member
81jamesacct

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