|
|
The Excel DMIN Function
Excel Database Functions
The Excel Database Functions are included to assist you when working with an Excel database. This typically takes the form of a large table of data, where each row in the table stores an individual record. Each column in the spreadsheet table stores a different field (or type of information) for each record. The database functions perform basic operations, such as count, max, min, etc, but they enable the user to specify criteria, so that the operation is performed on selected records only. Other records in the database are ignored. Basic DescriptionThe Excel Dmin function finds the minimum value in a field (column) in a database for selected records only. The records to be included in the calculation are defined by a set of one or more user-specified criteria. The syntax of the function is :
DMIN( database, field, criteria )
where the arguments are shown in the table below:
Wildcards
You can also use the following wildcards in text-related criteria:
? - matches any single character
* - matches any sequence of characters if you do actually want to find the ? or * character, type the ~ symbol before this character in your search. eg. the condition "A*e" will match all cells containing a text string beginning with "A" and ending in "e". The criteria supplied beneath each field heading can be either:
Note that the Excel database functions are not case sensitive. So, for example, the criteria ="North" will be satisfied by cells containing the text "North" or "north". Excel Dmin Function Examples
The following examples are based on the simple database on the right, which stores the examination marks scored by four children in three different subjects. Example 1If, from the example database, we wanted to find the lowest score in Science, from students aged over 8, we could use the Dmin function as shown below. In the example, the criteria are specified in cells G1 - H2 and the Dmin formula is shown in cell G3:
The above Dmin function calculates the minimum value in cells E10 & E13, and therefore returns the value 48% Note that, in the above function, instead of typing in "Score" for the field argument, we could have simply used the number 5 (to denote the 5th column of the database). Example 2In the example below, the Dmin function is used to find the minimum Math examination score for a male child. Again, the criteria are specified in cells G1 - H2 and the Dmin formula is shown in cell G3.
The above Dmin function finds the minimum of the values in cells E5 and E11 and so returns the value 55% Further examples of the Excel Dmin function can be found on the Microsoft Office website. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
Copyright © 2008-2011 ExcelFunctions.net |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||