
StatisticalLevel: IntermediateAvailable in: Excel 2007+
In this article
- Syntax
- Examples
- Example 1
- Example 2
- Related functions
AVERAGEIF averages values that meet one condition — often used to ignore zeros.
Syntax
=AVERAGEIF(range, criteria, [average_range])
| Argument |
What it means |
average_range |
Cells to average (defaults to range). |
Examples
Example 1
=AVERAGEIF(C2:C31, ">0")
Average daily sales ignoring closed days.
Example 2
=AVERAGEIF(B:B, "North", E:E)
Average North order.
AVERAGEIFS · AVERAGE
📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.
✨ Ask AI about this articleStuck on a step? Ask a question and the AI answers using this article.
Free · AI can be wrong