+ Reply to Thread
Results 1 to 3 of 3

matching text to numbers

  1. #1
    Registered User
    Join Date
    10-19-2006
    Posts
    15

    matching text to numbers

    i'm trying to return the highest number from one column and match it to the corresponding name(text) from another column. i know the max function will return the highest number but i can't figure out how to match it to the corresponding text, example
    john 45
    john 50
    john 65
    mary 14
    mary 75
    i'm trying to write a formula to bring back the highest number from john's range without going into mary's range..john 65, mary 75, and i need to do this for the whole column
    thanks hb

  2. #2
    Forum Expert
    Join Date
    11-23-2005
    Location
    Rome
    MS-Off Ver
    Ms Office 2016
    Posts
    1,628
    I did what you asked in the attachment file.

    The formula in range E9 is an array formula.

    If you want to edit, remember to press ctrl + shift + enter to do excel understand that is an array formula

    Regards,
    Antonio
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    11-11-2005
    Posts
    267
    Holy,

    You can also use INDEX_MATCH combination:

    =INDEX(A1:B5,MATCH(MAX(B1:B5),B1:B5,0),1)

    will produce the corresponding name in Col A with Maximum value in Col B.
    HTH
    Myles

    ...constantly looking for the smoother pebble while the whole ocean of truth lies before me.

+ 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