+ Reply to Thread
Results 1 to 4 of 4

How to find reference of cell from minimum value (Not a range)

  1. #1
    Registered User
    Join Date
    07-13-2012
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    3

    How to find reference of cell from minimum value (Not a range)

    I am trying to find a reference of a minimum value of a cell. So I have 4 locations and whichever value is the minimum, I want the name of the location to display. I have a lot of data in my LP so my cells that I'm finding a minimum from are not in a range. They are individually selected.

    So far I have come up with this but it doesn't show the value of the minimum cell selected. Instead it shows the value of the first minimum in the selected range.

    =INDEX(K11:K33,MATCH(MIN(N12,N18,N24,N30),N11:N33,0))

    I also tried this but it doesn't work...

    =INDEX(N12 N18 N24 N30,MATCH(MIN(N12,N18,N24,N30),N12 N18 N24 N30,0))

    I'm not sure what to do now, so please help!

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: How to find reference of cell from minimum value (Not a range)

    Like so:

    =LOOKUP(2, 1/(($N$12:$N$30=MIN(N12,N18,N24,N30)) * (MOD(ROW($N$12:$N$30),6)=0)), $K$12:$K$30)


    This only works because these cells are spaced evenly apart.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: How to find reference of cell from minimum value (Not a range)

    That looks neater than my attempt Jerry,

    =INDEX((K12,K18,K24,K30),,,MATCH(MIN(N12,N18,N24,N30),CHOOSE({1,2,3,4},N12,N18,N24,N30),0))

  4. #4
    Registered User
    Join Date
    07-13-2012
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: How to find reference of cell from minimum value (Not a range)

    Thank you both for your help! I really appreciate it!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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