The Excel Dmax function returns the maximum value in a field (column) in a database for just chosen records. A collection of one or more user-specified criteria defines the records that will be included in the computation.
Syntax :
=DMAX ( database, field, criteria )
Parameters :
Database :
Field :
Criterion :
Eg :
Quarter | Area |
>1 | North |
Example :
If we wanted to discover the greatest sales number in the North area during quarter 2 in the sample database, we might use the Dmax function, as shown below. The requirements are stated in cells F1 – G2 in the example, and the Dmax formula is shown in cell F3: The above Dmax function computes the maximum of the values in cells D6 and D7, yielding the result $340,000. It’s worth noting that, in the preceding function, instead of putting “Sales,” we might have just used the number 4.
Ask Your Query