MAXIFS Function in Excel: Largest Value Meeting Conditions

⏱ 1 min readUpdated 28 September 2026

StatisticalLevel: IntermediateAvailable in: Excel 2019+

In this article
  1. Syntax
  2. Examples
  3. Example 1
  4. Example 2
  5. Related functions

MAXIFS returns the maximum of values where all conditions are met; MINIFS returns the minimum.

Syntax

=MAXIFS(max_range, criteria_range1, criteria1, ...)
Argument What it means
max_range Values to check.

Examples

Example 1

=MAXIFS(E:E, B:B, "North")

Biggest North sale.

Example 2

=MAXIFS(A:A, C:C, F2)

Last order date for the customer in F2.

MINIFS · SUMIFS · MAX

📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.

✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free · AI can be wrong