+ Reply to Thread
Results 1 to 8 of 8

Index/match - multiple sheets in a workbook

  1. #1
    Registered User
    Join Date
    11-01-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Index/match - multiple sheets in a workbook

    Hello, I am trying to get INDEX/MATCH to work for multiple sheets and then i have to get it to work on multiple workbooks.
    In short we are given a list of IDs, about 80 IDs and we have to reference 4 workbooks with 4 sheets on each workbooks (16 sheets with about 1000 IDs on each sheet.)

    Right now I am trying to get it to work with just one workbook
    For 1 sheet i was able to get it to work.
    Please Login or Register  to view this content.
    B2 is the ID i am trying to find, L:L is the column its located in sheet1 and F:F is the information that i need to pull from sheet1.

    But that only works if i know where the ID is located and most times i do not, the ID that i need to find could be on sheet1, sheet2, sheet3, or sheet4 in workbook1.


    I am trying to find a way to combine these:
    Please Login or Register  to view this content.
    Maybe some sort of IF statement within. IF it doesnt find the ID in sheet1 column L:L, then look for it sheet2 column L:L, so on and so forth. I just dont know how to put the function within that IF statement.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Index/match - multiple sheets in a workbook

    I can't test this but maybe nested IFERROR functions
    =IFERROR(INDEX(sheet1 formula)), IFERROR(INDEX(sheet2)), IFERROR(INDEX(sheet3)), IFERROR(INDEX(sheet4)),""))))
    Would that work?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Index/match - multiple sheets in a workbook

    try something like this (not tested)

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Index/match - multiple sheets in a workbook

    duplicate poste

  5. #5
    Registered User
    Join Date
    11-01-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Index/match - multiple sheets in a workbook

    wow, you guys (maybe gals) are the best!
    That worked awesomely awesome. I used ChemistB approach and cleaned it up a bit with FDibbins post.

    I'm not sure if i need to check something for it to be solved but its solved.

  6. #6
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Index/match - multiple sheets in a workbook

    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:
    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

  7. #7
    Registered User
    Join Date
    11-01-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Index/match - multiple sheets in a workbook

    Thank you, done.

    Quote Originally Posted by ChemistB View Post
    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:
    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Index/match - multiple sheets in a workbook

    we are happy to help

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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