Sorting Canadian postal codes

kevintnb

New Member
Joined
Oct 23, 2005
Messages
9
Hi All: I need to sort postal codes from an Excel mailing list. The need is to be able to sort (example E2E 4G7) all of the E's then the E2's, then the E2E's then all of the E2E4's etc. They currently reside in one cell as a code. Is there a way to extract the data from a cell and send each character to a separate cell so that it can be sorted as I have described?

Maybe pie in the sky ...but would appreciate any input.

Thanks
Kevin
 

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.
Did you try using Excels built in Sort function?

Go to Data --> Sort. I was able to sort a sample of Zip Codes without breaking the characters apart into individual cells.
 
Upvote 0
For all us non Canadians, can you give us a representative selection of the codes and what the desired result would be.
 
Upvote 0
Canadian Postal Codes

Hi: Guess I should have listened to the old saying "Look before you leap".
The Data Sort function does an excellent job sorting these codes. Thanks for yor responces. What ever made me think that Excel couldn't handle this simple task?????

Thanks again
Kevin
 
Upvote 0

Forum statistics

Threads
1,216,105
Messages
6,128,859
Members
449,472
Latest member
ebc9

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