Get minimum value based on criteria

marlina

New Member
Joined
Apr 17, 2018
Messages
24
19
29.2
38.3
48.3
58.8
610
710.7
88
99.1
1010.3
119.9
128.5
110
28.6
39.1
48.3
58.1
610.4
79.1
88.4
98.3
109.7
119.7
129.5
18.3
29.1
38.5
48
58.2
68.9
711.5
88.3
98.6
109.1

<colgroup><col width="70" span="2" style="width:53pt"> </colgroup><tbody>
</tbody>


Criteria = 1

={MIN(IF(A1:A34=D1,B1:B34),)}
not working because IF gives value of column B and 0 back and min just give 0

=AGGREGATE(5,4,INDEX(B1:B34,(A1:A34=D1)*ROW(A1:A34),))
not working because index just return row value of the first number in the array. . .
isn't index supposed to handle array operations ?
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Or

=MIN(IF(A1:A34=D1,B1:B34))
confirmed with Ctrl+Shift+Enter, not just Enter

M.
 
Last edited:
Upvote 0
You are welcome.

About your question
INDEX is not necessary in this case.

M.
 
Upvote 0

Forum statistics

Threads
1,214,920
Messages
6,122,276
Members
449,075
Latest member
staticfluids

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