Table of Contents
This article provides a clear overview of AVERAGEIF Function (Returns the Average Value According to, with the main facts, useful context, and practical details organized for easy reading.
Article instructions syntax and how to use the AVERAGEIF () function in Excel.

Description
The AVERAGEIF () function returns the average value of all selected cells that meet the conditions you specify.
Syntax
= AVERAGEIF (range, criteria, average_range)
Arguments
- range: is one or more cells to calculate the average value, range can be numbers, range names, arrays or references that contain numbers.
- criteria: a condition in the form of numbers, expressions, cell references or text that identifies the cells that will calculate the average value.
- average_range: the set of cells that really need to calculate the average value, if average_range is blank, the range will be used to calculate the average value.
Note
- The empty cells in average_range are ignored.
- In range containing logical values (TRUE or FALSE) are also ignored.
- If range is empty or contains strings, the function AVERAGEIF () will give an error
. - In the criteria containing an empty (empty) cell, the function will treat it as 0.
- If no cell in range meets criteria criteria, AVERAGEIF () function will return an error.
- You can use wildcards such as question marks (?) Instead of a certain character, asterisks (*) instead of a certain string in criteria. When the condition in criteria is a? or the *, the more you type ~ before it.
- Average_range and range are not necessarily the same size, the actual average cells will use the top left cell of average_range as the starting cell, and include additional cells corresponding to the size of the range. To better understand you see the example below:

For Example
Example 1:

Example 2:

FAQ
What is the main focus of AVERAGEIF Function (Returns the Average Value According to?
The article explains the most important facts, context, and practical details related to AVERAGEIF Function (Returns the Average Value According to.
Who may find this information useful?
It is useful for readers who want a clear overview, practical context, and a better understanding of the subject.
What should readers verify before taking action?
Check current product versions, official requirements, regional availability, and any details that may have changed since the original publication.
Reader Comments 0
Sign in with email or Google to join the discussion.