Skip to content

How to Use Excel DMIN Function?

Ads
Listen to this article.
DMIN FunctionPin
DMIN Function

Excel DMIN Function: Excel is a spreadsheet program that is developed for WindowsMacAndroid, and iOS. It helps to perform calculations on your PC. You can also use graphic toolspivot tables, and Visual Basic for Applications (VBA). If you want to get the minimum value of a range based on criteria, you can use the DMIN function.

In this post, you will understand how to use the Excel DMIN Function with its syntax, explanation, and example. Get an official version of MS Excel from the following link:

https://www.microsoft.com/en-in/microsoft-365/excel

Excel DMIN FunctionPin
Excel DMIN Function

Explanation of DMIN Function

  • Here, you will see the syntax of the DMIN function.
  • This function returns the smallest number from the list or database that matches the given condition or criteria.

Syntax

  • Here, you will see the syntax of the DMIN function.
  • To apply this function on your spreadsheet, you have to select a cell and enter the formula in the following format.
  • Once you enter the formula, just click on the Enter button to get the result.

=DMIN(database, field, criteria)

Arguments Description:

  • Database – It is the database range including headers.
  • Field – It is an optional one. This is the field name or index to count.
  • Criteria – It is the criteria range including headers.

Note:
1) You need to give the field argument as a name within the double quotes (” “) or a number representing the field index.
2) The database and criteria range must include the matching table headers.
3) If you didn’t give the field argument as a name within the double quotes (” “), then it returns #NAME? Error.

Example

Let’s see some examples to understand how DMIN Function will work.

  • Initially, you have to open your Excel workbook on your PC and launch a worksheet that has data.
  • For example, we have given a range of input values in B5:E10 and the criteria range (B2:E3). The given condition is “Product=Pencil, Qty>3” and the output is displayed in Cell G6.
Input RangePin
Input Range
  • Then, we have to apply the above-mentioned formula to get the result, as shown in the following screenshot.
Enter the formulaPin
Enter the formula
  • Finally, we need to click on the Enter button to get the result.
OutputPin
Output
  • If you didn’t give the field argument as a name within the double quotes (” “), then it returns #NAME? Error.
Name ErrorPin
Name Error

Multi-row Criteria

  • Multi-row criteria have one or more rows below the headers. These are joined by using OR logic.
  • The expressions in a given criteria row are joined with AND logic.

Sum-Up

In this post, you can clearly understand the usage of Excel DMIN Function with its syntax, explanation, and example. Kindly, share your suggestions in the below comment section. To learn more about Excel functions, then visit our webpage Aawexcel.com.

Video Tutorial

Use the following video to know how to apply the Excel DMIN function in the spreadsheet with examples.

See Also:

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *

Share to...