Skip to main content
Version: Streamsheets 2.5

DMAX

Returns the largest number in a column of cell range which matches the specified criteria.

Syntax

=DMAX(DataRange, ColumnIndex, CriteriaRange)

Arguments

NameDescription
DataRangeCell range, that contains the data to evaluate. The range must include the field labels.
ColumnIndexColumn label or index to find the maximum value in.
CriteriaRangeSpecifies the conditions a row in cell range must fulfill. Must define at least one column with a label and a cell below which specifies the condition.

Return

The maximum value of the matching column.

Examples

FormulaResultComment
=DMAX(A5:C9,2,A2:C3) 
24Evaluates the maximum of valid age entries in "Berlin".