+ Reply to Thread
Results 1 to 2 of 2

Compare 2 or more worksheets by Key and then select required column values

  1. #1
    Registered User
    Join Date
    09-29-2010
    Location
    Bangalore
    MS-Off Ver
    Excel 2003
    Posts
    1

    Thumbs up Compare 2 or more worksheets by Key and then select required column values

    Hi,

    Let say worksheet1 and worksheet2 which is having the matched keys or not matched keys. Please find the below example.

    My requirement is to match Worksheet1 and Worksheet2 by column A and get the both matched and non matched values like as shown in Worksheet3 Output.

    Please suggest me any macros solution for this requirement.

    Example:

    Worksheet1

    Col A Col B
    111 XXXX
    222 YYYY
    333 ZZZZ
    444 XXXX
    555 FFFF


    Worksheet2

    Col A Col B
    111 AAAA
    333 BBBB
    777 CCCC
    999 DDDD

    I need to get a output as below in another worksheet say 3

    Worksheet3 - Output
    Col A Col B Col C
    111 xxxx AAAA
    222 yyyy
    333 zzzz BBBB
    444 xxxx
    555 FFFF
    777 CCCC
    999 DDDD


    Thanks in Advance,
    Raki

    -
    Last edited by vraki; 09-29-2010 at 08:29 AM. Reason: Please somebody reply it's urgent

  2. #2
    Forum Expert
    Join Date
    11-23-2005
    Location
    Rome
    MS-Off Ver
    Ms Office 2016
    Posts
    1,628

    Re: Compare 2 or more worksheets by Key and then select required column values

    See attahed file where I used this macro:

    Please Login or Register  to view this content.
    Regards,
    Antonio
    Attached Files Attached Files

+ 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