ReferenceFunctionsStatistics Functions
MAXIFS
MAXIFS: Returns the maximum numeric value in a range that meets all criteria.
Summary
MAXIFS applies one or more (criteria_range, criteria) pairs and returns the largest
matching numeric value.
Remarks
- Arguments must be
target_rangeplus one or more criteria pairs. - Criteria are combined with logical AND.
- Returns
0when no cells satisfy all criteria. - Non-numeric cells in
target_rangeare ignored.
Examples
Maximum value for one condition
Grid
| Cell | Value | |
|---|---|---|
Formula
=
Result
Not evaluated yet.
Expected
15
Maximum value with two criteria
Grid
| Cell | Value | |
|---|---|---|
Formula
=
Result
Not evaluated yet.
Expected
90
Related functions
FAQ
What does MAXIFS return when no rows match all criteria?
It returns 0 when no numeric target cells satisfy every criterion.
Runtime metadata
Category
Statistics
Signature
MAXIFS(arg1, arg2, ... argN: Any)This function accepts a repeating argument pattern (min args: 3).
Arity
min 3, max variadic
Arguments
arg1Any · Scalar
Caps
PUREREDUCTION
Source