PC Review


Reply
Thread Tools Rate Thread

Data Sort Unique

 
 
wabbleknee
Guest
Posts: n/a
 
      20th Sep 2011
Excel 2010. I have 8 columns of data and I want a unique sort of all these
columns based on the 2nd column (name) i.e. After a unique sort, I only
want the first occurrence of the persons name. It is easy enough to do
with just one column, but the sort must carry all the other data with it.
Tx

 
Reply With Quote
 
 
 
 
GS
Guest
Posts: n/a
 
      20th Sep 2011
wabbleknee formulated the question :
> Excel 2010. I have 8 columns of data and I want a unique sort of all these
> columns based on the 2nd column (name) i.e. After a unique sort, I only
> want the first occurrence of the persons name. It is easy enough to do with
> just one column, but the sort must carry all the other data with it. Tx


You can select all the columns of data to be sorted and specify which
column to use as the sort criteria. Check onlline help for examples and
a description of the various sort criteria you can use.

--
Garry

Free usenet access at http://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc


 
Reply With Quote
 
Don Guillett
Guest
Posts: n/a
 
      20th Sep 2011
On Sep 19, 9:27*pm, GS <g...@somewhere.net> wrote:
> wabbleknee formulated the question :
>
> > Excel 2010. *I have 8 columns of data and I want a unique sort of allthese
> > columns based on the 2nd column (name) *i.e. *After a unique sort, I only
> > want the first occurrence of the persons name. * It is easy enough todo with
> > just one column, but the sort must carry all the other data with it. Tx

>
> You can select all the columns of data to be sorted and specify which
> column to use as the sort criteria. Check onlline help for examples and
> a description of the various sort criteria you can use.
>
> --
> Garry
>
> Free usenet access athttp://www.eternal-september.org
> ClassicVB Users Regroup! comp.lang.basic.visual.misc

Send your file with a complete explanation and before/after examples
to (E-Mail Removed)

 
Reply With Quote
 
wabbleknee
Guest
Posts: n/a
 
      22nd Sep 2011


"Don Guillett" wrote in message
news:29d3d1c6-9b06-4e1b-87a9-(E-Mail Removed)...

On Sep 19, 9:27 pm, GS <g...@somewhere.net> wrote:
> wabbleknee formulated the question :
>
> > Excel 2010. I have 8 columns of data and I want a unique sort of all
> > these
> > columns based on the 2nd column (name) i.e. After a unique sort, I
> > only
> > want the first occurrence of the persons name. It is easy enough to do
> > with
> > just one column, but the sort must carry all the other data with it. Tx

>
> You can select all the columns of data to be sorted and specify which
> column to use as the sort criteria. Check onlline help for examples and
> a description of the various sort criteria you can use.
>
> --
>Yes, sorting of the data is easy and selecting the column to sort by, but
>that is NOT the question. i.e. If I am sorting by the last name "jones"
>and there are more than one occurrence of that same person "Jones" after
>the sort, I want only one occurrence of the row that contains "Jones".
>Under sort, advanced you have the option of Unique, meaning only one
>occurrence. In the original post " After a unique sort, I only want the
>first occurrence of the persons name"


 
Reply With Quote
 
wabbleknee
Guest
Posts: n/a
 
      22nd Sep 2011


"wabbleknee" wrote in message news:j5frlu$tva$(E-Mail Removed)...



"Don Guillett" wrote in message
news:29d3d1c6-9b06-4e1b-87a9-(E-Mail Removed)...

On Sep 19, 9:27 pm, GS <g...@somewhere.net> wrote:
> wabbleknee formulated the question :
>
> > Excel 2010. I have 8 columns of data and I want a unique sort of all
> > these
> > columns based on the 2nd column (name) i.e. After a unique sort, I
> > only
> > want the first occurrence of the persons name. It is easy enough to do
> > with
> > just one column, but the sort must carry all the other data with it. Tx

>
> You can select all the columns of data to be sorted and specify which
> column to use as the sort criteria. Check onlline help for examples and
> a description of the various sort criteria you can use.
>
> --
>Yes, sorting of the data is easy and selecting the column to sort by, but
>that is NOT the question. i.e. If I am sorting by the last name "jones"
>and there are more than one occurrence of that same person "Jones" after
>the sort, I want only one occurrence of the row that contains "Jones".
>Under sort, advanced you have the option of Unique, meaning only one
>occurrence. In the original post " After a unique sort, I only want the
>first occurrence of the persons name"


An example perhaps: 3 columns 4 rows

Before

Jones | Bob | Fl
Smith | Joe | MA
Jones | Bob | Tx
Jones | Bob | MN

AFter Unique sort first column

Jones | Bob | FL
Smith | Joe | MA




 
Reply With Quote
 
wabbleknee
Guest
Posts: n/a
 
      27th Sep 2011


"wabbleknee" wrote in message news:j5fskp$sa$(E-Mail Removed)...



"wabbleknee" wrote in message news:j5frlu$tva$(E-Mail Removed)...



"Don Guillett" wrote in message
news:29d3d1c6-9b06-4e1b-87a9-(E-Mail Removed)...

On Sep 19, 9:27 pm, GS <g...@somewhere.net> wrote:
> wabbleknee formulated the question :
>
> > Excel 2010. I have 8 columns of data and I want a unique sort of all
> > these
> > columns based on the 2nd column (name) i.e. After a unique sort, I
> > only
> > want the first occurrence of the persons name. It is easy enough to do
> > with
> > just one column, but the sort must carry all the other data with it. Tx

>
> You can select all the columns of data to be sorted and specify which
> column to use as the sort criteria. Check onlline help for examples and
> a description of the various sort criteria you can use.
>
> --
>Yes, sorting of the data is easy and selecting the column to sort by, but
>that is NOT the question. i.e. If I am sorting by the last name "jones"
>and there are more than one occurrence of that same person "Jones" after
>the sort, I want only one occurrence of the row that contains "Jones".
>Under sort, advanced you have the option of Unique, meaning only one
>occurrence. In the original post " After a unique sort, I only want the
>first occurrence of the persons name"


An example perhaps: 3 columns 4 rows

Before

Jones | Bob | Fl
Smith | Joe | MA
Jones | Bob | Tx
Jones | Bob | MN

AFter Unique sort first column

Jones | Bob | FL
Smith | Joe | MA

I finally found a method to achieve what I wanted, much easier then the
method I was using.
Used the "remove duplicates" button which to my satisfaction allowed one to
choose the column when removing duplicates (or allowing only unique values)
to remain.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sort unique data from a colum TR Young Microsoft Excel Worksheet Functions 2 30th Dec 2009 07:11 PM
Filer for unique records and return all column data for unique rec bseeley Microsoft Excel Misc 1 12th Sep 2009 12:17 AM
Sort List, Create Sheet for each unique item in column, move data J.W. Aldridge Microsoft Excel Programming 3 11th Apr 2008 07:33 PM
Attempting to sort unique/only count first record in each unique g =?Utf-8?B?TUpX?= Microsoft Excel Misc 3 10th Aug 2007 02:56 PM
how to sort for unique data lalaexcel Microsoft Excel Discussion 4 8th Apr 2006 03:47 AM


Features
 

Advertising
 

Newsgroups
 


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