+ Reply to Thread
Results 1 to 7 of 7

comparing columns on 2 different workbooks

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    09-24-2009
    Location
    london
    MS-Off Ver
    Excel 2013
    Posts
    129

    comparing columns on 2 different workbooks

    workbook1 column A has tag numbers, workbook2 column A also has tag numbers. I want to compare the 2 columns and if the tag number in book 1 is also in book 2 i want it to return 25B-F138-28-01 in column B workbook1. thanks for the help. please see my example.

    example.xls
    Last edited by keith6292; 12-13-2009 at 02:49 PM. Reason: adding example file

  2. #2
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: comparing columns on 2 different workbooks

    Something like =IF(ISNUMBER(MATCH(A1,[Workbook2]Sheet1!$A:$A,0)),"25B-F138-28-01","") should work.

  3. #3
    Forum Contributor
    Join Date
    09-24-2009
    Location
    london
    MS-Off Ver
    Excel 2013
    Posts
    129

    Re: comparing columns on 2 different workbooks

    in that formula after $a:$a what is the ,0 mean?

  4. #4
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: comparing columns on 2 different workbooks

    The 0 means the formula looks for an exact match, rather than the closest one without going over.

  5. #5
    Forum Contributor
    Join Date
    09-24-2009
    Location
    london
    MS-Off Ver
    Excel 2013
    Posts
    129

    Re: comparing columns on 2 different workbooks

    thank you very much. problem solved.

  6. #6
    Registered User
    Join Date
    04-11-2010
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: comparing columns on 2 different workbooks

    test1 column A has workorderno, test2 column A also has workorderno. I want to compare the 2 columns and if the workorderno in test1 is also in test2 I want it them to in seperate workbook test3 with the corresponding details. I was looking at the formula could not figure out how to modify it. here are the 2 workbooks
    thanks in advance

    test1.xls

    test2.xls

  7. #7
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: comparing columns on 2 different workbooks

    Please take a moment to read the rules, particularly rule #2, and then post your question in its own thread. Thanks.

+ 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