+ Reply to Thread
Results 1 to 4 of 4

Using INDEX MATCH to reference multiple sheets

  1. #1
    Registered User
    Join Date
    10-10-2011
    Location
    New York
    MS-Off Ver
    Excel 2007
    Posts
    42

    Lightbulb Using INDEX MATCH to reference multiple sheets

    Is it possible to use an OR function in an INDEX MATCH formula to find matches on two different sheets?



    I'm using the following formula to INDEX MATCH info on sheet1 of "workbookA" and return a value to sheet1 of "workbookB."

    =INDEX('C:\Production\[workbookA.xls]sheet1'!$F$1:$F$65536,MATCH(A5367,''C:\Production\[workbookA.xls]sheet1'!$G$1:$G$65536,0))

    I'd like to use it to INDEX MATCH info on sheet1 and sheet2 of "workbook A". Basically, info gets put onto sheet1 of workbookA, then gets moved to sheet2 to archive it. However, we want to keep this info on workbookB indefinitely.

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

    Re: Using INDEX MATCH to reference multiple sheets

    maybe ,do you mean sheets or workbooks?
    "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

  3. #3
    Registered User
    Join Date
    10-10-2011
    Location
    New York
    MS-Off Ver
    Excel 2007
    Posts
    42

    Re: Using INDEX MATCH to reference multiple sheets

    I'd like to use it to INDEX MATCH info on sheet1 and sheet2 of "workbook A". Basically, info gets put onto sheet1 of workbookA, then gets moved to sheet2 to archive it. However, we want to keep this info on workbookB indefinitely.

  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: Using INDEX MATCH to reference multiple sheets

    this should work
    =INDEX('C:\Production\[workbookA.xls]sheet1'!$F$1:$F$65536,iferror(MATCH(A5367,''C:\Production\[workbookA.xls]sheet1'!$G$1:$G$65536,0),MATCH(A5367,''C:\Production\[workbookA.xls]sheet2'!$G$1:$G$65536,0)))

+ 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