Excel SUMPRODUCT Multiple Criteria

What does it do?

It returns the sum of multiple criteria from the corresponding ranges or arrays

Formula breakdown:

=SUMPRODUCT((array 1 criteria) * (array2 criteria) * array values)

What it means:

=SUMPRODUCT((find my criteria in this array) * (find my criteria in that array) * return the values from the values array)


The SUMPRODUCT function is my favorite Excel function by a stretch!  You can create some powerful calculations with the SUMPRODUCT function by creating a criteria for a selected array.  For example, you can see how much sales your sales rep did in a particular region and for a particular quarter without having to create a Pivot Table.

It takes some practice to get comfortable with this function but when you master it, it opens up another Excel world!

DOWNLOAD EXCEL WORKBOOK

 

In our example, we want to get the total sales of John in the North Region in Q1:

Excel SUMPRODUCT Multiple Criteria

 

STEP 1: We need to enter the SUMPRODUCT function:

+SUMPRODUCT(

Excel SUMPRODUCT Multiple Criteria

 

STEP 2: Create the criteria for the Sales Rep “John”:

+SUMPRODUCT((B15:B23=”john”)*

Excel SUMPRODUCT Multiple Criteria

Create the criteria for the Region “North”:

+SUMPRODUCT((B15:B23=”john”)*(C15:C23=”north”)*

Excel SUMPRODUCT Multiple Criteria

Create the criteria for the Quarter “1”:

+SUMPRODUCT((B15:B23=”john”)*(C15:C23=”north”)*(E15:E23=1)*

Excel SUMPRODUCT Multiple Criteria

Create the sum array to total the values of the Sales column:

+SUMPRODUCT((B15:B23=”john”)*(C15:C23=”north”)*(E15:E23=1)*D15:D23)

Excel SUMPRODUCT Multiple Criteria

Once your formula is complete, you can see that it magically calculated the sum of the matching values!

Excel SUMPRODUCT Multiple Criteria

 

Excel SUMPRODUCT Multiple Criteria

Helpful Resource:

If you like this Excel tip, please share itEmail this to someone

email

Pin on Pinterest

Share on Facebook

Tweet about this on Twitter

Share on LinkedIn

Share on Google+

Related Posts

Advanced SUMPRODUCT Function: Maximum Sales What makes the SUMPRODUCT function even more powerful is its ability to nest formulas, or in simple terms, add another function within the SUMPRODUCT function.Instead of getting the Total Sales for a region, we can extract the Maximum sales value simply by entering the MAX fu...
Evaluate Formulas Step By Step in Excel This is one of the coolest tricks I have seen in Excel, as there are countless times wherein I had a hard time understand formulas. Especially long and complex ones!Excel provides the way to evaluate your formula, and break it down step by step so that you can understand it! ...
Create a Dynamic Data Range with the OFFSET functi... What does it do?It returns a reference to a range, from a starting point to a specified number of rows, columns, height and width of cellsFormula breakdown:=OFFSET(reference, rows, columns, , )What it means:=OFFSET(start in this cell, go up/down a number o...
Excel Subtotal Function – Include Hidden Val... What does it do?It returns a Subtotal in a list or databaseFormula breakdown:=SUBTOTAL(function_num, ref1)What it means:=SUBTOTAL(function number 1-11 includes manually-hidden rows & 101-111 excludes them, your list or range of data)***Go to the bottom...