+ Reply to Thread
Results 1 to 3 of 3

Comparison of two columns with data import from a third column

  1. #1
    Registered User
    Join Date
    06-21-2011
    Location
    Melbourne, FL
    MS-Off Ver
    Excel 2003
    Posts
    2

    Comparison of two columns with data import from a third column

    I have searched for a solution to this problem on this and many other forums and have been able to solve it up to a point. Now I'm stuck and in need of help.

    I have a workbook containing two sheets and I need to be able to compare the data in column A on both sheets to find matches. Once a match is found it must copy the contents from sheet 2 column B same row to sheet 1 column I. So far this is what I have:

    =IF(ISNA(INDEX(QUANTUM!$A:$A,MATCH($A2,QUANTUM!$B:$B,0),1)),"",INDEX(QUANTUM!$B:$B,MATCH($A2,QUANTUM!$A:$A,0),1))

    This works, but only if the data match between sheet 1 and sheet 2 column A is on the same row. I need it to search the entire column A on sheet 2 for matches.

    Please let me know if I am going about this the wrong way. Thanks in advance for any help.
    Attached Files Attached Files

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Comparison of two columns with data import from a third column

    DANMAC80,

    Attached is a modified version of your sample workbook. In Sheet1, cell I2, is the following formula:
    =VLOOKUP(A2,Sheet2!A:B,2,FALSE)

    Then I copied down.

    Hope that helps,
    ~tigeravatar
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    06-21-2011
    Location
    Melbourne, FL
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Comparison of two columns with data import from a third column

    That appears to have worked. Thank you very much for your help.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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