ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Sorting by Content (https://www.excelbanter.com/excel-discussion-misc-queries/261762-sorting-content.html)

Father John

Sorting by Content
 
Hi

I have a spreadsheet with numerous addresses in col. A 1-999

15 Smith Street Jonestown
21 George Street Blacktown etc.

In col B. 1-166 I have the name of all the suburbs in our region

How can is sort col. A by suburb using the name of the suburbs in Col.B. ?

Any help much appreciated

Regards
Stephen


ozgrid.com

Sorting by Content
 
I'm assuming you have blanks in Column "B" representing repeated Suburbs.
http://www.ozgrid.com/Excel/excel-fill-blank-cells.htm





--
Regards
Dave Hawley
www.ozgrid.com
"Father John" wrote in message
...
Hi

I have a spreadsheet with numerous addresses in col. A 1-999

15 Smith Street Jonestown
21 George Street Blacktown etc.

In col B. 1-166 I have the name of all the suburbs in our region

How can is sort col. A by suburb using the name of the suburbs in Col.B. ?

Any help much appreciated

Regards
Stephen



JLatham

Sorting by Content
 
From my reply in the duplicate post in Worksheet Functions:

select all of the cells involved in both columns (and any more with related
data), then use Data Sort and sort on Column B. To put the street addresses
in some kind of order within the suburb, choose Column A as the second sort
parameter.



"Father John" wrote:

Hi

I have a spreadsheet with numerous addresses in col. A 1-999

15 Smith Street Jonestown
21 George Street Blacktown etc.

In col B. 1-166 I have the name of all the suburbs in our region

How can is sort col. A by suburb using the name of the suburbs in Col.B. ?

Any help much appreciated

Regards
Stephen

.


Father John

Sorting by Content
 
Hi there
I don't think this will work as it will sort the total suburbs in B and the
addresses by street number in A
The data in B does not align with col. A as B only contains the name of the
suburbs in the region
Thanks
Stephen


"JLatham" wrote in message
...
From my reply in the duplicate post in Worksheet Functions:

select all of the cells involved in both columns (and any more with
related
data), then use Data Sort and sort on Column B. To put the street
addresses
in some kind of order within the suburb, choose Column A as the second
sort
parameter.



"Father John" wrote:

Hi

I have a spreadsheet with numerous addresses in col. A 1-999

15 Smith Street Jonestown
21 George Street Blacktown etc.

In col B. 1-166 I have the name of all the suburbs in our region

How can is sort col. A by suburb using the name of the suburbs in Col.B.
?

Any help much appreciated

Regards
Stephen

.



Father John

Sorting by Content
 
No the problem is the data I want to sort the column by is contained within
the address - it is not the lead part of the data
Col B has the full list of the suburbs that I am trying to d the sort with
The data in col. B does not form a part of the record for each line
Thanks
Stephen


"ozgrid.com" wrote in message
...
I'm assuming you have blanks in Column "B" representing repeated Suburbs.
http://www.ozgrid.com/Excel/excel-fill-blank-cells.htm





--
Regards
Dave Hawley
www.ozgrid.com
"Father John" wrote in message
...
Hi

I have a spreadsheet with numerous addresses in col. A 1-999

15 Smith Street Jonestown
21 George Street Blacktown etc.

In col B. 1-166 I have the name of all the suburbs in our region

How can is sort col. A by suburb using the name of the suburbs in Col.B.
?

Any help much appreciated

Regards
Stephen




NewToExcel[_2_]

Sorting by Content
 
You might try using substring to isolate the last work in column A into a new
column. Then you can sort on the new column.

"Father John" wrote:

Hi

I have a spreadsheet with numerous addresses in col. A 1-999

15 Smith Street Jonestown
21 George Street Blacktown etc.

In col B. 1-166 I have the name of all the suburbs in our region

How can is sort col. A by suburb using the name of the suburbs in Col.B. ?

Any help much appreciated

Regards
Stephen

.



All times are GMT +1. The time now is 11:04 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com