+ Reply to Thread
Results 1 to 2 of 2

Compare and Match 2 cols in 2 wkshts and return data

  1. #1
    Registered User
    Join Date
    02-03-2015
    Location
    Jacksonville, FL
    MS-Off Ver
    2010
    Posts
    2

    Compare and Match 2 cols in 2 wkshts and return data

    I have one workbook with 6 tabs.
    On tab 1 I have a last name, first name, some other columns with stuff in them and 5 empty columns.
    On tabs 2 - 6, I have a last name col, first name col and numbered data in the 3rd col.
    I want to fill the 5 empty cols in tab 1 with the numbered data from tabs 2 - 6 IF the first and last names match (capitalizations may be off) tab 1.
    (The blank columns in tab1 correspond to weeks. Each tab, 2 - 6, corresponds to a weeks data. So tab2's numbered data would go into the first blank col, tab3's data would go into the second blank col...)
    **Ideally, if a persons name is in any of the tabs 2 - 6 but not on tab 1, their first, last and numbered data would be added at the bottom of the data in tab1 (but that's a wishlist item)**

    Tab 1
    567782 Johnson ann ZMMy6 HiTG8 -blank- -blank- -blank- -blank- -blank-
    236821 jones fred id9s78 PP9cg -blank- -blank- -blank- -blank- -blank-
    399722 smith George Ci88s pl00La -blank- -blank- -blank- -blank- -blank-

    Tab 2 (through 6 are the same with different data)
    anderson cheryl 15
    Jones Fred 6
    Smith jordan 7
    JOHNSON Ann 97
    jones fredricka 21

    Im not sure if I need to do MATCH and INDEX or SUMPRODUCT or IF or a combination of these.
    Thank you for any help,
    Lisa

  2. #2
    Registered User
    Join Date
    02-03-2015
    Location
    Jacksonville, FL
    MS-Off Ver
    2010
    Posts
    2

    Re: Compare and Match 2 cols in 2 wkshts and return data

    Maybe this helps make it a little more "seeable".

    Tab 1
    567782 Johnson ann ZMMy6 HiTG8
    236821 jones fred id9s78 PP9cg
    399722 smith George Ci88s pl00La

    Tab 2 (through 6 are formatted the same with different data)
    anderson cheryl 15
    Jones Fred 6
    Smith jordan 7
    JOHNSON Ann 97
    jones fredricka 21
    Last edited by LHRandle; 02-03-2015 at 02:00 PM.

+ 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. Compare 2 columns and return the best match
    By uberathlete in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-27-2013, 06:44 AM
  2. Replies: 3
    Last Post: 07-26-2013, 06:46 PM
  3. [SOLVED] Compare data in columns of two worksheets and return value if match.
    By Zoediak in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-02-2013, 10:38 AM
  4. How to compare columns and return one value if they match
    By louise0502 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-16-2013, 11:10 AM
  5. Replies: 4
    Last Post: 12-04-2012, 04:45 PM

Tags for this Thread

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