EDUCBA

EDUCBA

MENUMENU
  • Free Tutorials
  • Certification Courses
  • 120+ Courses All in One Bundle
  • Login
Home Excel Excel Resources Excel Tips SUMPRODUCT Function with Multiple Criteria
Secondary Sidebar
Excel Functions
  • Excel Tips
    • Recover Document in Excel
    • Excel Shortcut to Select Row
    • Excel Header Row
    • Excel Insert Button
    • Excel Translate
    • Budget in Excel
    • KPI Dashboard in Excel
    • Blank Invoice Excel Template
    • Write Formula in Excel
    • Auditing Tools in Excel
    • Autofit Row Height in Excel
    • Formatting Text in Excel
    • Add Rows in Excel Shortcut
    • Divide Cell in Excel
    • Compare Two Columns in Excel for Matches
    • Excel Troubleshooting
    • Unprotect Excel Workbook
    • Subtract Date in Excel
    • Carriage Return in Excel
    • Negative Numbers in Excel
    • Worksheets in Excel
    • Excel Match Multiple Criteria
    • Exponential Moving Average Formula
    • Sentence Case in Excel
    • Excel Reverse Order
    • Excel Timesheet Template
    • Weighted Average in Excel
    • CTRL Shift-Enter in Excel
    • Excel Expense Tracker
    • INDEX MATCH Function in Excel
    • Percent Change in Excel
    • Drag and Drop in Excel
    • Shade Alternate Rows in Excel
    • Excel Database Template
    • Inverse Matrix in Excel
    • New Line in Excel Cell
    • Format Cells in Excel
    • Excel Text with Formula
    • Project Management Template in Excel
    • Vlookup vs Index Match
    • Embedded in Excel
    • Count Colored Cells in Excel
    • Excel Hacks
    • Column Header in Excel
    • Database Function in Excel
    • Excel Spell Check
    • Linear Interpolation in Excel
    • Convert Excel to CSV
    • Excel Not Responding
    • Delta Symbol in Excel
    • Excel Mortgage Calculator
    • Excel Show Formula
    • Break Links in Excel
    • VLOOKUP Examples in Excel
    • Alternate Row Color Excel
    • Checklist in Excel
    • Microsoft Office Tips
    • Excel vs Access
    • Excel Change Case
    • Count Characters in Excel
    • Formula Bar in Excel
    • Invoice Template in Excel
    • Find and Replace in Excel
    • PowerPivot in Excel
    • Wildcard in Excel
    • Line Break in Excel
    • NULL in Excel
    • Text Formula in Excel
    • Family Tree in Excel
    • Insert Calendar in Excel
    • Page Setup in Excel
    • Search For Text in Excel
    • Switching Columns in Excel
    • 3D Cell Reference in Excel
    • Roadmap Template in Excel
    • Cell References in Excel
    • Excel Automation
    • Matching Columns in Excel
    • Evaluate Formula in Excel
    • How to Find Mean in Excel
    • How to Add Cells in Excel
    • Project Timeline in Excel
    • TODAY Formula in Excel
    • Poisson Distribution in Excel
    • YEAR Formula in Excel
    • REPLACE Formula in Excel
    • Create Spreadsheet in Excel
    • SEARCH Formula in Excel
    • HYPERLINK Formula in Excel
    • Pivot Table with Multiple Sheets
    • COLUMNS Formula in Excel
    • DAY Formula in Excel
    • RIGHT Formula in Excel
    • INDIRECT Formula in Excel
    • Excel IRR Formula
    • Pivot Table Sort
    • OR Formula in Excel
    • Pivot Table Formula in Excel
    • How to Edit Drop Down List in Excel?
    • WEEKDAY Formula in Excel
    • Chart Wizard in Excel
    • Time Difference in Excel
    • Lookup Table in Excel
    • SUBTOTAL Formula in Excel
    • LOOKUP Formula in Excel
    • Themes in Excel
    • Group Worksheets in Excel
    • Excel ISNUMBER Formula
    • 3D Maps in Excel
    • VLOOKUP Tutorial in Excel
    • Moving Columns in Excel
    • Grouping Columns in Excel
    • Excel Formula of Percentage
    • Excel Leading Zeros
    • Timesheet in Excel
    • Nested IF Formula in Excel
    • SUMIF Formula in Excel
    • Concatenation in Excel
    • Excel Insert Page Break
    • LEN Formula in Excel
    • Insert Comment in Excel
    • Excel Print
    • Fractions in Excel
    • Excel Add a Column
    • Borders in Excel
    • Excel Sum by Color
    • Excel vs Google Sheets
    • Calculate Percentage Increase in Excel
    • Excel Format Phone Numbers
    • Excel Search Box
    • Excel vs CSV
    • Excel vs Numbers
    • Excel Concatenate Date
    • Excel Bullet Points
    • Calculate Compound Interest in Excel
    • Find External Links in Excel
    • Excel Comma Style
    • Excel Remove Leading Spaces
    • Combine First and Last Name in Excel
    • How to Calculate Ratio in Excel
    • SUMPRODUCT Function with Multiple Criteria
    • Create Excel Template
    • Excel Greater than or Equal
    • Excel Keyboard Shortcuts
    • Excel Row vs Excel Column
    • Excel Operators
    • Excel Text Compare
    • Excel Uppercase Function
    • Excel Auto Numbering
    • Watermark in Excel
    • Excel Delete Row Shortcut
    • Excel Word Count
    • Row Count in Excel
    • Excel Grade Formula
    • Excel Percentage Difference
    • Excel Rows and Columns
    • Excel Group
    • Excel Move Columns
    • Excel Row Height
    • Excel Sparklines
    • Excel Drawing a line
    • Multiple IFS in Excel
    • Excel Strikethrough
    • Numbering in Excel
    • Share Excel Workbook
    • Excel Shortcut For Merge Cells
    • Excel OneDrive
    • Excel Track changes
    • Excel Hide Formula
    • Excel Filter Shortcuts
    • Excel 3D Reference
    • Protect Excel Workbook
    • Excel Moving Averages
    • Excel Row Limit
    • Excel Absolute Value
    • Excel Print Area
    • Excel Format Painter
    • Excel Separate text
    • Excel Autofit
    • Excel Columns to Rows
    • Excel Paste Shortcut Option
    • Excel Rows to Columns
    • Excel Insert Row Shortcut
    • Excel Extensions
    • Excel Unmerge Cells
    • Divide in Excel Formula
    • Excel Compare Two Columns
    • Not Equal To Excel
    • Excel Remove Duplicates
    • Excel Remove Spaces
    • Excel Calculate Age
    • Copy Excel Sheet
    • Excel Conditional Formatting Based on Another Cell Value
    • Excel Cell Reference
    • Excel Split Cell
    • Excel Circular Reference
    • Highlight Every Other Row in Excel
    • Errors in Excel
    • Excel Delete Pivot Table
    • Excel Pivot Table
    • Subtraction in Excel
    • Count Unique Values in Excel
    • Excel Highlight Duplicates
    • Excel Data Formatting
    • Random Numbers in Excel
    • Basic Excel Formulas
    • Page Numbers in Excel
    • Excel CAGR Formula
    • Excel Combine cells
    • IFERROR with VLOOKUP in Excel
    • Column Sort in Excel
    • Print Comments in Excel
    • Cheat Sheet of Excel Formulas
    • Remove Hyperlinks in Excel
    • Excel Drop Down List
    • Remove (Delete) Blank Rows in Excel
    • Relative Reference in Excel
    • Subscript in Excel
    • Superscript in Excel
    • Excel Insert Multiple Rows
    • Excel Absolute Reference
    • Unhide Columns in Excel
  • Excel Functions (12+)
  • Excel Tools (114+)
  • Financial Functions in Excel (17+)
  • Logical Functions in Excel (14+)
  • Lookup Reference Functions in Excel (35+)
  • Maths Function in Excel (47+)
  • TEXT and String Functions in Excel (26+)
  • Date and Time Function in Excel (24+)
  • Statistical Functions in Excel (59+)
  • Information Functions in Excel (4+)
  • Excel Charts (56+)
  • Workplace Productivity (4+)
  • Microsoft Office Tools (15+)
  • Excel Formula and Functions (22+)
  • MS Excel Shortcuts (4+)
