Database function

DMIN function

Returns the smallest number in a column of a list, using only the records that meet the conditions in a criteria range.

Available in All versions of Excel, including Microsoft 365 and Excel for the web

In every Excel versionWorks in Google Sheets

Syntax

DMIN(database, field, criteria)
ArgumentWhat it means
databaseRequiredThe list including its header row.
fieldRequiredThe column to search for the minimum, as a header in quotes or a column number.
criteriaRequiredThe criteria range.

Returns: The lowest matching number, or 0 if no record matches.

How DMIN works

DMIN is the opposite of DMAX: it returns the lowest number among the records that pass your conditions. Typical questions: the lowest salary in a department (for pay-band checks), the smallest order from a key customer, or the earliest date in a filtered set of invoices.

Conditions come from a criteria range on the sheet. Put several conditions on the same row to require all of them — for example Dept = Sales and Years ≥ 3 — or on separate rows to accept any of them. If no record matches, DMIN returns 0, which can be mistaken for a real minimum; MINIFS behaves the same way.

Examples

1Lowest salary in IT

F2fx=DMIN(A1:D7, "Salary", A9:A10)
ABCDEF
1DeptNameYearsSalary
2SalesAna34200049000
3ITBen758000
4SalesCarla546500
5ITDev249000
6HREli951000
7SalesFay138500
8
9Dept
10IT

Result: 49000

The IT department has Ben (58,000) and Dev (49,000); the minimum is 49,000.

2Two conditions on one row (AND)

F2fx=DMIN(A1:D7, "Salary", A9:B10)
ABCDEF
1DeptNameYearsSalary
2SalesAna34200042000
3ITBen758000
4SalesCarla546500
5ITDev249000
6HREli951000
7SalesFay138500
8
9DeptYears
10Sales>=3

Result: 42000

Both conditions sit on the same criteria row, so a record must be in Sales and have at least 3 years. Ana (42,000) and Carla (46,500) qualify; Fay has only 1 year. The minimum is 42,000.

⬇Practice workbookExamples with live formulas + practice sheets · .xlsx · 14 KB

Common errors and how to fix them

ErrorWhy it happensFix
0 instead of an errorNo record matches.Verify the criteria; DCOUNT shows how many records match.
#VALUE!The field does not exist in the list.Match the header text exactly.

Tips

  • Blank cells in the field are ignored, not treated as 0.
  • For dates, format the result cell as a date — DMIN returns the serial number.

Google Sheets

DMIN also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.

DMIN in other languages

In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.

LanguageFunction name
DutchDBMIN
FinnishTMIN
FrenchBDMIN
GermanDBMIN
HungarianAB.MIN
ItalianDB.MIN
PolishBD.MIN
Portuguese (Brazil)BDMÍN
Portuguese (Portugal)BDMÍN
RussianДМИН
SpanishBDMIN
TurkishVSEÇMİN