[]
This function calculates the average of all cells that meet multiple specified criteria.
AVERAGEIFS(average_range, criteria_range1, criteria1, [criteria_range2, criteria2], ...)
This function has these arguments:
Argument | Description |
|---|---|
average_range | [Required] One or more cells to average, including numbers or names, arrays, or references that contain numbers. |
criteria_range1, criteria_range2, … | Criteria_range1 is required, subsequent criteria_ranges are optional. 1 to 127 ranges in which to evaluate the associated criteria. |
criteria1, criteria2, ... | Criteria1 is required, subsequent criteria are optional. 1 to 127 criteria in the form of a number, expression, cell reference, or text that define which cells will be averaged. For example, criteria can be expressed as 32, "32", ">32", "apples", or B4. |
This is a measure of the variability in a data set.
AVERAGEIFS(B2:B5,B2:B5,">90",B2:B5,"<100")
AVERAGEIFS(R1C1,R3C2,"<>0")