Excel Functions Courses
  • EXCEL COURSE
  • Online Excel Data Analysis Course
  • Excel for Finance Course

SUMPRODUCT Function with Multiple Criteria

By Karthikeyan SubburamanKarthikeyan Subburaman

SUMPRODUCT function with multiple criteria

SUMPRODUCT Function with Multiple Criteria (Table of Contents)

  • SUMPRODUCT Function with Multiple Criteria
  • How to use SUMPRODUCT Function with Multiple Criteria?

SUMPRODUCT Function with Multiple Criteria

Sumproduct in Excel is used to calculate the multiplication of 2 numbers and then the addition of all the multiplied numbers in one go. To use Sumproduct multiple criteria, we can use different conditions for a single source of data, such as for the addition of multiplied number, we can feed the condition on which we want Sumproduct. For example, applying sumproduct in student’s data with multiple criteria, we can choose the student names or class as criteria to apply Sumproduct.

Start Your Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

All in One Excel VBA Bundle(120+ Courses, 30+ Projects)
Basic ExcelAdvanced ExcelVBA & MacrosExcel Dashboards
Pivot TablesStatistical FunctionsFinancial FunctionsCharts & Graphs
Price
View Courses
120+ Online Courses | 30+ Projects | 500+ Hours | Verifiable Certificates | Lifetime Access
4.9 (64,412 ratings)

