+ Reply to Thread
Results 1 to 4 of 4

Comparing 2 colums in 2 sheets

  1. #1
    Registered User
    Join Date
    07-04-2009
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    1

    Comparing 2 colums in 2 sheets

    Hello guys,
    my name is Stephanie from London and I have a very short, but urgent question. It sounds stupid, but I caint come to a solution.
    I have to analyse 2 Spreadsheets with massiva Data (about 35 Tausand lines each) to see if the colums match each other.

    My question is there any way/ function/ vlookup or anything else of seeing if

    Spreadshead "thisone": Column A and Column B matches with
    Spreadsheet "thatone": Column J and Column K.

    With the result: True or False

    I would be very, very grateful for your help.

    Stephanie.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,592

    Re: Comparing 2 colums in 2 sheets

    Hi Stephanie from London,

    if I understood well you want this:

    =ISNA(MATCH(A1;Sheet2!$A$1:$A$31;0))

    But be carfull, this will give you FALSE if there is name in other sheet, and TRUE if there isn't.

    $A$1:$A$31 is range on other sheet, you can put anything you need.

  3. #3
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    1,981

    Re: Comparing 2 colums in 2 sheets

    Try this
    C1 =SUMPRODUCT(--(thatone!J1:J40000=A1),--(thatone!K1:K40000=B1))

    Copied down.

    HTH,
    windknife

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Comparing 2 colums in 2 sheets

    another possibility if you want to find if any two adjacent cells match anywhere in the other sheet
    =ISNUMBER(MATCH(A1&B1,INDEX(Sheet2!$J$1:$J$16&Sheet2!$K$1:$K$16,0),0))
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ 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