+ Reply to Thread
Results 1 to 7 of 7

Index Match Indirect - Help!

  1. #1
    Registered User
    Join Date
    12-03-2019
    Location
    Edmond, OK
    MS-Off Ver
    2013
    Posts
    3

    Index Match Indirect - Help!

    I give up! I'm trying to match 3 variables (one being a sheet name) but I cannot get it right. I have a Summary sheet, where you select a Sheet name, and B3 should return the value from looking in the Sheet found in B1, matching the data crossing A3 and B3. Here is what I have so far:

    =INDEX(INDIRECT("'"&$B$1&"'!$C$2:$Z$99"), MATCH(A3,INDIRECT("'"&$B$1&"'!$C$2:$Z$99"),), MATCH($B$2,INDIRECT("'"&$B$1&"'!$C$2:$Z$99"),))

    I have attached the workbook for easier assistance. If I can just get B3 going, I will be able to complete the rest! If the value is blank, I'd like it to return a blank if possible.

    Note: Not that it matters I'm sure, but B1 and B2 - J2 are dropdowns so you can select who you want to look at and for what month.
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,814

    Re: Index Match Indirect - Help!

    Change the formula in B3 of the Summary sheet to this:

    =INDEX(INDIRECT("'"&$B$1&"'!$C$2:$Z$99"), MATCH(B$2,INDIRECT("'"&$B$1&"'!$C$2:$C$99"),0), MATCH($A3,INDIRECT("'"&$B$1&"'!$C$1:$Z$1"),0))

    You can copy this down to get other values for Joe Smith. You can also copy it across for other people, but as you have no more data in the Oct2019 sheet, you will only get #N/A errors, unless you change to Nov2019.

    Note also that you do not have a heading for Voice TPG, so that row also produces errors.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    12-03-2019
    Location
    Edmond, OK
    MS-Off Ver
    2013
    Posts
    3

    Re: Index Match Indirect - Help!

    Fantastic! I will look at the changes you made to make sure I understand them for next time.
    Regarding the column headers, yeah, I have some cleanup to do. I'm rebuilding this from an old metrics sheet my department uses.

    Thanks again!!

  4. #4
    Forum Expert
    Join Date
    06-26-2010
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    1,673

    Re: Index Match Indirect - Help!

    Never mind...
    Pauley
    --------
    If I helped with your issue, I'd appreciate a rep bump (hit the '*' icon to the bottom left of this post).

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,814

    Re: Index Match Indirect - Help!

    The main things were:

    MATCH only works on a 1-D array

    The syntax for INDEX is INDEX(table, row, column), and you had the row and column parameters the wrong way around.

    I used partial absolute addressing for B$2 and $A3, to enable you to copy across and down.

    Hope this helps.

    Pete

    P.S. If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post in this thread, and mark the thread as SOLVED.

    You might also like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

  6. #6
    Registered User
    Join Date
    12-03-2019
    Location
    Edmond, OK
    MS-Off Ver
    2013
    Posts
    3

    Re: Index Match Indirect - Help!

    Ok, that makes sense. One other thing - I'm getting some N/As.. what is needed at the end to ensure it results as blank?

  7. #7
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,814

    Re: Index Match Indirect - Help!

    You need to wrap the formula with IFERROR, like this:

    =IFERROR(INDEX(INDIRECT("'"&$B$1&"'!$C$2:$Z$99"), MATCH(B$2,INDIRECT("'"&$B$1&"'!$C$2:$C$99"),0), MATCH($A3,INDIRECT("'"&$B$1&"'!$C$1:$Z$1"),0)),"")

    Hope this helps, and thanks for the rep.

    Pete

+ 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. Dynamic Index Match Match with Indirect
    By apzoe in forum Excel General
    Replies: 2
    Last Post: 01-01-2019, 06:32 PM
  2. Replies: 8
    Last Post: 09-30-2018, 12:53 PM
  3. [SOLVED] Index/Match and indirect
    By Suede2 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-25-2018, 08:46 AM
  4. [SOLVED] sum using indirect index match
    By jpbisani in forum Excel General
    Replies: 4
    Last Post: 04-23-2016, 02:29 PM
  5. [SOLVED] Help with indirect index match
    By BRISBANEBOB in forum Excel General
    Replies: 2
    Last Post: 09-23-2014, 08:42 PM
  6. Problem with INDEX, INDIRECT, MATCH, MATCH
    By JO505 in forum Excel General
    Replies: 5
    Last Post: 09-01-2011, 05:51 PM
  7. Index/Indirect/Match Help
    By robertsclark in forum Excel General
    Replies: 2
    Last Post: 04-20-2011, 10:24 AM

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