DMAX (database function)

<< Click to Display Table of Contents >>

DMAX (database function)

Syntax:

DMAX(DatabaseArea, Column, CriteriaArea)

Description:

Returns the largest of those values in a column of a database area that match the conditions specified in the criteria area.

For more information on the use of database related functions, see Working with database functions.

DatabaseArea is a cell range containing the database to be evaluated. The first row of DatabaseArea must contain labels for the database columns (e.g., Amount, Price, etc.).

Column is the desired column of the database area. You can specify Column by its relative column number or by its column label in double quotation marks (e.g., "Amount", "Price", etc.).

CriteriaArea is a cell range containing one or more conditions that have to be fulfilled. The first row of CriteriaArea has to contain column labels (e.g., Amount, Price, etc.).

See also:

MAX, DMIN