<metaname="description"content="The SUMIFS function is one of the math and trigonometry functions. Learn how to use the SUMIFS formula in Excel sheets and compatible files with ONLYOFFICE."/>
<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">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>