The SUMIFS 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.
The SUMIFS function syntax is:
SUMIFS(sum-range, criteria-range1, criteria1, [criteria-range2, criteria2], ...)
sum-range is the range of cells to sum.
criteria-range1 is the first selected range of cells to apply the criteria1 to.
criteria1 is the first condition that must be met. It is applied to the criteria-range1 and used to determine the cells in the sum-range to sum. It can be a value entered manually or included into the cell you make reference to.
criteria-range2, criteria2, ... are additional ranges of cells and their corresponding criteria. These arguments are optional.
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.
To apply the SUMIFS function,
- select the cell where you wish to display the result,
- click the Insert function icon situated at the top toolbar,
or right-click within a selected cell and select the Insert Function option from the menu,
or click the icon situated at the formula bar,
- select the Math and trigonometry function group from the list,
- click the SUMIFS function,
- enter the required arguments separating them by commas,
- press the Enter button.
The result will be displayed in the selected cell.
Return to previous page