+ Reply to Thread
Results 1 to 4 of 4

Match 2 worksheets

  1. #1
    Registered User
    Join Date
    05-17-2010
    Location
    New York, USA
    MS-Off Ver
    Excel 2010
    Posts
    44

    Match 2 worksheets

    How do I match 2 worksheets of exactly the same format? Both worksheets have columns A thru I. The match should be on cells A (3-digits), B (4-digits) & F (date YYYYMMDD for example 20101027). I need to produce result of every row in Spreadsheet 1 that does not have a corresponding row in spreadsheet 2. Then I need to produce a result of every row in Spreadsheet 2 that does not have a corresponding row in Spreadsheet 1.
    What is the best solution to find mismatches?
    Thank you.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Match 2 worksheets

    Add a concatenation key to both Sheets - concatenating A, B & F - eg: =A1&"@"&B1&"@"&F1
    (use of delimiter between each value to avoid false positive matches)

    For each row on both sheets - simply search for the concatenated value on that row against all those listed on the other sheet (use MATCH)

    Use the MATCH results to allow you to generate a listing of the missing entries on either sheet (use Auto Filter for ex.) - result will be #N/A where no match is found.

  3. #3
    Registered User
    Join Date
    05-17-2010
    Location
    New York, USA
    MS-Off Ver
    Excel 2010
    Posts
    44

    Re: Match 2 worksheets

    Thank you. I do understand the concatenation part. However, I don't know how to use MATCH. Is this a command or something from pull down menu or some formula?
    Thank you.

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Match 2 worksheets

    MATCH is a function.

    Assume the concatenation column is Column Z on both Sheet1 and Sheet2.

    Assume further that you wish for the results of the MATCH to be stored in Column AA on either Sheet

    Please Login or Register  to view this content.
    and conversely

    Please Login or Register  to view this content.
    Use Column AA on each sheet to identify those entries present on one sheet but missing on the other.

+ 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