- Home
- DMAX Function
DMAX Function
The DMAX function is one of the database functions. It is used to return the largest number in a field (column) of records in a list or database that matches conditions that you specify.
Syntax
DMAX(database, field, criteria)
The DMAX function has the following arguments:
Argument | Description |
---|---|
database | The range of cells that make up a database. It must contain column headings in the first row. |
field | An argument that specifies which field (i.e. column) should be used. It can be specified as a number of the necessary column, or the column heading enclosed in quotation marks. |
criteria | The range of cells that contain conditions. It must contain at least one field name (column heading) and at least one cell below that specifies the condition to be applied to this field in the database. The criteria cell range should not overlap the database range. |
Notes
How to apply the DMAX function.
Examples
The figure below displays the result returned by the DMAX function.
Host ONLYOFFICE Docs on your own server or use it in the cloud
Article with the tag:
Browse all tags