Learn Excel - Simplify Life with Excel Concepts

Excel DMAX Function

DMAX Function Example

How to use the DMAX Function

This Excel tutorial explains how to use the Excel DMAX function with syntax and examples.


The Excel DMAX function returns the largest number in a column of datatable or database, based on a given conditions.

For example,

  • The formula =DMAX(D7:G14,"Price",D4:E5) would return 70000 numeric value.
  • The formula =DMAX(D7:G14,2,D4:E5) would return 70000 numeric value.


To Get the maximum value in a column range based on given Criteria.


The DMAX function returns a Numeric value.


=DMAX(database, field, criteria)


The DMAX function syntax has the following arguments:

  • database: Required. The range of cells that makes up the list or database including data headers.
  • field: Required. The table header name or index number of header.
  • criteria: Required. The range of cells that contains your criteria including data headers.


  • The database argument is a range of cells that includes field headers.
  • The criteria can include a variety of expressions, including some wildcards.
  • The DMAX function supports wildcards in criteria.
  • The Criteria can include more than one row.
  • Make sure that the criteria range does not overlap the database list.
  • The database and criteria ranges must include matching headers.

Useful Links: Link 1Link 2Link 3Link 4