[Table of Contents] [docx version]
SpreadsheetML Reference Material - Table of Contents
DMAX ( database , field , criteria )
Description: Computes the maximum value of the cells in a column of a list or database that match the specified criteria. (See the DAVERAGE function §3.17.7.77.)
Arguments:
Name |
Type |
Description |
database |
The range of cells that makes up the list or database. | |
text, number |
The column to which criteria shall be applied. | |
criteria |
The range of cells that contains the specified conditions. |
For a detailed description of each argument, see the DAVERAGE function §3.17.7.77.
Return Type and Value: number – The maximum of the values of the cells that correspond to the specified criteria.
[Example: Using the data in the example in the DAVERAGE function §3.17.7.77:
The maximum profit of apple and pear trees is computed by DMAX(A4:E10,"Profit",A1:A3), which results in 105.
end example]