+ Reply to Thread
Results 1 to 2 of 2

comparing two tables

  1. #1
    Registered User
    Join Date
    03-26-2008
    Posts
    19

    comparing two tables

    I have 2 tables(worksheets) of customers' data and need to create another one out of these two.The new table consists of data which is in the first table only.In other words,if the data is in both tables then that particular row is excluded from the new table.Matching key is lets say ssn of the customers.So if same ssn appears in both tables then those two respective rows won't be in the new table.
    So how do i do it,how do i compare variables from two different worksheets?

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967
    One way to do this is to add a column to your first table containing a COUNTIF function and setting this to count the occurences of each index number in the second table.

    If the number is zero then the reference appears in the first table only. You can filter by the zero values, copy and paste into your new sheet.
    Martin

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1