+ Reply to Thread
Results 1 to 5 of 5

Matching the records within worksheets

  1. #1
    Forum Contributor
    Join Date
    10-21-2010
    Location
    LONDON
    MS-Off Ver
    2007
    Posts
    108

    Matching the records within worksheets

    Hi,

    I am having 9 worksheets which has data about employee.Also I have a mastersheet which has matching records in various sheets.I want to match MasterSHEET with other worksheet example sheet1,sheet2,sheet3 ane sheet4.Matching criteria will be firstname,lastname or email address.Based on match it should pick worksheet name and source column from the worksheets.

    To understand the scenario in a better way I have attached the sheet.The output is marked with yellow color.

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    08-06-2012
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    119

    Re: Matching the records within worksheets

    I'm working on this, but it might take me some time. Just an FYI

  3. #3
    Forum Contributor
    Join Date
    08-06-2012
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    119

    Re: Matching the records within worksheets

    Alright, I am by no means a VBA expert, but this is what I have come up with, maybe someone else can make it better. This will only work if all of your data sheets (Sheets1-4 on the sample file) are setup the exact same way, that means S.NO in Column A, First Name in Column B... etc. I had to tweak the workbook to make it like that, so the code below is only going to work properly on the workbook I am uploading.

    That being said, here is what I have come up with:

    Please Login or Register  to view this content.
    Sample.xlsm

  4. #4
    Forum Contributor
    Join Date
    10-21-2010
    Location
    LONDON
    MS-Off Ver
    2007
    Posts
    108

    Re: Matching the records within worksheets

    If I have 10 worksheet example sheet1,sheet2... sheet10.And one Mastersheet ? I can standardize the columns names for firstname,lastname and email but placement of columns on a worksheet is different.

    Thanks Chaddug for your effort but its not working.I tried to enter some values into the sheet and it is not displaying result for firstname matched records.
    Last edited by lovinguy; 07-07-2014 at 04:24 PM.

  5. #5
    Forum Contributor
    Join Date
    10-21-2010
    Location
    LONDON
    MS-Off Ver
    2007
    Posts
    108

    Re: Matching the records within worksheets

    Can someone can help me ?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 5
    Last Post: 01-31-2014, 09:59 AM
  2. how to look up matching records
    By red95 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-30-2009, 10:25 PM
  3. Matching records
    By RayB in forum Excel General
    Replies: 1
    Last Post: 07-18-2006, 12:35 PM
  4. [SOLVED] Find Matching Records in Two Worksheets
    By kittybat in forum Excel General
    Replies: 2
    Last Post: 04-05-2005, 02:06 PM
  5. Find matching records in two worksheets
    By kittybat in forum Excel General
    Replies: 3
    Last Post: 03-29-2005, 08:06 PM

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