# AVERAGEIFS

Spread for WinForms provides advanced software components that support Excel import/export, full cell customization, an extensive calculation engine with over 450 functions and more, all with zero dependencies on Excel.

## Content



This function calculates the average of all cells that meet multiple specified criteria.

## Syntax

AVERAGEIFS(*value1*,*condition1,value2*,...,condition2...)
AVERAGEIFS(*array,condition*)
AVERAGEIFS(*array1*,*array2*,...,condition)

## Arguments

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. You can have up to 127 arguments for the conditions.

## Remarks

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

## Data Types

Accepts numeric data. The condition accepts text, numeric, or expression data. Returns numeric data.

## Examples

`AVERAGEIFS(B2:B5,B2:B5,">90",B2:B5,"<100")`
`AVERAGEIFS(R1C1,R3C2,"<>0")`

## Version Available

This function is available in product version 5.0 or later.

## See Also

[AVEDEV](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsAtoC/FunctionAVEDEV) \| [DEVSQ](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsDtoG/FunctionDEVSQ) \| [MEDIAN](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsMtoQ/FunctionMEDIAN) \| [VAR](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsTtoZ/FunctionVAR) \| [AVERAGE](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsAtoC/FunctionAVERAGE) \| [Statistical Functions](/spreadnet/docs/latest/online-formula/formulas-overview/formulas-functs/formulas-functtypes/formulas-functsstats)