Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 37
Default Sorting Directory City/Street/Number

I have a huge list of last name, home number, street and city
My goal is to separate the info into:
Street Name
House Number Last Name

i.e.
HIGGINS 1173 Birch Bark Ct
ARBINO 1177 Birch Bark Ct
SCHLOEMER 1185 Birch Bark Ct

could appear as:

Birch Bank Ct
1173 HIGGINS
1177 ARBINO
1185 SCHLOEMER

Thoughts?

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default Sorting Directory City/Street/Number

Hi,

Use this for the numbers. E4 contains the text string

=1*TRIM(MID(E4,MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},E4 &"0123456789")),SEARCH("
",E4,MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},E4&"01234567 89")))-MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},E4&"0123456789")) ))

Use this for the name

=LEFT(E4,SEARCH(" ",E4))

Hope this helps.

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Murph" wrote in message
...
I have a huge list of last name, home number, street and city
My goal is to separate the info into:
Street Name
House Number Last Name

i.e.
HIGGINS 1173 Birch Bark Ct
ARBINO 1177 Birch Bark Ct
SCHLOEMER 1185 Birch Bark Ct

could appear as:

Birch Bank Ct
1173 HIGGINS
1177 ARBINO
1185 SCHLOEMER

Thoughts?

Reply
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
How can I merge 4 excel columns to 1 column (street,city,st,zip SassyB Excel Discussion (Misc queries) 8 May 9th 23 07:43 PM
Seperate Name, Street Address & City, State Zip anna f Excel Worksheet Functions 4 April 8th 09 09:04 PM
Sorting Street Numbers BASR52 Excel Worksheet Functions 4 November 19th 08 10:54 PM
separate an address street/city,state,zip within a cell? Puzzled Excel Worksheet Functions 6 July 27th 07 12:28 PM
How do I sort a column of street number/street name by the stree. JHoleman1 Excel Worksheet Functions 3 January 8th 05 12:18 AM


All times are GMT +1. The time now is 02:32 AM.

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

About Us

"It's about Microsoft Excel"