+ Reply to Thread
Results 1 to 19 of 19

Double Index Match by Indirect Lookup Arrays

  1. #1
    Registered User
    Join Date
    11-06-2012
    Location
    Irvine, CA
    MS-Off Ver
    Excel 2010
    Posts
    12

    Double Index Match by Indirect Lookup Arrays

    How do you build the formula to lookup the respective sheet name indirectly in a double lookup to meet the double match? Hard to type the problem out because it requires multiple sheets. I have my sample attached. Thanks to someone who can help?
    Attached Files Attached Files

  2. #2
    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,933

    Re: Double Index Match by Indirect Lookup Arrays

    Hi, welcome to the forum

    Whats wrong with what you have there? Looks to me like you did a pretty good job
    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

  3. #3
    Registered User
    Join Date
    11-06-2012
    Location
    Irvine, CA
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Double Index Match by Indirect Lookup Arrays

    I have the right answer but I don't have the formulas referencing correctly to pull the data from sheet 115 and 126. The lookup match has to be specific to the worksheet. You can see the wrong formulas highlighted in yellow.

  4. #4
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: Double Index Match by Indirect Lookup Arrays

    Hi

    F3
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    It right answer formula? But wrong number? That why you did get correct answer.

    All the best
    To help you by my post? it would be nice to click on to say "Thank you".
    If you are happy with a solution to your problem?
    Click Thread Tools above your first post,
    select "Mark your thread as Solved".

  5. #5
    Registered User
    Join Date
    11-06-2012
    Location
    Irvine, CA
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Double Index Match by Indirect Lookup Arrays

    Its the right resulting answer but the wrong formula. I want the arrays looking for Worksheet names "115" and "126". Not "110". What I've done is fine for 3 worksheets but I have 500 worksheets. I need to have my formula indirectly find the worksheet by having another worksheet name within cells in my summary worksheet.

  6. #6
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,293

    Re: Double Index Match by Indirect Lookup Arrays

    =IF($A3="","",INDEX(INDIRECT("'"&$A3&"'!$A$11:$AO$20"),MATCH($C3&$D3,'110'!$A$11:$A$20&'110'!$E$11:$E$20,0),MATCH($B3,INDIRECT("'"&$A3&"'!$A$10:$AO$10"),0)))
    I think here it goes wrong
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  7. #7
    Registered User
    Join Date
    11-06-2012
    Location
    Irvine, CA
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Double Index Match by Indirect Lookup Arrays

    That is correct. I need to change the '110'! reference with an indirect formula. How do you do that as a concatenated array?

  8. #8
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,293

    Re: Double Index Match by Indirect Lookup Arrays

    Try to make make this change twice:
    '110'!$A$11:$A$20
    INDIRECT("'"&$A3&"'!$A$11:$AO$20")

  9. #9
    Registered User
    Join Date
    11-06-2012
    Location
    Irvine, CA
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Double Index Match by Indirect Lookup Arrays

    I tried but to no avail. #value error. I take it that the substitution didn't work in my sample file?

  10. #10
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: Double Index Match by Indirect Lookup Arrays

    Ok

    It not easy with indirect with 4 lookup?

    Only way I can think of is sheet 110,115 and 126 is add insert column E Then put in
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    copy down. A11 ZOO and F11 Labor Hours like this Column E (ZOOLabor Hours) together. You can hide Column E?

    Consolidation sheet F3
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    copy down.

    This should work with 500 worksheet.

  11. #11
    Registered User
    Join Date
    11-06-2012
    Location
    Irvine, CA
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Double Index Match by Indirect Lookup Arrays

    No it fails because you haven't built the A column reference to match the Job column. you have the A referencing only the horizontal periods.

  12. #12
    Registered User
    Join Date
    11-06-2012
    Location
    Irvine, CA
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Double Index Match by Indirect Lookup Arrays

    oh you mean concatenate C and D or Job and Element and then concatenate all the spreadsheets on A and E? I see that working but interested if keeping it as is without helper cells.

  13. #13
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: Double Index Match by Indirect Lookup Arrays

    Quote Originally Posted by Erickson28 View Post
    oh you mean concatenate C and D or Job and Element and then concatenate all the spreadsheets on A and E? I see that working but interested if keeping it as is without helper cells.
    Yes

    See the file
    Attached Files Attached Files

  14. #14
    Registered User
    Join Date
    11-06-2012
    Location
    Irvine, CA
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Double Index Match by Indirect Lookup Arrays

    The attached file is great but unfortunately I've been provided files on a shared network which can not be altered. Therefore, a helper column can't be created. Hard to believe this can't be done without the use of a helper.

  15. #15
    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,933

    Re: Double Index Match by Indirect Lookup Arrays

    Try this, copied down - no helpers needed...
    =INDEX(INDIRECT("'"&$A4&"'!$G$12:$R$18"),MATCH(C4&D4,INDEX(INDIRECT("'"&$A4&"'!$A$12:$A$18")&INDIRECT("'"&$A4&"'!$F$12:$F$18"),0),0),MATCH($B4,INDIRECT("'"&$A4&"'!$G$10:$R$10"),0))

  16. #16
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: Double Index Match by Indirect Lookup Arrays

    Hi

    I crack it! But FDibbins beat me lol.

    on your first file below post #1 F3
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    copy down.

  17. #17
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: Double Index Match by Indirect Lookup Arrays

    Hi

    I crack it? But FDibbins beat it lol.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Copy down

  18. #18
    Registered User
    Join Date
    11-06-2012
    Location
    Irvine, CA
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Double Index Match by Indirect Lookup Arrays

    A few of the column references are off but I fixed the alignment and it worked out! It had to be possible but that double array concatenation was tricky. Here is the formula for use on the download using (micope21 formula- I didn't check Dibbins yet:

    {=INDEX(INDIRECT("'"&$A9&"'!$a$10:$R$18"),MATCH(C9&D9,INDEX(INDIRECT("'"&$A9&"'!$A$10:$A$18")&INDIRECT("'"&$A9&"'!$e$10:$e$18"),0),0),MATCH($B9,INDIRECT("'"&$A9&"'!$a$10:$R$10"),0))}
    Last edited by Erickson28; 07-30-2015 at 12:41 PM. Reason: wanted to reference Micope

  19. #19
    Registered User
    Join Date
    11-06-2012
    Location
    Irvine, CA
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Double Index Match by Indirect Lookup Arrays

    Also no need for the array control shift enter. This is great

    =INDEX(INDIRECT("'"&$A9&"'!$a$10:$R$18"),MATCH(C9&D9,INDEX(INDIRECT("'"&$A9&"'!$A$10:$A$18")&INDIRECT("'"&$A9&"'!$e$10:$e$18"),0),0),MATCH($B9,INDIRECT("'"&$A9&"'!$a$10:$R$10"),0))

+ 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. Replies: 6
    Last Post: 04-30-2014, 02:42 AM
  2. [SOLVED] INDEX MATCH SMALL ROW, Double criteria Lookup
    By GP_SRT in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-22-2013, 11:15 AM
  3. Named range lookup using Index/Indirect/Match Function calls in Macro
    By sgopan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-27-2013, 07:51 PM
  4. Double lookup or index and match?
    By dan_manchester in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-13-2013, 09:01 AM
  5. Sum Index Match Arrays
    By CaesarBob in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-19-2012, 04:38 AM
  6. [SOLVED] Index & Match returning incorrect value. Arrays fixed and exact match used.
    By SDes in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-07-2012, 08:29 PM
  7. Index, Lookup and Vectors/Arrays
    By Mike in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-02-2006, 07:00 PM
  8. MATCH, INDEX and VLOOKUP with Arrays
    By Dean Hinson in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-18-2005, 12:06 PM

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