The syntax for SUMPRODUCT:

SUMPRODUCT Syntax

Parameters:

  • array1:-Which denotes the first array or range that we need to multiply, and then it will add the value subsequently.
  • array2:- This denotes the second array or range that we need to multiply, and then it will add the value subsequently.

SUMPRODUCT function normally multiplies the ranges or arrays together and then returns the sum of products. This “SUMPRODUCT” is a versatile function where it can be used to count and sum like COUNT IFS and SUMIFS function. We can find the SUMPRODUCT built-in function in excel, categorized under the MATH/TRIG function, where we can find it in the formula menu, shown in the below screenshot.

SUMPRODUCT function

How to use SUMPRODUCT Function with Multiple Criteria?

Let’s understand how to use SUMPRODUCT Function with Multiple Criteria by using some examples.

You can download this SUMPRODUCT Function with Multiple Criteria Excel Template here – SUMPRODUCT Function with Multiple Criteria Excel Template

Example #1

In this example, we will learn how to use the SUMPRODUCT function using simple arithmetic values.

Consider the below example, which has some random numbers in two columns which are shown below.

SUMPRODUCT table

Assume that we need to multiply both the A and B column values and sum the result. We can do it by applying the SUMPRODUCT function by following the below steps.

Step 1 – Click on the cell where you want the result.

Step 2 – Apply the SUMPROODUCT formula as shown below.

SUMPRODUCT Array formula

In the above screenshot, we have applied the SUMPRODUT function with A2:A4 as array1 and B2:B4 as array two, which will multiple both the values and sum the result.

Step 3 – Click the Enter key, and we will get the final output as shown below.

SUMPRODUCTfinal output

Result:

In the below screenshot, we can see that SUMPRODUCT has returned the output of 4470. Where this SUMPRODUCT function calculates the array as =(450*2)+(450*2)+(890*3)=4470

Example #2 – Using Multiple SUMPRODUCT

In this example, we will see how to use the multiple SUMPRODUCT functions by using student’s marks scored in the semester, as shown below.

SUMPRODUCT Example 2-1

Consider the above example where we need to multiply both A and B column values and calculate the average by following the below steps.

Step 1 – Create a new column for output.

Step 2 – Apply the SUMPRODUCT function =SUMPRODUCT(C2:C7,D2:D7)/SUM(D2:D7) which is shown below.

Average result

Step 3 – Click the Enter key so that we will get the average result percentage as 55 %, which is shown in the below screenshot.

SUMPRODUCT Example 2-3

In the above screenshot, we applied the SUMPRODUCT function with the first array as score values C2 to C7 and the second array as Grade Value D2 to D7 so that we sum-product will multiple the values first where if we do a manual calculation, we will get the product value as 498 and the sum value as 9 and divide the Product value by sum value which will give you the same result as 55 percent which is shown as the manual calculation in the below screenshot.

Manual Calculation:

Manual Calculation

Example #3 – Using TRUE & FALSE in SUMPRODUCT with Criteria

In this example, we will learn how to apply SUMPRODUCT to get the specific criteria-based data.

Consider the below example, which shows the employee database with their EmpID, Name, Designation, KRA, and Monthly Salary.

employee database

Assume that we need to check how many employees are working in specific “KRA” and what their total grand salary is?. In such cases, we can easily calculate the output by applying the SUMPRODUCT function by following the below steps.

  • Create a new row for the output column.
  • Apply the below SUMPRODUCT function as follows.

=SUMPRODUCT(–(E3:F20=”MYNTRA”),F3:F20)

SUMPRODUCT function

  • In the above screenshot, we have used the SUMPROODUCT function with the first part of the array as (–) double negative because excel will usually convert this as TRUE and FALSE values where TRUE=1 and False =0
  • The second part of an array will look for G4:G21=”MYNTRA.”
  • The third part of an array will look for the values of the content from H4:H21.
  • Press the Enter key; we will get the output as 24000, which is shown as a result in the below screenshot.

