How to Find Minimum Value Based on Multiple Criteria in Excel

excel find minimum value based on multiple criteria

Let’s find the three smallest prices where the quantity is greater than 7 and the status is Pending.

Steps:

=SMALL(IF($C$5:$C$10>$H$4,IF($E$5:$E$10=$H$5,$D$5:$D$10)),G8)

using small and if functions to find minimum value based on multiple criteria in excel

Formula Explanation

[ Note: Make sure all Price cells are in proper currency format]

Method 4 – Use SMALL and IF Formula with Multiple OR Criteria

We’ll find out the top 3 lowest prices where Status is Pending or Processing.

Steps:

=SMALL(IF(($D$5:$D$10=$F$5)+($D$5:$D$10=$G$5),$C$5:$C$10),F8)

Formula Explanation

[ Note: Make sure all Price cells are in proper currency format]

Method 5 – Find the N-th Smallest Value with OR Criteria Using SMALL and FILTER Functions

We will find the 4th smallest value where the status should is either Pending or Processing.

Steps:

=SMALL(FILTER($C$5:$C$10, ($D$5:$D$10=$F$5) + ($D$5:$D$10=$G$5)), F8)

Formula Explanation

Method 6 – Find Smallest Values Ignoring Zeroes with Multiple Criteria

Let’s find the lowest 3 prices where the price should not be equal to zero and the status is pending.

[ Note: Blank cells with only dash (-) signs are zero values cells since the format is Accounting.]

Steps:

=SMALL(IF($C$5:$C$10<>0,IF($D$5:$D$10=$F$5,$C$5:$C$10)),F8)

Formula Explanation

Method 7 – Find the Minimum Value Based on Multiple Criteria Using the AGGREGATE Function

=AGGREGATE(15, 3,1/( ($C$5:$C$10>$H$4) * ($E$5:$E$10=$H$5)) * $D$5:$D$10, 1)

Formula Explanation

Things to Remember

Common Errors When they show
MAX Function
MAX returns 0 The MAX function in current versions of Excel accepts up to 255 arguments. If arguments contain no numbers, MAX returns 0.
Ignores Empty Cells. The MAX function ignores empty cells.
MINIFS Function
Return zero (0) MINIFS will return zero (0) if no cells match the criteria.
#SPILL! This particular #SPILL! The error usually means that your formula is relying on the implicit intersection for the lookup value and using an entire column as a reference.
#VALUE in MINIFS MINIFS will return a #VALUE error if a criteria range is not the same size as the min_range.
SMALL Function
#VALUE! This kind of error occurs when the supplied n is a non-numeric value.
#NUM! This kind of error occurs when the supplied value of n is less than the numerical value 1 or greater than the values in the supplied array.
AGGREGATE Function
#VALUE!
If there is a second reference argument but not provided, AGGREGATE function returns a #VALUE! error.
#VALUE! AGGREGATE returns the #VALUE! error value If there is one or multiple references are 3-D references
Horizontal Ranges The AGGREGATE function is designed for vertical ranges, not horizontal ranges.

Download the Practice Workbook

Find Minimum Value.xlsx

Related Articles

Save Saved Removed 0 Md. Abdullah Al Murad

Md. Abdullah Al Murad is a computer engineer who loves exploring Excel and VBA programming. Programming, to him, is a time-saving tool for efficiently managing data, files, and internet tasks. He is proficient in C, C++, Python, JavaScript, HTML, SQL, MySQL, PostgreSQL, Microsoft Office, and VBA and goes beyond the basics. He holds a B.Sc. in Computer Science and Engineering from American International University-Bangladesh. He has transitioned into the role of a content developer. Beyond his work, find. Read Full Bio