Parameter List
Syntax
SUMIFS(sum_range, criteria_range1, criterion1,
[criteria_range2, criterion2]
)sum_range
The range of values to add to the sum. For example: A1:A5.
criteria_range1
The range of conditional values to check against criterion1. Must be of the same size as sum_range. For example: B1:B5.
criterion1
The condition to apply to criteria_range1. For example: ">20".
[optional] criteria_range2
An additional range of conditional values to check against criterion2.
More details
In sum_range, you can only sum numbers greater than 0 or Booleans (True equates to 1, False equates to 0).
You can use:
""to sum all the elements wherecriteria_rangehas no value."<>"to sum all elements wherecriteria_rangeis not empty."<>number"or"<>text"to sum all the elements that are not equal to that number or text incriteria_range.Operators such as
">"or">="to sum all the elements where this equates to true.