- Home
- SUMIF function
SUMIF function
The SUMIF 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 the specified criterion and return the result.
Syntax
SUMIF(range, criteria, [sum_range])
The SUMIF function has the following arguments:
Argument | Description |
---|---|
range | The selected range of cells to apply the criterion to. |
criteria | The criterion used to determine the cells to sum, a value entered manually or included into the cell you make reference to. |
sum_range | The range of cells to sum. It is an optional argument, if omitted, the function will sum the numbers of range. |
Notes
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.
How to apply the SUMIF function.
Examples
The figure below displays the result returned by the SUMIF function.
Host ONLYOFFICE Docs on your own server or use it in the cloud
Article with the tag:
Browse all tags