MAX vs MAXIFS Function in Excel + Tips (Video in Khmer)
Learn how to use MAX and MAXIFS function in Excel step by step to find maximum value with criteria with simple examples and video tutorial.
Hello everyone! Today i will show you how to use MAX and MAXIFS functions in Microsoft Excel step by step. Very easy and useful formulas for finding highest number with or without conditions! MAXIFS function is available in Excel 2019, Excel 2021, Excel 2024, Excel 365, and Excel for Web.
1. What is MAX Function?
The MAX function finds the highest (maximum) number in a range of cells.
Think of MAX like looking for the champion score:
- Put range of numbers into
=MAX(range). - Excel instantly returns the largest number!
2. What is MAXIFS Function?
The MAXIFS function finds the highest number that meets one or more specific criteria or conditions.
Think of MAXIFS like MAX with a filter:
- Find highest score in "Class A" only.
- Find highest sales for "Electronics" department.
3. 🛠️ Formula Syntax & Parameters
=MAX(number1, [number2], ...)
=MAXIFS(max_range, criteria_range1, criteria1, [criteria_range2, criteria2], ...)
max_range: Required forMAXIFS. The actual range of numbers where you want to find the maximum value.criteria_range1: Required forMAXIFS. The range of cells to test against condition 1.criteria1: Required forMAXIFS. The condition/rule (e.g."Sales",">1000",A2).
4. 📋 Practical Examples
Example Data Table (A2:C7)
| Row | Column A (Department) | Column B (Employee) | Column C (Sales Amount) |
|---|---|---|---|
| 2 | Electronics | John | $1,200 |
| 3 | Electronics | Alex | $2,500 |
| 4 | Clothing | Sara | $1,800 |
| 5 | Electronics | David | $2,100 |
| 6 | Clothing | Emma | $2,800 |
| 7 | Clothing | Tom | $950 |
Example 1: Find Overall Highest Sales with MAX
To find the highest sales amount across all departments:
=MAX(C2:C7)
👉 Result: Returns $2,800 (Emma's sales).
Example 2: Find Highest Sales for Single Criteria with MAXIFS
To find the highest sales amount in "Electronics" department only:
=MAXIFS(C2:C7, A2:A7, "Electronics")
👉 Result: Returns $2,500 (Alex's sales in Electronics).
Example 3: Find Highest Value with Multiple Criteria
Find highest sales in "Clothing" department where sales amount is less than $2,000:
=MAXIFS(C2:C7, A2:A7, "Clothing", C2:C7, "<2000")
👉 Result: Returns $1,800 (Sara's sales).
💡 Quick Tips for MAX and MAXIFS Functions
max_rangeComes First inMAXIFS: UnlikeSUMIFwhere sum range is at the end,MAXIFSrequires the calculation range (max_range) to be the VERY FIRST parameter!- Criteria Ranges Must Be Same Size: All
criteria_rangearguments must have exact same row and column size asmax_range, otherwise Excel returns#VALUE!error. - Use Comparison Operators in Quotes: When writing text criteria or logical operations, enclose in double quotes like
">500","<2000", or"<>0". - Returns
0If No Match Found: If no rows match your criteria,MAXIFSreturns0. - Excel Version Requirement:
MAXworks in all Excel versions.MAXIFSrequires Excel 2019, Excel 2021/2024, Excel 365, or Excel for Web.
📚 Related Resources & Tutorials
Related Tutorials
Opens in new tab ↗MAX vs MAXIFS vs LARGE Function in Excel + Tips (Video in Khmer)
Learn how to use MAX, MAXIFS, and LARGE functions in Excel step-by-step to find highest values and Nth largest rank with simple examples and video tutorial.
NOT vs XOR Function in Excel + Tips (Video in Khmer)
Learn how to use NOT and XOR logical functions in Excel step-by-step with simple examples and video tutorial.
TOCOL vs TOROW in Excel + Tips
Learn how to convert 2D array into a single column or single row in Excel step-by-step with simple examples and tips.