EXCEL MAXIFS FUNCTION

The Excel Maxifs function retrieves the maximum value from a subset of data defined by one or more criteria.

Syntax :

=MAXIFS( max_rangecriteria_range1criteria1[criteria_range2, criteria2], … )

Parameters :

  • The following perameter are:

max range –

  • An array of numeric values (or a range of cells containing numeric values) from which the largest value should be returned if the requirements are met.

criteria range1 –

  • An array of values to be evaluated against criteria1 (or a range of cells holding values).
    (Everything in this array must be the same length as the max range.)

criteria1 –

  • The condition to be evaluated against the criteria range1 values.

[criteria range2, criteria2], [criteria range3, criteria3],… –

  • Optional additional arrays of values to be checked and the conditions to test.

Step By Step Guide of MAXIFS Function

Example :

To determine the highest sales number for the first quarter:
In this example, the Excel Maxifs method detects rows in which the value in column A equals one and returns the largest value from the associated values in column D.

=MAXIFS( D2:D13, A2:A13, 1 )

which gives the result $456,000.

In other words, the function finds the highest among the values $223,000, $125,000, and $456,000. (from cells D2, D3 and D4).

  • #VALUE! – Occurs if the max range and criteria range arrays are not all of the same length.
  • #NAME?- This happens if you’re using an earlier version of Excel (pre-2019) that doesn’t support the Maxifs function.

Related Functions

HLOOKUP Function

HLOOKUP Function

Explore Now

VLOOKUP Function

VLOOKUP Function

Explore Now

INDEX Function

INDEX Function

Explore Now

MATCH Function

MATCH Function

Explore Now

DATE Function

DATE Function

Explore Now

IF Function

IF Function

Explore Now

OR Function

OR Function

Explore Now

AND Function

AND Function

Explore Now

RANK Function

RANK Function

Explore Now

SUMIF Function

SUMIF Function

Explore Now

XIRR Function

XIRR Function

Explore Now

WORKDAYS Function

WORKDAYS Function

Explore Now