+ Reply to Thread
Results 1 to 2 of 2

Merge Two Sheets Based on Matching Value

Hybrid View

  1. #1
    Registered User
    Join Date
    02-10-2014
    Location
    Norton Shores, MI
    MS-Off Ver
    Excel Mac 2011
    Posts
    1

    Merge Two Sheets Based on Matching Value

    I have two sheets with a Unique ID that I'd like to match and generate a third sheet. The third sheet would consist of First Name, Last Name, ID number where the phone numbers match from between sheets.

    Sheet 1: A = Fname, B = Lname, C = Phone
    Sheet 2: A = message, B = Phone

    I'd like to make a Sheet 3: A = Fname, B= Lname, C = Phone, D = Message

    Is my only option to try and get on a PC and use MS Access? Never had to do this in Excel before.

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,897

    Re: Merge Two Sheets Based on Matching Value

    As I understand, phone number is your unique identifier
    then take A = Fname, B= Lname, C = Phone in sheet 3 directly from sheet1
    Either by simple copy, or with formula
    =Sheet1!A1
    and
    then in D1 use nested INDEX and MATCH functions. Should read something like:
    =INDEX(Sheet2!A:A,MATCH(C1,Sheet2!B:B,0))
    match function will find position of your C1 (phone number) in column B in sheet2.
    and item from column A in sheet2 (a message) located on the same position (= the same row ) will be returned.

    If you expect that some people could nave no matching messages - you can use additional function: IFERROR
    Best Regards,

    Kaper

+ 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: 7
    Last Post: 09-02-2013, 06:57 PM
  2. Replies: 0
    Last Post: 01-04-2013, 12:25 PM
  3. Merge two sheets into one matching dependents to employee records
    By nabberooski in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 12-06-2012, 06:04 PM
  4. Replies: 4
    Last Post: 10-06-2011, 12:57 PM
  5. Need to match data on 2 sheets and merge matching
    By innovativesmoking in forum Excel General
    Replies: 1
    Last Post: 08-23-2010, 12:03 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