Finding Minimum in Range with Multiple Conditions

bubbisthedog

New Member
Joined
Feb 6, 2012
Messages
15
Office Version
  1. 2016
Platform
  1. Windows
Rich (BB code):
=MIN(IF('Sheet1'!$A:$A=$B4,'Sheet1'!$P:$P,""))

B4 is single condition currently. P:P is range I'm searching to find minimum value, only when A:A range includes B4 value.

I Shift+Ctrl+Enter to create array formula that finds minimum value. Now I need to add another condition for column AK:AK, and cannot figure it out.

Please help.

Thank you!!!!
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Try:

Excel Formula:
=MIN(IF('Sheet1'!$A:$A=$B4,IF('Sheet1!$AK:$AK=$X4,'Sheet1'!$P:$P,"")))
with Control+Shift+Enter.

Also, please update your user profile to show the version of Excel you're using. There's a MINIFS function in newer versions that might work for you.
 
Upvote 0
Solution
Try:

Excel Formula:
=MIN(IF('Sheet1'!$A:$A=$B4,IF('Sheet1!$AK:$AK=$X4,'Sheet1'!$P:$P,"")))
with Control+Shift+Enter.

Also, please update your user profile to show the version of Excel you're using. There's a MINIFS function in newer versions that might work for you.
Wow, very fast. I love this site. Thanks so much, Eric!

I included my Excel version in profile. Don't have MINIFS() function available, unfortunately. Would be crazy simple if I had it, obviously. Hence having to go the forum route...
 
Upvote 0
Non array formula for Ex 2010+

Code:
=AGGREGATE(15,6,'Sheet1'!$P:$P/('Sheet1'!$A:$A=$B4)/('Sheet1!$AK:$AK=$X4),1)

Just enter.
 
Upvote 0

Forum statistics

Threads
1,214,911
Messages
6,122,194
Members
449,072
Latest member
DW Draft

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