How to Use AVERAGEIF Function in Excel + Tips (Video in Khmer)
Learn how to use AVERAGEIF function in Excel step-by-step to calculate average of numbers based on one condition with simple examples, tips, and video tutorial in Khmer.
Hello everyone! In this video I show you the easy step-by-step guide on how to use AVERAGEIF function in Microsoft Excel. Follow this video to learn.
AVERAGEIF function help you calculate the average value of numbers in a range that match ONE condition only. Very useful for simple filtering without using complex IF formulas!
📚 Related Tutorial: Want average of multiple conditions? Check out How to Use AVERAGEIFS Function in Excel!
🛠️ Formula Syntax
=AVERAGEIF(range, criteria, [average_range])
range: The range of cells you want to check for conditions.criteria: The condition you want to check (e.g.,">50","North", or cell reference).average_range(optional): The range of numbers to average. If omitted,rangeitself is used.
📋 Sample Data (Follow Along)
Create this simple table in cells A1:B6:
| Row | Column A (Region) | Column B (Sales) |
|---|---|---|
| 1 | Region | Sales |
| 2 | North | $500 |
| 3 | South | $700 |
| 4 | North | $800 |
| 5 | South | $600 |
| 6 | North | $400 |
📊 Simple Examples
Example 1: Average Sales in "North" Region
Use cell C2 to put criteria:
=AVERAGEIF(A2:A6, C2, B2:B6)
👉 Calculation:
- Condition: Region =
"North" - Numbers to average:
$500,$800,$400 (500 + 800 + 400) / 3=$566.67
👉 Result:$566.67
Example 2: Average Sales Greater Than $600
=AVERAGEIF(B2:B6, ">600")
👉 Calculation:
- Condition: Sales >
$600 - Numbers:
$700,$800 (700 + 800) / 2=$750
👉 Result:$750
Example 3: Average Sales in "South" Region (Using Column Index)
=AVERAGEIF(A2:A6, "South", B2:B6)
👉 Result: $650
💡 Quick Tips for AVERAGEIF
- Text Criteria Need Quotes: When using text (like
"North") as criteria, you must wrap it in double quotes!- Operators in Quotes: Comparison operators like
>,<,>=,<=,<>also need to be inside double quotes (e.g.,">100")!- Blank Cells:
AVERAGEIFignores blank cells (doesn't count them as 0).- Criteria Range vs Average Range: If you omit
average_range, Excel will average therangeitself! Make sure these ranges match in size and order.
📹 Video Tutorial in Khmer
How to Use AVERAGEIF Function in Excel (Video in Khmer)
📚 Related Resources & Tutorials
Related Tutorials
Opens in new tab ↗How to Use AVERAGE / AVERAGEIF Functions in Excel (Video in Khmer)
Learn how to calculate the average of numbers in Excel using AVERAGE/AVERAGEIF function with simple examples and Khmer video guides.
How to Use XMATCH Function in Excel (Multiple Examples)
Learn how to use XMATCH function in Excel step-by-step to lookup value in table or range with simple examples and video guide.
How to Use CHOOSE Function in Excel + Tips (Video in Khmer)
Learn how to use CHOOSE function in Excel step-by-step to pick values by position number with simple examples, tips, and video tutorial in Khmer.