Grand total

Let’s see how the SUMPRODUCT function works with the (–) double negative values.

This SUM PRODUCT function will check the two arrays; if the given value is TRUE, it will take multiple with 1, and if the given value is false, it will multiply with 0 with the below calculation as follows.

SUMPRODUCT Example 3-4

SUMPRODUCT function check for the first array in G column if the KRA is “MYNTRA” excel will consider this as TRUE with the value 1, i.e. =1*6000=6000. If the array in the G column is not “MYNTRA”, excel will consider this as FALSE with the value 0, i.e. 0*6000=0.

Example #4 – Using SUMPRODUCT as COUNT function:

In this example, we will see how the SUMPRODUCT function works as a COUNT function.

Consider the same employee database where we need to count the number of AMAZON employees from the database given in example 3 by following the below steps as follows.

  • Create a new row for the count.
  • Apply the SUMPRODUCT function =SUMPRODUCT (–(G4:G21=”AMAZON”)) as shown in the below screenshot.

SUMPRODUCT Example 4-1

  • In the SUMPRODUCT function, we can see that we have applied a (–) double negative to represent the value as TRUE or FALSE.
  • The first part of an array will check in the G column if the KRA is AMAZON Excel will treat it as 1 (TRUE), or else excel will treat it as 0 (FALSE)
  • Click the Enter key so that we get the number of count for Amazon employees as four which is shown as a result in the below screenshot.

SUMPRODUCT Example 4-2

Things to Remember

  • SUM product will normally accept 255 arguments.
  • SUMPRODUCT can be used in many functions like VLOOKUP, LEN, and COUNT.
  • SUMPRODUCT function will throw and #VALUE! Error if the array dimension values are not in the same range
  • SUMPRODUCT function can also be used as a COUNT function.
  • In the SUMPRODUCT function, if we simply provide only one array value, the SUMPRODUCT function will just sum the values as output.

Recommended Articles

This has been a guide to SUMPRODUCT Function with Multiple Criteria in Excel. Here we discussed SUMPRODUCT Function with Multiple Criteria in Excel and how to use SUMPRODUCT Function along with practical examples and downloadable excel template. You can also go through our other suggested articles –

  1. SUMPRODUCT Function in Excel
  2. SUM Function in Excel
  3. SUMIF in Excel
  4. PRODUCT Function in Excel
Popular Course in this category
Excel Training (23 Courses, 9+ Projects)
  23 Online Courses |  9 Hands-on Projects |  110+ Hours |  Verifiable Certificate of Completion
4.9
Price

View Course

Related Courses

Excel Data Analysis Training (17 Courses, 8+ Projects)4.9
Excel for Finance Training (18 Courses, 7+ Projects)4.8
1 Shares
Share
Tweet
Share
Primary Sidebar
Footer
About Us
  • Blog
  • Who is EDUCBA?
  • Sign Up
  • Live Classes
  • Corporate Training
  • Certificate from Top Institutions
  • Contact Us
  • Verifiable Certificate
  • Reviews
  • Terms and Conditions
  • Privacy Policy
  •  
Apps
  • iPhone & iPad
  • Android
Resources
  • Free Courses
  • Excel Charts
  • Excel Tips
  • All Tutorials
Certification Courses
  • All Courses
  • Excel VBA Course - All in One Bundle
  • VBA Course
  • Excel Data Analysis Course
  • Excel for Marketing Course
  • Excel for Finance Course
  • Excel for HR Training

ISO 10004:2018 & ISO 9001:2015 Certified

© 2022 - EDUCBA. ALL RIGHTS RESERVED. THE CERTIFICATION NAMES ARE THE TRADEMARKS OF THEIR RESPECTIVE OWNERS.

EDUCBA
Free Excel Course

Excel functions, formulas, charts, formatting creating excel dashboard & others

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA Login

Forgot Password?

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA
Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

Let’s Get Started

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA

Download SUMPRODUCT Function with Multiple Criteria Excel Template

EDUCBA

Download SUMPRODUCT Function with Multiple Criteria Excel Template

EDUCBA

डाउनलोड SUMPRODUCT Function with Multiple Criteria Excel Template

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to our Privacy Policy

Loading . . .
Quiz
Question:

Answer:

Quiz Result
Total QuestionsCorrect AnswersWrong AnswersPercentage

Explore 1000+ varieties of Mock tests View more