DMIN(database, field, criteria)One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.
database:
The range of cells that contains the data you want to analyze. This range should include the headers for the fields.
field:
The specific column or field from which you want to extract the minimum value. This can be the column header name (as a string) or the index number of the column (starting from 1 for the first column in the database).
criteria:
The range of cells that defines the conditions that must be met for a record to be included in the calculation. This range should include at least one column header and one cell below it that specifies the condition.
The DMIN function in Google Sheets is a database function that returns the minimum value from a specified column in a database that meets certain criteria. This function is particularly useful when you need to analyze data in a structured format, such as tables, and want to find the lowest value based on specific conditions.
In simpler terms, DMIN allows you to filter your data based on certain criteria and then find the smallest value in a particular column of that filtered data.
Imagine you are managing a database of employee salaries stored in a Google Sheets spreadsheet:
| EmployeeID | Name | Department | Salary |
|---|---|---|---|
| 1 | John Doe | Sales | 50000 |
| 2 | Jane Smith | Marketing | 60000 |
| 3 | Jim Brown | Sales | 45000 |
| 4 | Jake White | HR | 70000 |
You want to find the minimum salary of employees in the Sales department.
To achieve this, you would use the DMIN function as follows:
=DMIN(A1:D5, "Salary", A7:B8)In this formula:
A1:D5 is the range of the entire database (the Employee Table)."Salary" is the column from which you want to find the minimum value.A7:B8 is the range that contains the criteria for filtering the data.| Department | Value |
|---|---|
| Sales |
When you apply the DMIN formula with the criteria set for the Sales department, the output would be:
45000This indicates that the minimum salary of employees in the Sales department is $45,000.
DMIN is beneficial because it allows for efficient data analysis within structured datasets. It simplifies the process of finding minimum values based on specific criteria without the need for complex filtering or sorting. This makes it an essential tool for anyone working with databases in Google Sheets.
DMIN is an essential function for anyone working with data in Google Sheets, providing a powerful way to enhance data analysis and reporting capabilities.
Happy spreadsheeting!
You have a sales database with columns for product names and their prices. Using the DMIN formula, you can find the minimum price of a specific product category, enabling quick analysis of pricing strategies and helping to identify competitive pricing opportunities.
Sign up for Better Analyst and get unlimited AI-powered formula generation, explanations, and advanced data analysis.
Browse our complete library of Google Sheets formula guides
Compare your options
Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.
AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.