Excel: What is function AVERAGEIF in excel, How to find average for data that satisfies a condition

Опубликовано: 28 Март 2026
на канале: Allan Sam
116
5

Excel: What is function AVERAGEIF in excel, How to find average for data that satisfies a condition #excel #exceltricks #exceltutorial

#AVERAGEIF #average #conditionexcel #excel #exceltricks #exceltutorial #exceltutorial2021 #exceltutorialforbeginners

AVERAGEIF function:

The AVERAGEIF function in Excel is used to calculate the average of a range of values that meet a certain criteria.

The syntax for the AVERAGEIF function is as follows:

AVERAGEIF(range, criteria, [average_range])
Where:

range: the range of cells to be evaluated.
criteria: the criteria used to determine which cells to include in the calculation. This can be a value, a cell reference, a text string, or an expression that evaluates to a value or a text string.
average_range (optional): the range of cells whose values will be used in the calculation. If this argument is omitted, the values in the range argument will be used.
For example, if you have a list of numbers in cells A1 to A10, and you want to calculate the average of the numbers that are greater than or equal to 5, you can use the following formula:

=AVERAGEIF(A1:A10, "=5")
This formula will calculate the average of all the numbers in the range A1 to A10 that are equal to 5.

You can also use a cell reference as the criteria, for example:

=B1*AVERAGEIF(A1:A10, B1)
This formula will calculate the average of the numbers in the range A1 to A10 that are equal to the value in cell B1, and then multiply it by the value in cell B1.