PC Review


Reply
Thread Tools Rate Thread

Finding differences between two tables

 
 
Anne
Guest
Posts: n/a
 
      30th Jun 2003
Who can help me?

I have 2 tables with mainly the same names. I want to find the names that
are not in both list.

I managed to do it the following way, but I think that it can be done
easier.

I did:
Advances filter: as criterium range one of the 2 tables.
With Edit - Go To - I highlighted the visible cells and coloured them.
Removed the filter
With Edit - Find - Format - I highlighted the noncoloured cells.

Thanks Anne


 
Reply With Quote
 
 
 
 
Otto Moehrbach
Guest
Posts: n/a
 
      1st Jul 2003
Here are two ways you can do that but I wouldn't say they are much easier
than what you did. Put both lists on the same sheet in the same column, one
under the other, say in column A.
Data is in column A starting at A1.

Formula in B1 is =If(Countif(A:A,A1)=1,True,False) Drag this to bottom of

table. Values appearing more than once appear as false. This can be modified

easily to show dups, triplicates etc.



Also:

Format - Conditional Formatting

Formula is:

=COUNTIF(A:A,A1)>1

Set the format as you wish.



HTH Otto


"Anne" <(E-Mail Removed)> wrote in message
news:3f007393$0$76764$(E-Mail Removed)...
> Who can help me?
>
> I have 2 tables with mainly the same names. I want to find the names that
> are not in both list.
>
> I managed to do it the following way, but I think that it can be done
> easier.
>
> I did:
> Advances filter: as criterium range one of the 2 tables.
> With Edit - Go To - I highlighted the visible cells and coloured them.
> Removed the filter
> With Edit - Find - Format - I highlighted the noncoloured cells.
>
> Thanks Anne
>
>



 
Reply With Quote
 
Anne
Guest
Posts: n/a
 
      2nd Jul 2003
Thanks Otto, these are useful alternatives.

Anne


"Otto Moehrbach" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Here are two ways you can do that but I wouldn't say they are much easier
> than what you did. Put both lists on the same sheet in the same column,

one
> under the other, say in column A.
> Data is in column A starting at A1.
>
> Formula in B1 is =If(Countif(A:A,A1)=1,True,False) Drag this to bottom of
>
> table. Values appearing more than once appear as false. This can be

modified
>
> easily to show dups, triplicates etc.
>
>
>
> Also:
>
> Format - Conditional Formatting
>
> Formula is:
>
> =COUNTIF(A:A,A1)>1
>
> Set the format as you wish.
>
>
>
> HTH Otto
>
>
> "Anne" <(E-Mail Removed)> wrote in message
> news:3f007393$0$76764$(E-Mail Removed)...
> > Who can help me?
> >
> > I have 2 tables with mainly the same names. I want to find the names

that
> > are not in both list.
> >
> > I managed to do it the following way, but I think that it can be done
> > easier.
> >
> > I did:
> > Advances filter: as criterium range one of the 2 tables.
> > With Edit - Go To - I highlighted the visible cells and coloured them.
> > Removed the filter
> > With Edit - Find - Format - I highlighted the noncoloured cells.
> >
> > Thanks Anne
> >
> >

>
>



 
Reply With Quote
 
Michael Goodwin
Guest
Posts: n/a
 
      4th Jul 2003
How about . . .

Sort both Tables by Name order (Important!)

Take first Table
Complete a new Column with this formula (assumes Name is in Col A)
If(vlookup(a1,Range_in second_table,1)=a1,"Matched","Not in Table 2")

Take the second Table
Complete a new Column with this formula (assumes Name is in Col A)
If(vlookup(a1,Range_in first_table,1)=a1,"Matched","Not in Table 1")

It may not report perfect matches for first names in the lists
so if your still with me
add a false name "aaaa" as to each Table before sorting. This ensure that
the first items will return "Matched"

M.

"Anne" <(E-Mail Removed)> wrote in message
news:3f007393$0$76764$(E-Mail Removed)...
> Who can help me?
>
> I have 2 tables with mainly the same names. I want to find the names that
> are not in both list.
>
> I managed to do it the following way, but I think that it can be done
> easier.
>
> I did:
> Advances filter: as criterium range one of the 2 tables.
> With Edit - Go To - I highlighted the visible cells and coloured them.
> Removed the filter
> With Edit - Find - Format - I highlighted the noncoloured cells.
>
> Thanks Anne
>
>



 
Reply With Quote
 
Anne
Guest
Posts: n/a
 
      9th Jul 2003
Thanks Michael,
I think this is a very good solution.
Anne

"Michael Goodwin" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> How about . . .
>
> Sort both Tables by Name order (Important!)
>
> Take first Table
> Complete a new Column with this formula (assumes Name is in Col A)
> If(vlookup(a1,Range_in second_table,1)=a1,"Matched","Not in Table 2")
>
> Take the second Table
> Complete a new Column with this formula (assumes Name is in Col A)
> If(vlookup(a1,Range_in first_table,1)=a1,"Matched","Not in Table 1")
>
> It may not report perfect matches for first names in the lists
> so if your still with me
> add a false name "aaaa" as to each Table before sorting. This ensure that
> the first items will return "Matched"
>
> M.
>
> "Anne" <(E-Mail Removed)> wrote in message
> news:3f007393$0$76764$(E-Mail Removed)...
> > Who can help me?
> >
> > I have 2 tables with mainly the same names. I want to find the names

that
> > are not in both list.
> >
> > I managed to do it the following way, but I think that it can be done
> > easier.
> >
> > I did:
> > Advances filter: as criterium range one of the 2 tables.
> > With Edit - Go To - I highlighted the visible cells and coloured them.
> > Removed the filter
> > With Edit - Find - Format - I highlighted the noncoloured cells.
> >
> > Thanks Anne
> >
> >

>
>



 
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
Access 2003: Finding differences in two tables Steve F Microsoft Access ADP SQL Server 1 21st Mar 2009 07:16 AM
finding differences between 2 worksheets =?Utf-8?B?TG91aXNl?= Microsoft Excel Worksheet Functions 2 20th Sep 2006 02:14 PM
Finding Differences between sums of linked tables Amir Microsoft Access Reports 1 31st Jan 2005 07:25 PM
Finding differences between 2 set of data johnb Microsoft Access Getting Started 4 19th May 2004 03:49 AM
Finding differences between two tables =?Utf-8?B?U3RlZmFuIEpvaG5zb24=?= Microsoft Access Queries 2 6th Jan 2004 09:41 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:55 AM.