+ Reply to Thread
Results 1 to 3 of 3

finding max value and returning text in different column same row

  1. #1
    Registered User
    Join Date
    12-10-2009
    Location
    Middletown, Connecticut, US
    MS-Off Ver
    Excel 2007
    Posts
    1

    finding max value and returning text in different column same row

    Hi all,

    My problem is this:

    I have two columns:
    Column B is stock symbols
    Column F is percentage growth

    B F
    - -
    AAAE 1.0%
    BAC 2.67%
    BKC 3.8%
    WEN -5.7%

    I would like to use a max function to first find the maximum value in column F. I then want to return the corresponding stock ticker from column B.

    What I have so far (which is clearly not working) is this: =VLOOKUP(MAX(F1:F4),1,B1:F4)

    Any ideas? Thank you for your time. :-)

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

    Re: finding max value and returning text in different column same row

    VLOOKUP can only look left to right, for a more flexible approach see INDEX & MATCH, eg

    =INDEX(B1:B4,MATCH(MAX(F1:F4),F1:F4,0))

  3. #3
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: finding max value and returning text in different column same row

    =index(b1:b4,match(max(f1:f4),f1:f4,0))
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

+ 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