Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.setup
external usenet poster
 
Posts: 2
Default How do I sort postal addresses by street name, then number

The street address column has street number and name together. (28
Maple Ave.) How do I sort by street name, then by number?

thanks for any help
  #2   Report Post  
Posted to microsoft.public.excel.setup
external usenet poster
 
Posts: 515
Default How do I sort postal addresses by street name, then number

Split into 2 columns
--
Hth

Kassie Kasselman
Change xxx to hotmail


"Mel" wrote:

The street address column has street number and name together. (28
Maple Ave.) How do I sort by street name, then by number?

thanks for any help

  #3   Report Post  
Posted to microsoft.public.excel.setup
external usenet poster
 
Posts: 206
Default How do I sort postal addresses by street name, then number

Yes the best way would be to separate the first part of the string
You could use text to columns Data=text to columns
Or use this
=RIGHT(A1,LEN(A1)-SEARCH(" ",A1))
This will display anything after the first space in the string
Then you can sort
  #4   Report Post  
Posted to microsoft.public.excel.setup
external usenet poster
 
Posts: 2,480
Default How do I sort postal addresses by street name, then number

Hi Mel

I would add another column at the right of existing data.
Assuming your address is in column A, enter in the new column
=MID(A2,FIND(" ",A2)+1)&" "&TEXT(LEFT(A2,FIND(" ",A2)-1),"0000")

This will reverse the data
Maple Avenue 0028
Then Mark your whole block of data but sort on the new Column
You will then Have the data sorted by Street, and by number within Street
(as long as numbers are less than 9999)
--
Regards
Roger Govier

"Mel" wrote in message
...
The street address column has street number and name together. (28
Maple Ave.) How do I sort by street name, then by number?

thanks for any help


  #5   Report Post  
Posted to microsoft.public.excel.setup
external usenet poster
 
Posts: 2,480
Default How do I sort postal addresses by street name, then number

Apologies Mel
I left out part of the mid function.
That should have read
=MID(A2,FIND(" ",A2)+1,99)&" "&TEXT(LEFT(A2,FIND(" ",A2)-1),"0000")

--
Regards
Roger Govier

"Roger Govier" <roger@technology4unospamdotcodotuk wrote in message
...
Hi Mel

I would add another column at the right of existing data.
Assuming your address is in column A, enter in the new column
=MID(A2,FIND(" ",A2)+1)&" "&TEXT(LEFT(A2,FIND(" ",A2)-1),"0000")

This will reverse the data
Maple Avenue 0028
Then Mark your whole block of data but sort on the new Column
You will then Have the data sorted by Street, and by number within Street
(as long as numbers are less than 9999)
--
Regards
Roger Govier

"Mel" wrote in message
...
The street address column has street number and name together. (28
Maple Ave.) How do I sort by street name, then by number?

thanks for any help




  #6   Report Post  
Posted to microsoft.public.excel.setup
external usenet poster
 
Posts: 2
Default How do I sort postal addresses by street name, then number

Thanks, it worked well.

On Feb 8, 5:37*pm, "Roger Govier" <roger@technology4unospamdotcodotuk
wrote:
Apologies Mel
I left out part of the mid function.
That should have read
=MID(A2,FIND(" ",A2)+1,99)&" "&TEXT(LEFT(A2,FIND(" ",A2)-1),"0000")

--
Regards
Roger Govier

"Roger Govier" <roger@technology4unospamdotcodotuk wrote in message

...

Hi Mel


I would add another column at the right of existing data.
Assuming your address is in column A, enter in the new column
=MID(A2,FIND(" ",A2)+1)&" "&TEXT(LEFT(A2,FIND(" ",A2)-1),"0000")


This will reverse the data

Thanks much. It worked well.

Maple Avenue 0028
Then Mark your whole block of data but sort on the new Column
You will then Have the data sorted by Street, and by number within Street
(as long as numbers are less than 9999)
--
Regards
Roger Govier


"Mel" wrote in message
....
The street address column has street number and name together. (28
Maple Ave.) *How do I sort by street name, then by number?


thanks for any help


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
transposing postal addresses monika Excel Worksheet Functions 3 June 17th 08 10:53 PM
How do I sorty by addresses, ignoring number, using street name pat Excel Worksheet Functions 1 April 11th 08 03:32 PM
Sorting street addresses Marta Excel Discussion (Misc queries) 5 July 18th 06 01:33 AM
Help! How to sort addresses by street then by #...... HelpingOthersTD New Users to Excel 1 June 15th 06 09:29 AM
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 11:25 PM.

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"