+ Reply to Thread
Results 1 to 10 of 10

Inverse Index Match function?

  1. #1
    Registered User
    Join Date
    12-20-2017
    Location
    uk
    MS-Off Ver
    2016
    Posts
    5

    Inverse Index Match function?

    hey
    I have an array where I have names in row 2 to 7 and a stage number in B to E.
    what I want is a formula that will tell me what the stage number (located along the top) is when given the name and the contents of C5 (for example).

    thanks for your help

    Ben

  2. #2
    Registered User
    Join Date
    04-28-2017
    Location
    IL
    MS-Off Ver
    2016
    Posts
    10

    Re: Inverse Index Match function?

    For this, the VLOOKUP formula would likely be the solution:

    =VLOOKUP((lookup value, range containing the lookup value, the column number in the range containing the return value, optionally specify TRUE for approximate match or FALSE for an exact match)

  3. #3
    Registered User
    Join Date
    12-20-2017
    Location
    uk
    MS-Off Ver
    2016
    Posts
    5

    Re: Inverse Index Match function?

    hey, thanks for the reply

    I'm familiar with the vlookup function, I have tried it but I cant seem to get it to work in this situation. I want it to return the Stage number as an output

    to clarify:

    if i enter 2 criteria:
    1. name (A4)
    2. number (c4)

    i want it to return the correct Title to the collem which should be C1
    Last edited by Bentrend1; 12-20-2017 at 03:59 PM.

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Inverse Index Match function?

    Hello Ben,

    Your description isn't very clear.

    Do you have names in B2:E7 and numbers in B1:E1? If so then try looking up a name in cell G2 with this formula

    =INDEX(1:1,AGGREGATE(15,6,COLUMN(B1:E1)/(B2:E7=G2),1))
    Audere est facere

  5. #5
    Registered User
    Join Date
    12-20-2017
    Location
    uk
    MS-Off Ver
    2016
    Posts
    5

    Re: Inverse Index Match function?

    hey just updated the previous comment hopefully that helps

    names is A:A stage in Row B:E

  6. #6
    Registered User
    Join Date
    12-20-2017
    Location
    uk
    MS-Off Ver
    2016
    Posts
    5

    Re: Inverse Index Match function?

    that's great it works but i need the second criteria as well, this is why i was having trouble

  7. #7
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Inverse Index Match function?

    Still not sure of the layout.....

    Do you want to find a name in column A, then a number in that same row and the header that relates to that column?

    You can use INDEX and MATCH to find the relevant row and then another INDEX/MATCH to find the header, e.g.

    =INDEX(B1:J1,MATCH(5,INDEX(B2:J10,MATCH("John",A2:A10,0),0),0))

    That will find "John" in A2:A10 then, if John is found in A4, for example, it searches B4:J4 for the number 5, if that's found in H4 the formula returns the value in H1

    Replace "John" and 5 with cell references if required

  8. #8
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,471

    Re: Inverse Index Match function?

    Does it meet your layout?
    In H3:
    Please Login or Register  to view this content.
    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    Attached Images Attached Images
    Quang PT

  9. #9
    Registered User
    Join Date
    12-20-2017
    Location
    uk
    MS-Off Ver
    2016
    Posts
    5
    Quote Originally Posted by daddylonglegs View Post
    You can use INDEX and MATCH to find the relevant row and then another INDEX/MATCH to find the header, e.g.

    =INDEX(B1:J1,MATCH(5,INDEX(B2:J10,MATCH("John",A2:A10,0),0),0))
    Thanks that's perfect. Works exacly how i wanted
    Last edited by AliGW; 12-21-2017 at 03:58 AM. Reason: Unnecessarily long quotation edited.

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,162

    Re: Inverse Index Match function?

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them 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. Need help in Index, Match usage to match multiple criteria in sum function
    By Summer0830 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-26-2017, 02:47 AM
  2. Problems applying INDEX-MATCH-MATCH function on other data
    By LennartB in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-13-2015, 05:33 AM
  3. [SOLVED] Problems with (inverse) INDEX-MATCH Function
    By LennartB in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-07-2015, 03:53 AM
  4. function INDEX MATCH MATCH doesn´t work
    By leonelcd in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-31-2015, 11:36 AM
  5. [SOLVED] Stuck on Match function with #N/A; attempting to reverse Index/Match
    By Cappytano in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 12-10-2014, 06:39 PM
  6. Replies: 3
    Last Post: 06-17-2013, 12:37 PM
  7. [SOLVED] Inverse Index/Match?
    By rormis in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-23-2012, 07:03 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