+ Reply to Thread
Results 1 to 5 of 5

Thread: min value with text

  1. #1
    Registered User
    Join Date
    08-24-2009
    Location
    Edmonton Canada
    MS-Off Ver
    Excel 2003
    Posts
    2

    min value with text

    A1=John,A2=Mike,A3=Fred
    B1=1221,B2=4321,B3=9087

    What I would like to end up with is something like this....
    Person who has the fewest : "John"
    Instead of "Person who has the fewest : "1221" .

    I know how to do the min "=min(b1:b3)" , but how do i link the text with the number in the above statement?

  2. #2
    Forum Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,636

    Re: min value with text

    Try

    =Index(a1:A3,Match(Min(B1:B3),B1:B3,0))
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

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

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

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  3. #3
    Forum Moderator Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2007
    Posts
    5,953

    Re: min value with text

    Hi Syphoner, welcome to the forum.

    You can use a formula like this to lookup the name of the person with the MIN from B1:B3:

    =INDEX($A$1:$A$3,MATCH(MIN($B$1:$B$3),$B$1:$B$3,0))

  4. #4
    Registered User
    Join Date
    08-24-2009
    Location
    Edmonton Canada
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: min value with text

    Quote Originally Posted by Syphoner View Post
    A1=John,A2=Mike,A3=Fred
    B1=1221,B2=4321,B3=9087

    What I would like to end up with is something like this....
    Person who has the fewest : "John"
    Instead of "Person who has the fewest : "1221" .

    I know how to do the min "=min(b1:b3)" , but how do i link the text with the number in the above statement?

    Thanks for the responses! I got it to work great on my computer!

    Now for the next question..... Does anyone know how to do this using quicksheet for the iphone? ("Match" is not a command for that program, so i cannot get the above formulas to work.....)

  5. #5
    Forum Guru martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    10,791

    Re: min value with text

    you can use hlookup but would have to have values along say c1.d1.e1.f1
    and names in c2,d2,e2,f2
    =HLOOKUP(MIN(C1:F1),C1:F2,2,FALSE)
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and a dabbler in Cisco
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ 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.2.0