+ Reply to Thread
Results 1 to 6 of 6

vba to match names between 2 columns

  1. #1
    Forum Contributor
    Join Date
    11-17-2015
    Location
    India
    MS-Off Ver
    2013
    Posts
    365

    vba to match names between 2 columns

    Hi,

    In Sheet1 I have some with First name & Middle name & Last Name and also with first name & Last name.

    In sheet2 I have some name some names which contains some names in sheet1.

    In sheet2 I wants to check whether the Names are Matching with Sheet one or not By Comparing all permutation and Computation. Means Some name might contains first name in middle and middle name in last and last name as first vice versa.

    Also Pull the member code if name is matching

    Kindly provide vba code for the same.
    Attached Files Attached Files

  2. #2
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: vba to match names between 2 columns

    Try this for results in sheet2 starting "C1"
    Please Login or Register  to view this content.
    Regards Mick
    Last edited by MickG; 01-12-2016 at 08:58 AM.

  3. #3
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: vba to match names between 2 columns

    Or you may try something like this....
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  4. #4
    Forum Contributor
    Join Date
    11-17-2015
    Location
    India
    MS-Off Ver
    2013
    Posts
    365

    Re: vba to match names between 2 columns

    Thank you very much for the code. Its working perfectly.

    Can you please provide code for below thread as well?

    http://www.excelforum.com/excel-prog...ween-rows.html

  5. #5
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: vba to match names between 2 columns

    You're welcome. Glad we could help.
    Thanks for the feedback as well.

    If that takes care of your original question, please mark your thread as Solved by selecting Thread Tools (just above your first post) --> Mark thread as solved.

  6. #6
    Forum Contributor
    Join Date
    11-17-2015
    Location
    India
    MS-Off Ver
    2013
    Posts
    365

    Re: vba to match names between 2 columns

    Hi,

    Sure, Marked as SOLVED. Please help me with code for below thread.

    http://www.excelforum.com/excel-prog...ween-rows.html

+ 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. [SOLVED] Help comparing two columns of data with same names different values (index match??)
    By exceldion in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-16-2015, 09:43 AM
  2. [SOLVED] How do I match names if the first and last name of a table are in two columns?
    By jim0000 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-28-2015, 09:04 PM
  3. Compare two columns and insert codes, where it finds match with names
    By marina_lk in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-07-2013, 08:44 PM
  4. [SOLVED] how compare two names, diffcult to find name miss match in 2 columns
    By vengatvj in forum Excel General
    Replies: 6
    Last Post: 10-23-2013, 08:34 PM
  5. Match two columns of names while keeping data in rows aligned
    By SpaceWheels in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-27-2013, 02:22 PM
  6. VB Macro to match names in columns A and B
    By haleakala17 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-22-2012, 10:22 PM
  7. [SOLVED] match names in 2 different columns
    By Mike in forum Excel General
    Replies: 6
    Last Post: 05-26-2006, 10:50 AM

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