Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Comparing 2 tables

Hi,
I have 2 tables and i have to compare this 2 tables and find out what are
the new thing added to the second table and what are the things missing
comparing with the first table. After this i have to create a new 3rd table
with this report.

This will be mostly text comparisons. There are 3 columns in 2 of the
tables. Column 1 is DBNAME, Column 2 is TSNAME, Column 3 is PARTITION.

Tables are ,

TABLE 1
DBNAME TSNAME PARTITION
CLIDDATP CLIXUJRH
INEDATAP INEXAGTP
INEDATAP INEXDNCL 1
INEDATAP INEXDNCL 2
INEDATAP INEXDNCL 3
INEDATAP INEXDNCL
INEDATAP INEXDNCL 4
VTGDATAP IMFNDES1
VTGDATAP IMFNDE1
VTGDMTHE IMFNDES1
VTGDMTHE IMFNDE1

TABLE 2
DBNAME TSNAME PARTITION
CLIDDATP CLIXUJRH
INEDATAP INEXDNCL 3
INEDATAP INEXDNCL 4
VTGDATAP IBNXXES1
VTGDATAP IMFNDES1
VTGDMTHE IMFNDES1
VTGDMTHE IMFNDE1

Result Table,
DBNAME TSNAME PARTITION Added/Missing
INEDATAP INEXAGTP Missing
INEDATAP INEXDNCL 1 Missing
INEDATAP INEXDNCL 2 Missing
VTGDATAP IBNXXES1 Missing
VTGDATAP IMFNDE1 Missing
VTGDATAP IBNXXES1 Added
VTGDATAP IMFNDES1 Added


The example data i have given is very less.

For this reporting, the columns in excel are,
TABLE 1 - A1
DBNAME - A2
TSNAME - B2
PARTITION - C2

D column is blank

TABLE 2 - E1
DBNAME - E2
TSNAME - F2
PARTITON - G2

H column is blank

Result TAble - I1
DBNAME - I2
TSNAME - J2
PARTITON - K2
Added/Missing - L2

I hope this will be sufficient to explain my needs.
---------------------------
Thanks You in Advance,
Bobby
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 tables in access pm Excel Discussion (Misc queries) 1 June 5th 07 11:56 PM
Comparing 2 Tables Carl Excel Worksheet Functions 6 July 7th 06 02:36 AM
Comparing two tables Peter Steiner Excel Discussion (Misc queries) 6 December 23rd 05 10:11 AM
comparing tables/vectors Uka P. Excel Discussion (Misc queries) 8 December 15th 05 02:51 PM
Comparing data in tables Gerrym Excel Discussion (Misc queries) 2 March 3rd 05 08:07 PM


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