Spread.Sheets Documentation > Formula Reference > Formula Functions > AVERAGEIF |
This function calculates the average of the specified numeric values provided that they meet the specified criteria.
AVERAGEIF(value1,value2,...,condition)
AVERAGEIF(array,condition)
AVERAGEIF(array1,array2,...,condition)
Each argument can be a double-precision floating-point value, an integer value, or an array (cell range). Up to 255 arguments may be included. You can use a single array (cell range) instead of a list of values. You can use multiple arrays (cell ranges) as well.
This is a measure of the variability in a data set.
Accepts numeric data. The condition accepts text, numeric, or expression data. Returns numeric data.
AVERAGEIF(A1,B3,D5,E9,L8,L9,"<5000")
AVERAGEIF(R1C1,R3C2,"<>0")