+ Reply to Thread
Results 1 to 8 of 8

Reverse Index Match (Find column row labels based on a value)

  1. #1
    Registered User
    Join Date
    05-23-2018
    Location
    Texas, United States
    MS-Off Ver
    2013
    Posts
    39

    Reverse Index Match (Find column row labels based on a value)

    I have a max/min formula on a table that returns the desired valu, but I also need formulas to determine where in the table that value is. If i do my usual index match, i get caught in a loop since I don't know one of the values at the outset.

    In the table below, if my Min value is the bottom left, (419,621), how can i find the (4.13) and 6% values too that will be returned in two separate cells alongside the Min value?



    (4.13) (2.75) (1.38) 0.00 1.38 2.75 4.13
    (6%) (355,206) (248,021) (138,501) (22,435) 106,842 258,218 448,501
    (4%) (368,787) (255,334) (139,024) (15,174) 123,195 284,626 485,316
    (2%) (380,865) (261,544) (138,853) (7,625) 139,302 310,038 520,208
    0% (391,735) (266,931) (138,228) 0 154,981 334,344 553,193
    2% (401,671) (271,725) (137,328) 7,560 170,134 357,526 584,361
    4% (410,904) (276,109) (136,283) 14,970 184,727 379,624 613,844
    6% (419,621) (280,216) (135,175) 22,189 198,768 400,712 641,793



    Capture.PNG
    Last edited by AliGW; 05-10-2023 at 11:12 AM. Reason: SOLVED tag applied - no need to edit the thread title!

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

    Re: Reverse Index Match (Find column row labels based on a value)

    There are instructions at the top of the page explaining how to attach your sample workbook (yellow banner: HOW TO ATTACH YOUR SAMPLE WORKBOOK). Screenshots are of little practical use as we cannot manipulate them.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.
    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.

  3. #3
    Registered User
    Join Date
    05-23-2018
    Location
    Texas, United States
    MS-Off Ver
    2013
    Posts
    39

    Re: Reverse Index Match (Find column row labels based on a value)

    this should make it more clear

    Reverse Index Match Example.xlsb

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,054

    Re: Reverse Index Match (Find column row labels based on a value)

    One way:

    =INDEX($B$2:$H$2,SUM(INDEX(($B$3:$H$9=$B15)*COLUMN($B$3:$H$9),))-COLUMN($B$3)+1)

    similar for the %. See file.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  5. #5
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,743

    Re: Reverse Index Match (Find column row labels based on a value)

    Or :

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

    Shift2
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

  6. #6
    Registered User
    Join Date
    05-23-2018
    Location
    Texas, United States
    MS-Off Ver
    2013
    Posts
    39

    Re: Reverse Index Match (Find column row labels based on a value)

    That's perfect, thank you Glenn

  7. #7
    Registered User
    Join Date
    05-23-2018
    Location
    Texas, United States
    MS-Off Ver
    2013
    Posts
    39

    Re: Reverse Index Match (Find column row labels based on a value)

    also works, ty

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,054

    Re: Reverse Index Match (Find column row labels based on a value)

    You're welcome... Next time, please include a sample file in Post 1.

+ 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. [SOLVED] Reverse INDEX/MATCH
    By prosolve in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-20-2022, 04:07 AM
  2. [SOLVED] find row header based on table and column headers reverse lookup index & match
    By jnsorrera in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-18-2020, 02:08 AM
  3. REVERSE VLOOKUP or DYNAMIC INDEX MATCH
    By barrenaj in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-16-2019, 02:05 PM
  4. Replies: 4
    Last Post: 04-14-2017, 07:47 PM
  5. Reverse Index Match -- Find column and row numbers for a table
    By mlukich in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-24-2016, 02:16 AM
  6. [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
  7. Reverse Index and Match functions
    By tsanodze in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-03-2013, 04:06 AM

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