AVERAGEIFS function - Zoho Sheet - Help Guide

AVERAGEIFS

Returns the average of the cell contents in a set of ranges that meet given conditions.

 

Syntax

 

AVERAGEIFS(average_range; test_range; condition; [test_range1]; [condition1];...)

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

condition: The given test conditions. It can be a number, a text string, or an expression. ">50"

 

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


Get a hands-on experience of the function in the embedded range below.   



Possible Errors

 

Errors

Meaning

#N/A!

  • The function could not find the value it was asked to look for. Commonly occurs in VLOOKUP and similar functions.

#NAME!

  • The function name is incorrect or invalid.

  • The given defined name (if any) is invalid.

  • There is a typo in the defined name used in the function.

  • Double quotes are missing for text values in the function.

  • Colon missing in a cell range reference.

#VALUE!

  • The given argument's data type is incorrect or invalid.
    For example, the function =DATE(A1:A3) will return a #VALUE error when a text value is present in the range.

#REF!

  • The given cell reference is incorrect or invalid. This error may occur when a cell/range has been deleted, moved or pasted over.

#DIV/0!

  • The given average_range is empty or has text value only.

 

Similar Functions