[]
        
(Showing Draft Content)

AVERAGEIF

This function calculates the average of the specified numeric values provided that they meet the specified criteria.

Syntax

AVERAGEIF(range, criteria, [average_range])

Arguments

This function has these arguments:

Argument

Description

range

[Required] One or more cells to average, including numbers or names, arrays, or references that contain numbers.

criteria

[Required] The criteria in the form of a number, expression, cell reference, or text that defines which cells are averaged.

average_range

[Optional] The actual set of cells to average. If omitted, range is used.

Remarks

This is a measure of the variability in a data set.

Examples

AVERAGEIF(A1:A10, "<5000")

AVERAGEIF(R1C1,R3C2,"<>0")