Min, Max, Medium help - Associate answer with a key/string

abra

New Member
Joined
Jan 6, 2008
Messages
14
I have a table as below.

I want to get the min value and read off they key e.g. minimum value would be =MIN(B2:B5) which is 2, but then I want the cell to read "C", how would you advice I do this?

Many thanks
Book1
ABCD
1KeyValue
2A4
3B3
4C2
5D7
Sheet1
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Hi abra,

The following left lookup formula will do the job:

=OFFSET($B$2,MATCH(MIN($B$2:$B$5),$B$2:$B$5,0)-1,-1,1,1)

HTH

Robert
 
Upvote 0
A non-volatile alternative:

Code:
=INDEX(A2:A5,MATCH(MIN(B2:B5),B2:B5,0))
 
Upvote 0

Forum statistics

Threads
1,214,636
Messages
6,120,668
Members
448,977
Latest member
moonlight6

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top