deepcalc
DocsSUMIF

SUMIF

Sums cells that match a condition.

  • Excel: Not checked yet
  • Google Sheets: Not checked yet
  • Returns: Number

Examples

=SUMIF(A1:A3, ">15")
A
1 10
2 20
3 30
Result 50
=SUMIF(A1:A5, "apple", B1:B5)
AB
1 102
2 204
3 306
4 408
5 5010
Result 0

Syntax

SUMIF(range, criteria, [sum_range])
range
range required
criteria
any required
sum_range
range optional