+ Reply to Thread
Results 1 to 4 of 4

Look for vertical value then find max value in row and return row header

  1. #1
    Registered User
    Join Date
    02-13-2013
    Location
    Phila
    MS-Off Ver
    Excel for Mac 2011
    Posts
    25

    Look for vertical value then find max value in row and return row header

    Dear Forum,

    I am having problems with an Index-Match formula. I want to find the value on column BP in column A and when it finds it, I want to look within the specific row for the maximum value for that row, which should be equal to the value on column BO. When these two values are found I want to return the column header of the specified location. I appreciate if you help me pinpoint the problems in the formula I am using, as I don't completely get what I'm doing wrong or missing.

    Here is the formula: =IFERROR(INDEX($B$2:$BN$919,ROW(),MATCH(MAX($B:$BN),($B$2:$BN$919=BO3)*($B$2:$BN$919=BP3),0)),"")
    And you can look at some examples of the data and the actual output I would like to get in the attached file.

    Thanks a lot,
    Ale
    Attached Files Attached Files
    Last edited by Ale84; 09-10-2015 at 02:53 PM.

  2. #2
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Look for vertical value then find max value in row and return row header

    Try this one

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

    The MAX function doesn't work with arrays in the same way that some other functions do, you need to isolate the relevant row or column first.
    Last edited by jason.b75; 09-10-2015 at 03:06 PM.

  3. #3
    Registered User
    Join Date
    02-13-2013
    Location
    Phila
    MS-Off Ver
    Excel for Mac 2011
    Posts
    25

    Re: Look for vertical value then find max value in row and return row header

    Thank you so much Jason.b75 for the formula and for explaining what was wrong. It works perfectly!

    Cheers,
    Ale

  4. #4
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,294

    Re: Look for vertical value then find max value in row and return row header

    Maybe so?
    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ 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. Find value and return row header
    By Gerardo83 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-14-2015, 08:16 PM
  2. Find name and return header
    By Gerardo83 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-08-2015, 01:06 PM
  3. Find value in the Array and return Column Header
    By wasylgorzow in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-22-2014, 12:45 PM
  4. [SOLVED] Find specific value in table and return header row and header column value
    By nelwan in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-30-2013, 01:35 AM
  5. Replies: 5
    Last Post: 08-25-2013, 02:59 PM
  6. Find a value and return value of the row and column header
    By JG2011 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 10-31-2011, 03:48 AM
  7. Find Max values in row then return Column Header
    By mrio in forum Excel General
    Replies: 0
    Last Post: 08-23-2006, 12:47 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