<metaname="description"content="The AVERAGEIFS function is one of the statistical functions. Learn how to use the AVERAGEIFS formula in Excel sheets and compatible files with ONLYOFFICE."/>
<p>The <b>AVERAGEIFS</b> function is one of the statistical functions. It is used to analyze the range of data and find the average value of all numbers in a range of cells, based on multiple criteria.</p>
<pstyle="text-indent: 50px;"><b><em>average-range</em></b> is the selected range of cells you need to find the average in. It is a required argument.</p>
<pstyle="text-indent: 50px;"><b><em>criteria-range-1</em></b> is the first selected range of cells to apply the <em>criteria-1</em> to. It is a required argument. </p>
<pstyle="text-indent: 50px;"><b><em>criteria-1</em></b> is the first condition that must be met. It is applied to the <em>criteria-range-1</em> and used to determine the cells in the <em>average-range</em> to average. It can be a value entered manually or included into the cell you make reference to. It is a required argument.</p>
<pstyle="text-indent: 50px;"><b><em>criteria-range-2, criteria-2, ...</em></b> are additional ranges of cells and their corresponding criteria. These arguments are optional. You can add up to 127 ranges and corresponding criteria.</p>
<pclass="note"><b>Note:</b> you can use wildcard characters when specifying criteria. The question mark "?" can replace any single character and the asterisk "*" can be used instead of any number of characters.</p>