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?
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.
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))
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
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks