Quick, clean, and to the point

Excel SUMIFS Function

Excel SUMIFS function

SUMIFS is a function to sum cells that meet multiple criteria. SUMIFS can be used to sum values when adjacent cells meet criteria based on dates, numbers, and text. SUMIFS supports logical operators (>,<,<>,=) and wildcards (*,?) for partial matching.

Sum cells that match multiple criteria
Return value 
The sum of the cells that meet all criteria
=SUMIFS (sum_range, range1, criteria1, [range2], [criteria2], ...)
  • sum_range - The range to be summed.
  • range1 - The first range to evaulate.
  • criteria1 - The criteria to use on range1.
  • range2 - [optional] The second range to evaluate.
  • criteria2 - [optional] The criteria to use on range2.
Usage notes 

Excel's SUMIFS function sums cells in a range using supplied criteria. Unlike the SUMIF function, SUMIFS can apply more than one set of criteria, with more than one range. The first range is the range to be summed. The criteria are supplied in pairs (range/criteria) and only the first pair is required. For additional criteria, supply an additional range/criteria pair. Up to 127 range/criteria pairs are allowed.


In the first example (I5), SUMIFS is configured to sum values in column F when the color in column C is "red". In the second example (I6), SUMIFS is set to sum values in column F only when the color is "red" and the state is Texas (TX).

=SUMIFS(F5:F11,C5:C11,"red") // sum if red
=SUMIFS(F5:F11,C5:C11,"red",D5:D11,"TX") // sum if red and TX


  • Each additional range must have the same number of rows and columns as the sum_range.
  • Non-numeric criteria must be enclosed in double quotes, but numeric criteria does not need quotes except with operators, i.e. ">32"
  • The wildcard characters ? and * can be used in criteria. A question mark matches any one character and an asterisk matches any sequence of characters.
  • To find a literal question mark or asterisk, use a tilde (~) in front question mark or asterisk (i.e. ~?, ~*).
  • SUMIF and SUMIFS can handle ranges, but not arrays. This means you can't use other functions like YEAR on the criteria range, since the result is an array. If you need this functionality, use the SUMPRODUCT function.
  • The order of arguments is different between the SUMIFS and SUMIF functions. Sum_range is the first argument in SUMIFS, but the third argument in SUMIF.

Excel Formula Training

Formulas are the key to getting things done in Excel. In this accelerated training, you'll learn how to use formulas to manipulate text, work with dates and times, lookup values with VLOOKUP and INDEX & MATCH, count and sum with criteria, dynamically rank values, and create dynamic ranges. You'll also learn how to troubleshoot, trace errors, and fix problems. Instant access. See details here.