Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 73
Default Comparing multiple columns in two sheets

I have two tables with 9 columns (fields) each. I want to cross-check
each table against the other to see what rows appear with all 9 fields
matching in the other table. (i.e. discrepency comparison).

I'd also like to flag which fields are not matching between the two
tables. There are no unique fields out of the 9. (i.e. I can't just
match a number in one table and compare the remaining fields ... any
field may have the same value for several rows).

Anyone have any ideas on how to do a multiple field comparison when
there is not a unique field?

I can write a macro, but thought I'd get some ideas first...

Thanks!

John

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 340
Default Comparing multiple columns in two sheets

Make sure the headings in both tables are the same then try an
advanced filter using one table as list range and the other as
criteria range.

If you filter this in place only the records that match will be
showing, you could then fill down an "X" in the adjacent column to
flag the matches.

Do the same for both tables so you get a list of matches, then you can
use autofilter to show the differences between the two tables.


On 30 Mar, 17:26, " wrote:
I have two tables with 9 columns (fields) each. I want to cross-check
each table against the other to see what rows appear with all 9 fields
matching in the other table. (i.e. discrepency comparison).

I'd also like to flag which fields are not matching between the two
tables. There are no unique fields out of the 9. (i.e. I can't just
match a number in one table and compare the remaining fields ... any
field may have the same value for several rows).

Anyone have any ideas on how to do a multiple field comparison when
there is not a unique field?

I can write a macro, but thought I'd get some ideas first...

Thanks!

John



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
comparing multiple columns teejay Excel Worksheet Functions 3 August 2nd 06 03:24 PM
comparing multiple columns teejay Excel Worksheet Functions 0 August 2nd 06 02:01 PM
Comparing multiple columns daarun New Users to Excel 3 December 23rd 05 01:17 PM
Comparing columns iin 2 sheets to generate one CCTD via OfficeKB.com Excel Worksheet Functions 0 September 26th 05 08:34 PM
comparing 2 similar columns on seperate work sheets in 1 workbook Dan Excel Discussion (Misc queries) 4 September 20th 05 11:58 PM


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