+ Reply to Thread
Results 1 to 7 of 7

Compare Data from Two Sheets and Extra the matching data with all the columns

  1. #1
    Registered User
    Join Date
    03-18-2014
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    11

    Compare Data from Two Sheets and Extra the matching data with all the columns

    Hello,

    I want to compare data from two sheets. I want to pull all data from all columns in sheet one: ID, Name, and ***, Donor. but I only want to the return result to match the criterias in sheet 2. Please see the excel sample.

    Thanks for your help.
    Attached Files Attached Files

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

    Re: Compare Data from Two Sheets and Extra the matching data with all the columns

    You have uploaded blank workbook with no data in it.
    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.

  3. #3
    Registered User
    Join Date
    03-18-2014
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Compare Data from Two Sheets and Extra the matching data with all the columns

    Sorry about that, I have uploaded the excel with data in it.
    Attached Files Attached Files

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

    Re: Compare Data from Two Sheets and Extra the matching data with all the columns

    Place this formula in the cell B2 of sheet2 and drag right to D2 and then down.

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    03-18-2014
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Compare Data from Two Sheets and Extra the matching data with all the columns

    Quote Originally Posted by sktneer View Post
    Place this formula in the cell B2 of sheet2 and drag right to D2 and then down.

    Please Login or Register  to view this content.

    Thank you so much! that worked!

    I have another question.

    Currently, it is only displaying the name. Is it possible for it to display all the columns? LIke the ID, Name, Gender, and Donor?

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

    Re: Compare Data from Two Sheets and Extra the matching data with all the columns

    That mean you entered the formula in B2 and did not drag (copy) the formula up to D2.
    First place that formula in the cell B2 and confirm it with Enter.
    Now select the cell B2 (by clicking on it once) and grab the fill handle (right bottom of the cell border) and drag up to cell D2. You will see that now formula is applied up to cell D2 and range B2 to D2 is selected. Now grab the fill handle of the cell D2 and drag it down.

    This way col. B will show you the Name, col. C will show you the Gender and col. D will show you the Donor. You have ID in the col. A already.

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

    Re: Compare Data from Two Sheets and Extra the matching data with all the columns

    For detail see the attached sheet.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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