LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave O
 
Posts: n/a
Default How do I list postcodes in order in Excel?

Please excuse my ignorance: are post codes always in the format
alpha-alpha-number-number-number?

Excel is treating these entries as text because of the BA characters.
If you separate the alpha characters from the numerics into two
different columns, you can sort on the different columns to get your
desired results. So if you enter two new columns, you can parse the
alpha characters into one column using this formula (assuming that post
codes always have two leading alpha characters, which was the genesis
behind my original question):
=MID(A1,1,2)
.... where A1 is a post code.

Then get the numeric portion in a new column with this formula:
=MID(A1,3,LEN(A1))

If a post code has a varying number of leading alpha characters, let us
know and we'll try a different solution.

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Address List in Excel getalife Excel Discussion (Misc queries) 2 May 29th 06 03:58 PM
CREATE LIST OBJECT IN EXCEL MIKE Excel Worksheet Functions 0 June 20th 05 08:13 AM
Excel Range Value issue (Excel 97 Vs Excel 2003) Keeno Excel Discussion (Misc queries) 2 June 13th 05 02:01 PM
list of all excel 2000functions R.VENKATARAMAN Excel Discussion (Misc queries) 3 June 13th 05 05:33 AM
Excel List to Table frtklau Excel Discussion (Misc queries) 1 February 17th 05 08:15 PM


All times are GMT +1. The time now is 04:44 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"