SUMIFS With Multiple Criteria

What is SUMIFS with Multiple Criteria?

Summing up values in excel based on conditions is the kind of logical calculation we do to get the sum based on condition. To perform these logic-based calculations, we have a variety of functions in excel. When you want to sum values based on more than one criterion, then we need to use the SUMIFS formula in excel. In this article, we will guide you on how to use the SUMIFS formula with multiple criteria.

SUMIFS-With-Multiple-Criteria.png

You are free to use this image on your website, templates etc, Please provide us with an attribution linkHow to Provide Attribution?Article Link to be Hyperlinked
For eg:
Source: SUMIFS With Multiple Criteria (wallstreetmojo.com)

SUMIFS Formula in Excel

SUMIFSSUMIFSIn Excel, SUMIFS is an in-built function that calculates the sum of all those cells which meet the multiple specified criteria & it is widely used as a conditional statement. read more is the improved version formula of SUMIF function in excel. SUMIFS allows us to match multiple criteria to sum any range of values. For example, if you have sales values based on city-wise across multiple months, then using the SUMIFS function, we can get the total sales value for the particular city in the particular month. In this case, City & Month are the criteria to arrive at the sales value.

So, when the criteria to arrive, the result is single, we can use SUMIF, and in case of more than one criteria, we can use SUMIFS function.

Below is the syntax of the SUMIFS formula.

Sumifs syntax
  • Sum Range: This is simply the range of cells that we need to sum.
  • Criteria Range 1: To Sum Range what is the criteria range.
  • Criteria 1: From the Criteria Range 1 what is the one particular value we need to sum?
  • Criteria Range 2: To Sum Range what is the second criteria range.
  • Criteria 2: From the Criteria Range 2 what is the one particular value we need to sum?

Like this, we can give 127 criteria ranges to sum one particular value.

How to Use SUMIFS with Multiple Criteria?

You can download this SUMIFS With Multiple Criteria Excel Template here – SUMIFS With Multiple Criteria Excel Template

Example #1

Below are examples of how to use the SUMIFS formula with multiple criteria.

  1. For example, look at the below sales data.

    Sumifs with Multiple Criteria - Example 1.1

  2. From the above table, we need to find “what is the total sales for the city “Florida” and for the month of “Aug.”

    Sumifs with Multiple Criteria - Example 1.2

  3. Open SUMIFS function in the I2 cell.

    Sumifs with Multiple Criteria - Example 1.3

  4. The first argument of the SUMIFS function is Sum Range, i.e., what is the column we need to sum, so in this case, we need to sum the “Sales” column, so select the range of values from E2 to E16.


    Sumifs with Multiple Criteria - Example 1.4

  5. The second argument is Criteria Range 1, i.e., based on what criteria we need to sum the “Sales” column. In this case, our first criteria are to sum values based on the “State” column, so for this argument, select A2 to A16 cells.


    Sumifs with Multiple Criteria - Example 1.6

  6. Now we need to select the second Criteria Range 2 so our second criteria range is to sum value is “Month,” so select the cells from D2 to D16.

    Sumifs with Multiple Criteria - Example 1.7

  7. After mentioning the Criteria Range 2, we need to mention what is the Criteria 2 value from the selected Criteria Range 2. In this range, we need the sum value of the month “Aug,” so we have this state value in H2 cell, give the cell reference.


    Sumifs with Multiple Criteria - Example 1.8

  8. Ok, we are done with supplying all the criteria. Close the bracket and hit enter to get the result.



    Sumifs with Multiple Criteria - Example 1.9

So for the city “Florida” and for the month, “Aug” total sales is $1,447. So SUMIFS function first looks for the city “Florida,” and in this city, it looks for the month of “Aug,” and whichever the rows match these two criteria are summed up.

Example #2

Now for the same data, we will see how to use more criteria. For example, for the same state “Florida” and for the month of “Aug” and for the sales rep “Peter,” we need to find the sales value.

  • For the old formula, we need to add one more criterion, i.e., the “Sales Rep” criteria of “Peter.”
Sumifs with Multiple Criteria - Example 2.1
  • For the Criteria Range 3, choose the “Sales Rep” cell values.
Sumifs with Multiple Criteria - Example 2.2
  • After selecting the Criteria Range 3 column, we need to mention the Criteria 3, i.e., we need only the sum of the “Sales Rep” “Peter,” so give cell reference as I6 cell.
Sumifs with Multiple Criteria - Example 2.3
  • Ok, third criteria are also supplied, so close the bracket and hit the enter key to get the result.
Multiple Criteria - Example 2.4

The only one-row item matches the criteria of “State = Florida,” “Month = Aug,” and “Sales Rep = Peter,” i.e., row number 5 (colored with green).

Things to Remember

  • SUMIFS formula can match 127 criteria’s.
  • Cell reference length should be the same for all the parameters of the formula.

This has been a guide to SUMIFS with Multiple Criteria. Here we discuss how to sum values based on more than one criterion using SUMIFS Formula in Excel. You can learn about excel from the following articles –

  • 35+ Courses
  • 120+ Hours
  • Full Lifetime Access
  • Certificate of Completion
LEARN MORE >>