+ Reply to Thread
Results 1 to 8 of 8

Index and Match across two different workbooks

Hybrid View

  1. #1
    Registered User
    Join Date
    01-25-2017
    Location
    UK
    MS-Off Ver
    2007
    Posts
    4

    Smile Index and Match across two different workbooks

    Hi everyone,

    I really hope someone will be able to help me here.

    I'd like to find out if cell A2 in Workbook1.xlsx (Let's say it's a text that says "Car") is a duplicate across the whole column A of another workbook: Workbook2.xlsx

    I have come up with the following formula so far, but it's not exactly working, because it doesn't search across the whole column A:

    =INDEX([Workbook2.xls]Sheet1!$A:$A, MATCH(A2, [Workbook1.xlsb]Sheet1!$A:$A, 0))

    Any ideas?

    Thanks

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,101

    Re: Index and Match across two different workbooks

    =COUNTIF ([Workbook2.xls]Sheet1!$A:$A , A2)

    but will not work if workbook is closed
    nor will index() work on closed workbooks

    you need index.ext (which is a add-in)
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    01-25-2017
    Location
    UK
    MS-Off Ver
    2007
    Posts
    4
    Quote Originally Posted by etaf View Post
    =COUNTIF ([Workbook2.xls]Sheet1!$A:$A , A2)

    but will not work if workbook is closed
    nor will index() work on closed workbooks

    you need index.ext (which is a add-in)
    Unfortunately I get #VALUE!

  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,101

    Re: Index and Match across two different workbooks

    with both the workbooks OPEN ?

  5. #5
    Registered User
    Join Date
    01-25-2017
    Location
    UK
    MS-Off Ver
    2007
    Posts
    4
    Quote Originally Posted by etaf View Post
    with both the workbooks OPEN ?
    Yes.

    I am trying to find out if the data in cell A2 in Workbook 1 appears both in Workbook1 and anywhere in Workbook2
    Last edited by evans1; 01-25-2017 at 01:32 PM.

  6. #6
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,101

    Re: Index and Match across two different workbooks

    then the count will work across open workbooks - and you will get a 1 or greater depending on how many times its in the 2nd workbook

    what are the workbook names ?
    are they in the same folder on the PC
    and can you then post the formula you are using

  7. #7
    Registered User
    Join Date
    01-25-2017
    Location
    UK
    MS-Off Ver
    2007
    Posts
    4

    Re: Index and Match across two different workbooks

    Apologies, the formula does work.

    Thank you so much.

  8. #8
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,101

    Re: Index and Match across two different workbooks

    you are welcome

    if my assistance has helped, and only if you wish to , there is a reputation icon * on the left hand side - you can add to my reputation here

+ 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. Index/Match closed workbooks
    By kbkrueger in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-21-2015, 12:49 AM
  2. index or match two columns in different workbooks
    By shmemushi in forum Excel General
    Replies: 4
    Last Post: 05-07-2015, 02:30 PM
  3. Index Match across 2 workbooks?
    By Barking_Mad in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-12-2015, 07:44 AM
  4. [SOLVED] Index and Match to Combine Data from Several Workbooks
    By IrrepressibleXL in forum Excel General
    Replies: 5
    Last Post: 03-28-2012, 06:03 PM
  5. Index and Match Two Workbooks
    By madaboutgolf in forum Excel General
    Replies: 0
    Last Post: 10-09-2011, 10:18 PM
  6. INDEX/MATCH Across Workbooks
    By SamuelT in forum Excel General
    Replies: 3
    Last Post: 01-17-2007, 02:00 PM
  7. index & match with links for updating to other workbooks
    By wrpalmer in forum Excel Formulas & Functions
    Replies: 27
    Last Post: 09-06-2005, 03:05 PM

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