#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Sorting Data

A1 = Street number like 1234
B1 = Street name like lake wood drive

I want all records to be sorted by street name (B1) and then the records
with identical street names, to be sorted by their numbers, A1.

Thanks!
Curtis

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 915
Default Sorting Data

Curtis Stevens wrote:
A1 = Street number like 1234
B1 = Street name like lake wood drive

I want all records to be sorted by street name (B1) and then the records
with identical street names, to be sorted by their numbers, A1.

Thanks!

Hi Curtis,

Sorting is straightforward, but only if your data is "well-structured".

The most important things for "well-structured" data are

a) Your columns have labels in the first row (e.g., "street number" and
"street name" in row 1)

b) Your rows do not have breaks. I.e., *no blank rows anywhere between
data rows*.

c) Your columns do not have breaks. As in b), do not allow blank columns
to separate your data.

Points b) and c) are particularly important, for different reasons.

Anyway, if you have data that is "well-structured" according to my
definitions, all you need to do is

Put cursor anywhere in the data
Pick Data | Sort
In the Sort dialog,
choose "Street Name" as the first sort
choose "Street Number" as the second sort
click OK

Let's see how that works... Hope you do not have a mix of numeric and
alphanumeric data in "Street number".
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,345
Default Sorting Data

Just to add to smartin's post, you *can* sort with blank Rows or Columns
*provided* you select the area to be sorted first. Blank rows will be
sorted to the bottom of the list. It is also good to ensure that "My list
has Headers" is selected if you have headers.

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"smartin" wrote in message
...
Curtis Stevens wrote:
A1 = Street number like 1234
B1 = Street name like lake wood drive

I want all records to be sorted by street name (B1) and then the records
with identical street names, to be sorted by their numbers, A1.

Thanks!

Hi Curtis,

Sorting is straightforward, but only if your data is "well-structured".

The most important things for "well-structured" data are

a) Your columns have labels in the first row (e.g., "street number" and
"street name" in row 1)

b) Your rows do not have breaks. I.e., *no blank rows anywhere between
data rows*.

c) Your columns do not have breaks. As in b), do not allow blank columns
to separate your data.

Points b) and c) are particularly important, for different reasons.

Anyway, if you have data that is "well-structured" according to my
definitions, all you need to do is

Put cursor anywhere in the data
Pick Data | Sort
In the Sort dialog,
choose "Street Name" as the first sort
choose "Street Number" as the second sort
click OK

Let's see how that works... Hope you do not have a mix of numeric and
alphanumeric data in "Street number".



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Sorting Data

Select the whole range of data, (columns A and B, and as many rows as
applicable).

Data/ Sort/ Sort by (Column B) then by (Column A).
--
David Biddulph

"Curtis Stevens" wrote in message
...
A1 = Street number like 1234
B1 = Street name like lake wood drive

I want all records to be sorted by street name (B1) and then the records
with identical street names, to be sorted by their numbers, A1.

Thanks!
Curtis



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
Sorting of data ub Excel Worksheet Functions 2 April 1st 08 03:34 PM
Sorting Data Liz_Z Excel Discussion (Misc queries) 3 January 2nd 07 06:49 AM
Sorting data to match existing data Jack C Excel Discussion (Misc queries) 4 May 24th 06 09:48 AM
colors of bar charted data don't follow data after sorting Frankgjr Charts and Charting in Excel 2 January 17th 06 12:33 PM
data sorting vijaya Excel Worksheet Functions 5 November 17th 05 04:40 AM


All times are GMT +1. The time now is 09:23 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"