Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default Compare two datasets and extract unique records from each

Hi,

I am struggling a bit with this problem--I can find lots of ways to
compare two lists with single columns, but I need a very basic guide
to comparing multiple ones across two sets of data and then
highlighting or extracting the unique records.

I currently have the two datasets as two separate worksheets in an
Excel file. The two datasets consist of the same three columns
containing strings of text, but there is quite a difference in the
number of rows. Dataset One is c. 3550 records, Dataset 2 is c. 1600.
There are no duplicate records within each dataset, but there are
duplications across the datasets and the records are in a different
order, so it's not a matter of comparing Row 1 to Row 1 and so on. The
data look a bit like this (semi-colons to show columns):
DATASET 1
Group;Family;Name
PM;Smith;Mary Anne
PM;Jones;Fred Henry
PD;Wilson;Peter John
PG;Green;William Laurence
....

DATASET 2
Group;Family;Name
PM;Jones;Ralph John
PD;Smith;Fred Anthony
PM;Smith;Mary Anne
....

What I want is:
(a) a list of the records that are in Dataset One but NOT in Dataset
Two (or a way to highlight these records) and
(b) a list of the records that are in Dataset Two but NOT in Dataset
One (or a way to highlight these records).
There may also be records with missing data/blanks in any one of the
fields and I would like these to be highlighted or extracted as well,
if they are unique to one dataset.

Is this at all possible? Any help would be greatly appreciated!


Thanks in advance,
Michelle
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 345
Default Compare two datasets and extract unique records from each

Michelle
Have you tried Advanced Filter Unique Records?

" wrote:

Hi,

I am struggling a bit with this problem--I can find lots of ways to
compare two lists with single columns, but I need a very basic guide
to comparing multiple ones across two sets of data and then
highlighting or extracting the unique records.

I currently have the two datasets as two separate worksheets in an
Excel file. The two datasets consist of the same three columns
containing strings of text, but there is quite a difference in the
number of rows. Dataset One is c. 3550 records, Dataset 2 is c. 1600.
There are no duplicate records within each dataset, but there are
duplications across the datasets and the records are in a different
order, so it's not a matter of comparing Row 1 to Row 1 and so on. The
data look a bit like this (semi-colons to show columns):
DATASET 1
Group;Family;Name
PM;Smith;Mary Anne
PM;Jones;Fred Henry
PD;Wilson;Peter John
PG;Green;William Laurence
....

DATASET 2
Group;Family;Name
PM;Jones;Ralph John
PD;Smith;Fred Anthony
PM;Smith;Mary Anne
....

What I want is:
(a) a list of the records that are in Dataset One but NOT in Dataset
Two (or a way to highlight these records) and
(b) a list of the records that are in Dataset Two but NOT in Dataset
One (or a way to highlight these records).
There may also be records with missing data/blanks in any one of the
fields and I would like these to be highlighted or extracted as well,
if they are unique to one dataset.

Is this at all possible? Any help would be greatly appreciated!


Thanks in advance,
Michelle

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default Compare two datasets and extract unique records from each

Hi Ron,

No, I'm afraid I don't know a way to do what I need to using Advanced
Filter. Can you elaborate?


Thanks,
Michelle
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default Compare two datasets and extract unique records from each

Hi Ron,

I'm afraid I don't know a way to achieve what I'm after using Advanced
Filter. Can you please elaborate?


Thanks,
Michelle
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
Compare two lists; return only unique records Lkyred19 Excel Worksheet Functions 3 January 14th 08 03:38 PM
extract unique records from one column Mahendra raj, Coimbatore Excel Worksheet Functions 2 May 8th 07 01:14 PM
In Excell-2000, database how do you extract unique records bgpereira Excel Worksheet Functions 5 December 24th 05 06:47 AM
Compare 2 Sheets and Extract Unique Info to a 3rd Sheet kilo1990 Excel Discussion (Misc queries) 7 December 19th 05 10:36 PM
Extract Unique Records from two lists MarkN Excel Worksheet Functions 3 November 11th 05 01:07 PM


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