MIN/MAX Value of a Range upon Combo Box Input

artikyulashun

New Member
Joined
Aug 21, 2012
Messages
41
Ciao All ~

Attempting to return the minimum value of a Range based on input from a Combo Box.

Combo Box returns value in cell BM6 : 1,2,3,4

Set this table up to use Index/Match formula on :

BR BS BT BU
1 S13:S49 W13:W49 AA13:AA49
2 T13:T49 X13:X49 AB13:AB49
3 U13:U49 Y13:Y49 AC13:AC49
4 V13:V49 Z13:Z49 AD13:AD49




The Index/Match works correctly, but when I place MIN() or MAX() around the formula it returns 0.

=MIN(INDEX($BS$4:$BS$7,MATCH($BM6,$BR$4:$BR$7,0)))

Is there another method/approach I could be using?

Cheers.
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
In your example, the result of Index is: "S13:S49", do you want the formula Min to obtain the minimum value of the range "S13:S49"?

If so:



=MIN(INDIRECT(INDEX($BS$4:$BS$7,MATCH($BM6,$BR$4:$BR$7,0))))



=MAX(INDIRECT(INDEX($BS$4:$BS$7,MATCH($BM6,$BR$4:$BR$7,0))))
 
Upvote 0

Forum statistics

Threads
1,223,716
Messages
6,174,069
Members
452,542
Latest member
Bricklin

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