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:

How to Combine VLOOKUP and IFERROR to Replace the #N/A Error in Excel

 

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

email

Pin on Pinterest

Pinterest

Share on Facebook

Facebook

Tweet about this on Twitter

Twitter

Share on LinkedIn

Linkedin

Share on Google+

Google+

Related Posts

Vlookup in Multiple Excel Sheets What does it do? Searches for a value in the first column of a table array and returns a value in the same row from another sheet´s column (to the right) in the table array. Formula breakdown: =VLOOKUP(lookup_value, table_array, col_index_num, ) What it means: =VLO...
INDEX-MATCH Maximum Sales The INDEX-MATCH formula cannot only look up values to the left and right of your data but its versatility means that it can also lookup the largest values within an array. Say that you had a list of Sales Reps in one array and their corresponding Sales Values in another array....
RANDBETWEEN Function I use the RANDBETWEEN function all the time whenever I need to create a sample data set. The cool thing about the RANDBETWEEN function is that if you don't like the numbers that it has given you, you can press F9 in a cell and it will give you new numbers.  Try it out by downl...
IF Function Combined With The AND Function When combining (or nesting) the AND function with the IF function, it allows you to add more than one condition to your formula, something that is not possible with the IF function by itself. So you can show the results of Sales Reps that have made more than $3,000 of sales AN...