Category: FUNCTION | Updated: 2026-11-22
How to Use the DMIN Function in Google Sheets | Extract the Minimum Value Matching Criteria from a Database
Syntax
=DMIN(database, field, criteria)
- database: Specifies the entire cell range of the data, including headers in the first row.
- field: Specifies the header name of the column from which to find the minimum value, or its column number from the left.
- criteria: Specifies the cell range containing the filter conditions (headers + condition values).
Practical Example with a Table
Here is an example of extracting the lowest supplier unit price for the item “Copy Paper” (specified in criteria range E1:E2) from a supplier list (A1:C6).
| Cell Range | Role | Contents |
|---|---|---|
A1:C6 |
Database | Row 1: Item, Supplier, Unit Price / Rows 2–6: quote data |
E1:E2 |
Criteria Range | E1 = Item, E2 = Copy Paper |
| Formula Cell | Minimum Result | =DMIN(A1:C6, "Unit Price", E1:E2) → Outputs the lowest unit price for Copy Paper |
Common Errors and Notes
- #VALUE! Error: Occurs if the
fieldname does not match any header in the database. - Behavior When No Records Match: If 0 rows match the criteria,
0is returned as the minimum value. - Duplicate Headers in Criteria Range: To specify a range condition on the same column (e.g.,
>=100AND<=500), place two columns with the same header side by side in the criteria range.
Frequently Asked Questions
Q. If there are blank cells in the DMIN function's target column, will 0 be returned as the minimum?
A. No. Blank cells in the target column of the database are automatically ignored, so the minimum among cells containing numeric values is returned accurately.
Q. Can I find the minimum value across multiple OR conditions (e.g., category is Food OR Daily Goods)?
A. Yes. Enter "Food" in Row 2 and "Daily Goods" in Row 3 of the criteria range (e.g., E1:E3) to easily retrieve the minimum value using OR logic.