logo
excelfunctions.org
bookmarks

DMAX

Returns the maximum value from selected database entries.

DatabaseDatabase & Lists

What it does

Finds the largest number in a database column that matches criteria.

Syntax

DMAX(database, field, criteria)

Arguments

  • database(range) β€” The range of cells.
  • field(text) β€” The column to check.
  • criteria(range) β€” The conditions range.

Examples

Max Sales

Find max sales for 'East'.

FORMULA
=DMAX(A1:B5, "Sales", D1:D2)
RESULT
500
SAMPLE DATA
ABCD
1RegionSalesRegion
2East200
3West300
4East500
5North100
6East