Min ifs
MINIFS Function¶
The MINIFS function in Excel is used to find the minimum value in a range that meets one or more conditions (
criteria). This function is ideal for analyzing datasets where you need to filter data with specific criteria and
determine the smallest value that matches those criteria.
Key Features of MINIFS:¶
- Allows multiple criteria to filter the dataset before finding the minimum value.
- Supports logical operators like less than (
<), greater than (>), equal to (=), and wildcards (*,?) for string-based filtering. - Handles numbers, dates, text, and cell references as part of the criteria.
Syntax:¶
- min_range: The range of cells containing the values to evaluate and find the minimum value.
- criteria_range1: The range of cells to apply the first criteria.
- criteria1: The condition or criteria to apply to
criteria_range1. - criteria_range2, criteria2...: Optional. Additional ranges and their corresponding conditions.
How It Works:¶
- Identifies the values in
min_rangethat match the specified criteria in thecriteria_rangeandcriteriapairs. - Returns the smallest value from the filtered dataset.
Examples:¶
- Basic MINIFS with Single Criterion: Suppose the following dataset:
| A (Regions) | B (Sales) |
|---|---|
| North | 500 |
| South | 800 |
| North | 700 |
| South | 600 |
Formula:
Result:500 (minimum sales value for "North").
-
MINIFS with Numeric Criteria: Using the same dataset:
Result:500(minimum value less than700). -
MINIFS with Multiple Criteria: Suppose the dataset is updated with a third column for months:
| A (Regions) | B (Sales) | C (Month) |
|---|---|---|
| North | 500 | January |
| South | 800 | January |
| North | 700 | February |
| South | 600 | February |
Formula:
Result:600 (minimum sales for "South" in February).
- Using Wildcards for Text Criteria: Suppose the following dataset:
| A (Regions) | B (Sales) |
|---|---|
| North-East | 500 |
| North-West | 700 |
| South | 600 |
Formula:
Result:500 (minimum sales in regions starting with "North").
- Handling Dates as Criteria: Suppose this dataset:
| A (Dates) | B (Sales) |
|---|---|
| 01-Jan-2023 | 400 |
| 15-Jan-2023 | 600 |
| 01-Feb-2023 | 800 |
Formula:
Result:400 (minimum sales in January 2023).
Notes:¶
- Range Sizes:
- Each
criteria_rangemust have the same dimensions asmin_range; otherwise, Excel will return a#VALUE!error.
- Each
- Blank Cells:
- Blank cells in
min_rangeare ignored when calculating the result.
- Blank cells in
- Logical Values:
- Logical values (e.g.,
TRUE,FALSE) incriteria_rangeare evaluated as1and0, respectively.
- Logical values (e.g.,
- Error Handling:
- If no values meet the criteria, the formula returns
0.
- If no values meet the criteria, the formula returns
Applications:¶
- Sales Analysis: Determine the smallest sales figure within specific regions, teams, or time periods.
- Budget Reporting: Find the minimum expense or cost category satisfying given conditions.
- Data Analysis: Extract the smallest value from subsets of data filtered by logical conditions.
Tip: Combine
MINIFSwith similar functions likeMAXIFSorAVERAGEIFto perform detailed data filtering and calculations.