MINIFS Function
Finds the smallest value where multiple conditions are all true.
Syntax
Parameters
| Parameter | Description | Required |
|---|---|---|
| min_range | The range of cells from which the minimum is returned. | Required |
| criteria_range1 | The first range tested against criteria1; must be the same size as min_range. | Required |
| criteria1 | The condition for criteria_range1 (e.g. "Apple", ">100", "West"). | Required |
| criteria_range2, criteria2, ... | Optional additional range/criteria pairs; all must be met (AND logic). | Optional |
Basic Example
Smallest sale for a specific product
=MINIFS(C2:C10, A2:A10, "Apple")Among rows where column A is Apple, the smallest value in column C (e.g. 500) is returned.
Advanced Examples
Example 1: Minimum with two criteria
Lowest sale in a region meeting a thresholdBoth conditions must be satisfied (AND logic).
=MINIFS(C2:C100, A2:A100, "West", B2:B100, ">=100")Example 2: Criterion with a cell reference
Reusable threshold in a cellConcatenate a comparison operator with a cell value.
=MINIFS(C2:C50, A2:A50, "Banana", B2:B50, ">"&E1)How MINIFS Works
MINIFS evaluates each criteria_range against its criteria, keeping only the rows where all conditions are true. It then returns the minimum value from min_range at those rows. All ranges must have the same dimensions. If no row satisfies every criterion, MINIFS returns 0. Criteria support operators (>, <, >=, <=, <>) and wildcards (*, ?) for text. It is the conditional counterpart of MIN, analogous to SUMIFS for SUM.
Important Notes & Limitations
All ranges must be the same size; mismatched sizes cause #VALUE!.
Applies AND logic only; OR logic requires separate formulas combined with MIN.
Returns 0 when no row meets all criteria, which can be confused with a real zero.
Common Errors & Fixes
#VALUE! errorThe criteria ranges and min_range have different sizes or shapes.Fix: Ensure every range covers the same rows and columns.
Wrong minimum returnedCriteria text does not exactly match, including case differences or stray spaces.Fix: Use exact text, trim spaces, or use wildcards for partial matches.
Download Practice File
MINIFS
minifsPractice MINIFS with Real Data
Download a sample CSV file with pre-populated data and practice exercises for the MINIFS function. Works in both Excel and Google Sheets.
File format: CSV (comma-separated values) - opens in Excel, Google Sheets, and all spreadsheet apps