Quick Answer

DMIN Function

Returns the minimum value in a database column for rows that meet the criteria.

✓ Excel✓ Google SheetsExcel All versions

Syntax

DMIN
(database, field, criteria)

Parameters

ParameterDescriptionRequired
databaseThe range containing the database, including the header row as the first row.Required
fieldThe column to inspect, given as the column label in quotes (e.g. "Yield") or its 1-based column index.Required
criteriaThe range with a header row matching database column names and one or more condition rows; only matching records are considered.Required

Basic Example

Find the lowest Yield among apple trees taller than 10

=DMIN(A1:E7, "Yield", A9:B10)
Result10

The criteria A9:B10 (Tree=Apple, Height>10) matches two rows with Yield 14 and 10; the smallest is 10.

Advanced Examples

Example 1: Minimum Profit among matching trees

Switch the field to Profit

Use the same criteria but a different field to find the lowest Profit.

=DMIN(A1:E7, "Profit", A9:B10)
Result: 75
The two matching rows have Profit 105 and 75, so the minimum is 75.

Example 2: Minimum across a single condition

Lowest Yield for any apple tree

Criteria A9:A10 is Tree=Apple across all three apple rows.

=DMIN(A1:E7, "Yield", A9:A10)
Result: 6
Apple yields are 14, 10, and 6; the minimum is 6.

How DMIN Works

DMIN filters the database to rows matching the criteria, then returns the smallest numeric value found in the specified field column of those rows. If no records match, DMIN returns 0.

1
Set up the database
Enter your table with a header row, e.g. A1:E7 with Tree, Height, Age, Yield, Profit.
2
Set up criteria
Place criteria headers and values in a separate range, e.g. A9:B10.
3
Enter DMIN
Type =DMIN(A1:E7, "Yield", A9:B10) and press Enter.

Important Notes & Limitations

  • Considers only numeric values in the field; text is ignored.

  • If no records match, DMIN returns 0 rather than an error.

  • Criteria header labels must exactly match database headers.

Common Errors & Fixes

0 resultNo rows matched the criteria, so there is no value to minimize.

Fix: Check that the criteria headers and conditions match the database.

#VALUE!The field was an unquoted column name.

Fix: Wrap the field name in quotes, e.g. "Yield", or use the column index.

Download Practice File

Practice DMIN with Real Data

Download a sample CSV file with pre-populated data and practice exercises for the DMIN function. Works in both Excel and Google Sheets.

Works in Google SheetsCompatible with ExcelIncludes exercises

File format: CSV (comma-separated values) - opens in Excel, Google Sheets, and all spreadsheet apps

Frequently Asked Questions

What does DMIN return if nothing matches?
It returns 0, not an error.
Does DMIN ignore text in the field?
Yes. Only numeric values in matching rows are considered for the minimum.
How is DMIN different from MINIFS?
DMIN filters a multi-column database by a full criteria range, while MINIFS applies multiple single-range conditions.