MAXIFS Function

The MAXIFS function is one of the statistical functions. It is used to return the maximum value among cells specified by a given set of conditions or criteria.

The MAXIFS function syntax is:

MAXIFS(max_range, criteria_range1, criteria1 [, criteria_range2, criteria2], ...)

max_range is the range of cells in which the maximum will be determined.

criteria_range1 is the first selected range of cells to apply the criteria1 to.

criteria1 is the first condition that must be met. It is applied to the criteria_range1 and used to determine which cells in the max_range will be evaluated as maximum. It can be a value entered manually or included into the cell you make reference to.

criteria_range2, criteria2, ... are additional ranges of cells and their corresponding criteria. These arguments are optional.

Note: you can use wildcard characters when specifying criteria. The question mark "?" can replace any single character and the asterisk "*" can be used instead of any number of characters.

To apply the MAXIFS function,

  1. select the cell where you wish to display the result,
  2. click the Insert function Insert function icon icon situated at the top toolbar,
    or right-click within a selected cell and select the Insert Function option from the menu,
    or click the Function icon icon situated at the formula bar,
  3. select the Statistical function group from the list,
  4. click the MAXIFS function,
  5. enter the required arguments separating them by commas or select a range of cells with the mouse,
  6. press the Enter button.

The result will be displayed in the selected cell.

MAXIFS Function