Returning Cell Contents of One Cell Based On Another Cell

G

Guest

What I'm trying to do is look up the min of say column G, and based on which
cell the min is found in (say G7), give me the contents of the cell beside it
(F7).

I've tried several functions and can't seem to find the correct mix that
will give me what I want. Can anyone help?
 
G

Guest

This will find the FIRST instance of the min value in G1:G21

=INDEX($F$1:$F$21,MATCH(MIN($G$1:$G$21),$G$1:$G$21,0))
 
G

Guest

I guess what I'm really looking for is a function that will give me the cell
reference where the minimum value is located. I don't want the min value,
but the cell in which the min value is located.

Then I can plug that into the offset function (or a variety of other
functions) and get the value I need.
 
G

Guest

Thank you, you put me on the right track! This finally worked:

=INDIRECT("f" & (MATCH(MIN($J$2:$J$20),$J$2:$J$20,0))+1)

I added the '1' at the end because I had 1 row of headers.

I thought I tried something like this before and it didn't work, but it
finally is working perfectly.

Thank you again.

Leslie
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top