+ Reply to Thread
Results 1 to 5 of 5

Using min value to reference another cell

  1. #1
    Registered User
    Join Date
    06-18-2012
    Location
    Corpus
    MS-Off Ver
    Google Docs
    Posts
    2

    Using min value to reference another cell

    I've been looking around on this site and google for a while and had no luck

    What we have is a List of names in one column and percents that go with each name in the next. I would like to be able to take the min percent and print out the name associated with it but I am not having any luck and was hoping you all might be able to help. Thanks in advance.

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

    Re: Using min value to reference another cell

    Try:

    =index(a:a,match(min(b:b),b:b,0))

    where A:B is where the data is
    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.

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Using min value to reference another cell

    With names in Col A and values in column B
    =INDEX($A$1:$A$1000,MATCH(MIN($B$2:$B$1000), $B$2:$B$1000,0))
    Does that work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  4. #4
    Valued Forum Contributor
    Join Date
    11-11-2008
    Location
    Euro
    MS-Off Ver
    2007, 2010
    Posts
    470

    Re: Using min value to reference another cell

    Assuming: Name and percent are enter in A2:B11 (cell A... contains Names, and B does Percents, respectively)

    at the result cells are C2,D2 , plz, enter the formula:
    C2:
    =Index(A2:A11,Match(D2,B2:B11,0))
    D2:
    =Min(B2:B11)

    Try do that for your sample
    Best regard, -)iger-/iger
    If you are pleased with a solution mark your post SOLVED.

  5. #5
    Registered User
    Join Date
    06-18-2012
    Location
    Corpus
    MS-Off Ver
    Google Docs
    Posts
    2

    Re: Using min value to reference another cell

    That works just great. Thanks guys

+ 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