+ Reply to Thread
Results 1 to 8 of 8

Find Match of 2 Columns, Between 2 Worksheets

  1. #1
    Registered User
    Join Date
    05-05-2014
    Location
    Nottingham
    MS-Off Ver
    Excel 2010
    Posts
    11

    Find Match of 2 Columns, Between 2 Worksheets

    Hi

    I am trying show an exact match of data between two worksheets, but I need the match function to look up 2 columns - i.e. reference number AND order number between two different worksheets.

    In the example attached, I am able to find the match of one column only (order number), can anyone help me on this?

    Thanks
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor Saarang84's Avatar
    Join Date
    02-19-2009
    Location
    Chennai, India
    MS-Off Ver
    XL 2003 to 2010
    Posts
    812

    Re: Find Match of 2 Columns, Between 2 Worksheets

    For the other column, instead of Match, can't the vlookup function be used?
    If my assistance has helped, there is a reputation icon * on the left hand corner below the post - you can show your appreciation to the user who has helped in resolving your requirement.

    If your requirement has been solved please mark your thread as Solved.
    In the menu bar above the very first post, select Thread Tools, then select "Mark this thread as Solved".

    Kindly use [FORMULA] or [CODE] tags when posting your code.

    Regards,
    Sarang

  3. #3
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Find Match of 2 Columns, Between 2 Worksheets

    Try below in Sheet Data2 A2
    copy paste below then hold control and shift together and Hit enter
    =IF(ISNUMBER(MATCH($B2&$C2,Data1!$A$2:$A$7&Data1!$B$2:$B$7,0)),"Found","Not Found")
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    WANT TO SAY THANKS, HIT ADD REPUTATION (*) AT THE BOTTOM LEFT CORNER OF THE POST

    More we learn about excel, more it shows us, how less we know about it.

    for chemistry
    https://www.youtube.com/c/chemistrybyshivaansh

  4. #4
    Registered User
    Join Date
    05-05-2014
    Location
    Nottingham
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Find Match of 2 Columns, Between 2 Worksheets

    Hi Saranag

    I was trying to use the vlookup function but couldn't quiet get it to work.

    Are you able to help/guide?

    Thanks

  5. #5
    Registered User
    Join Date
    05-05-2014
    Location
    Nottingham
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Find Match of 2 Columns, Between 2 Worksheets

    Quote Originally Posted by hemesh View Post
    Try below in Sheet Data2 A2
    copy paste below then hold control and shift together and Hit enter
    =IF(ISNUMBER(MATCH($B2&$C2,Data1!$A$2:$A$7&Data1!$B$2:$B$7,0)),"Found","Not Found")
    Hi hemesh

    This works great, thank you for your input! However, is there are way of avoiding to 'hold control and shift together and hit enter'? I may have 100s of records and this may take a while if I have to do this each time.

    Thanks

  6. #6
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Find Match of 2 Columns, Between 2 Worksheets

    Hello Nottingham ! for Vlookup first, in sheet Data1 insert a column before your data and in A1 type Helper Column
    in A2 copy paste below
    =B2&C2 then drag down
    in sheet Data 2 in D2 copy paste below and then drag down
    =IF(ISNA(VLOOKUP(B2&C2,Data1!$A$2:$C$7,3,0)),"Not Found","Found")

  7. #7
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Find Match of 2 Columns, Between 2 Worksheets

    No you don't need to put control shift and enter every time. When you enter the formula in first cell , In the right hand side bottom corner of cell you will find a square, hover your cursor over the square and your cursor will change to "+" sign then press right mouse button to hold this and drag it down till you have data in the cells Or double click "+" sign

    check below Link
    http://www.youtube.com/watch?v=zcA9MMskIRg
    Attached Files Attached Files
    Last edited by hemesh; 05-05-2014 at 06:18 AM.

  8. #8
    Registered User
    Join Date
    05-05-2014
    Location
    Nottingham
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Find Match of 2 Columns, Between 2 Worksheets

    Quote Originally Posted by hemesh View Post
    No you don't need to put control shift and enter every time. When you enter the formula in first cell , In the right hand side bottom corner of cell you will find a square, hover your cursor over the square and your cursor will change to "+" sign then press right mouse button to hold this and drag it down till you have data in the cells Or double click "+" sign

    check below Link
    http://www.youtube.com/watch?v=zcA9MMskIRg
    Many thanks, hemesh!

    This worked for me both ways!

+ 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. FIND & MATCH - Multiple workbooks & worksheets
    By ngocpdn in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-09-2013, 06:13 PM
  2. [SOLVED] Find and sum the exact match across multiple worksheets
    By sandeepafpl in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-10-2012, 01:07 AM
  3. Match Columns in 2 Worksheets, return only changed values of other columns
    By cheynooki in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-17-2011, 01:19 PM
  4. Replies: 2
    Last Post: 03-02-2009, 12:15 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