+ Reply to Thread
Results 1 to 6 of 6

Find the max value in one column and retreive the name of cell in corresponding row

  1. #1
    Registered User
    Join Date
    02-09-2009
    Location
    Belgrade
    MS-Off Ver
    Excel 2003
    Posts
    3

    Find the max value in one column and retreive the name of cell in corresponding row

    Hello,

    I spent couple of hours trying to figure this out, but without success. Please check the attached example. I need a formula that will find the max value (number of views in English anguage) in the column "I" and display the corresponding "Headline" value in the column "B". In the example it is "Headline 5". I can not change position of the columns, i.e. "B" must remain "B" and "I" must remain "I".
    I experimented with Index and vlookup but to no success. I have outlook 2003.

    Thx in advance
    Attached Files Attached Files
    Last edited by NBVC; 02-10-2009 at 09:00 AM.

  2. #2
    Forum Contributor
    Join Date
    04-21-2007
    Location
    Lima, Peru
    MS-Off Ver
    2000, 2007, 2010
    Posts
    674

    Re: Find the max value in one column and retreive the name of cell in corresponding r

    Hi

    Try the following formula
    Please Login or Register  to view this content.
    Regards

    Jeff

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Find the max value in one column and retreive the name of cell in corresponding r

    Perhaps:

    Please Login or Register  to view this content.
    Note:
    if you have 1+ instances of MAX value in I then the above would return the last value in B associated with the MAX value... if you wished to return the first value in B associated with the MAX you see the prior post by Jeff.

  4. #4
    Registered User
    Join Date
    02-09-2009
    Location
    Belgrade
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Find the max value in one column and retreive the name of cell in corresponding r

    Thank you for replies. Unfortunately, with both formulas I get the same error "The formula you typed contains an error"

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Find the max value in one column and retreive the name of cell in corresponding r

    Maybe with your version of Excel you need to change the commas separating the conditions with semi-colons...

    =LOOKUP(2;1/(I3:I19=MAX(I3:I19));B3:B19)
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  6. #6
    Registered User
    Join Date
    02-09-2009
    Location
    Belgrade
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Find the max value in one column and retreive the name of cell in corresponding r

    OMG! Semicolons!

    Thanks NBVC. Now it works.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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