+ Reply to Thread
Results 1 to 6 of 6

combine 2 data sheets based on target colum

  1. #1
    Forum Contributor
    Join Date
    07-08-2012
    Location
    england
    MS-Off Ver
    Excel 2007
    Posts
    139

    combine 2 data sheets based on target colum

    hi guys,
    I have a problem to find and merge 2 data sheets based on target column(ID).The RESULT sheet must be like that.please help me.sample file included.
    Attached Files Attached Files

  2. #2
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,370

    Re: combine 2 data sheets based on target colum

    Why just John Alvin onthat result?? what logic

  3. #3
    Forum Contributor
    Join Date
    07-08-2012
    Location
    england
    MS-Off Ver
    Excel 2007
    Posts
    139

    Re: combine 2 data sheets based on target colum

    names' list will appeared so on after formulated

  4. #4
    Valued Forum Contributor
    Join Date
    03-24-2020
    Location
    Thailand
    MS-Off Ver
    Office 2016
    Posts
    897

    Re: combine 2 data sheets based on target colum

    Hi there,

    Assuming you just entered one line as a sample and ALL records need to be listed on the Results sheet.

    Assuming further that Sheet1 is the master sheet and all ID's are listed there.
    Assuming the Names are always the same on both sheets, hence it does not matter from which sheet we take the name.
    Attached Files Attached Files
    If your Question is answered; please mark it SOLVED. If you are happy with a member's solution, say 'Thanks' and click the 'Star' to Add Reputation.

  5. #5
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,370

    Re: combine 2 data sheets based on target colum

    Put in cell B4 then copied down and cross:

    =IFERROR(INDEX(Sheet1!B$4:B$7,MATCH(0,IF(ISBLANK(Sheet1!B$4:B$7),1,COUNTIF(B$3:B3,Sheet1!B$4:B$7)),0)),IFERROR(INDEX(Sheet2!B$4:B$7,MATCH(0,IF(ISBLANK(Sheet2!B$4:B$7),1,COUNTIF(B$3:B3,Sheet2!B$4:B$7)),0)),""))
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    07-08-2012
    Location
    england
    MS-Off Ver
    Excel 2007
    Posts
    139

    Re: combine 2 data sheets based on target colum

    the result does not matched with ID.

+ 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. Help with excluding data from a colum in Google Sheets
    By mywebguytaylor1 in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 2
    Last Post: 02-01-2024, 05:51 AM
  2. Replies: 1
    Last Post: 02-03-2022, 10:59 AM
  3. How to combine data of sheets in one workbook based to multiple IF condition
    By mami502003 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-20-2021, 10:01 AM
  4. [SOLVED] Auto Fill Secondary Sheets from Master Sheet based on values in a colum
    By hfcamper in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-26-2013, 09:04 AM
  5. Combine information from multiple works sheets based on a cell and data in columns
    By Rick_HpyVly in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-19-2013, 02:49 PM
  6. Replies: 3
    Last Post: 01-27-2013, 07:23 PM
  7. Need to match colum 1 in two different sheets, and insert colum 2 and 3
    By idbarrero in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-09-2011, 03:45 AM

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