Returns the average of the cell contents in a set of ranges that meet given conditions.
Syntax
average_range: The cell range from which you want to average values. For example, you can search for cells in column A and column B that meet the conditions, then take the average of the corresponding cells in column C. Eg., C2:C11
test_range: The cell ranges containing values you want to test for the given conditions. Eg., B2:B11
Remarks
Ignores logical values (TRUE, FALSE) present in the cell range.
Examples
|
Formula |
Result |
|
=AVERAGEIFS(C2:C11;B2:B11;E2;A2:A11;F2) |
54.5 |
|
=AVERAGEIFS(C2:C11;B2:B11;"Binder";A2:A11;"East") |
69 |
|
=AVERAGEIFS(C2:C11;B2:B11;E4;C2:C11;">50") |
81.4 |
Possible Errors
|
Errors |
Meaning |
|
#N/A! |
|
|
#NAME! |
|
|
#VALUE! |
|
|
#REF! |
|
|
#DIV/0! |
|
Similar Functions