<p>The <b>SUMIFS</b> function is one of the math and trigonometry functions. It is used to add all the numbers in the selected range of cells based on multiple criteria and return the result.</p>
<pstyle="text-indent: 50px;"><b><em>criteria1</em></b> is the first condition that must be met. It is applied to the <em>criteria-range1</em> and used to determine the cells in the <em>sum-range</em> to sum. It can be a value entered manually or included into the cell you make reference to.</p>
<pstyle="text-indent: 50px;"><b><em>criteria-range2, criteria2, ...</em></b> are additional ranges of cells and their corresponding criteria. These arguments are optional.</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>
<p>To apply the <b>SUMIFS</b> function,</p>
<ol>
<li>select the cell where you wish to display the result,</li>
<li>click the <b>Insert Function</b><imgalt="Insert Function icon"src="../images/insertfunction.png"/> icon situated at the top toolbar,
<br/>or right-click within a selected cell and select the <b>Insert Function</b> option from the menu,
<br/>or click the <imgalt="Function icon"src="../images/function.png"/> icon situated at the formula bar,
</li>
<li>select the <b>Math and trigonometry</b> function group from the list,</li>
<li>click the <b>SUMIFS</b> function,</li>
<li>enter the required arguments separating them by commas,</li>
<li>press the <b>Enter</b> button.</li>
</ol>
<p>The result will be displayed in the selected cell.</p>