The Complete Guide to the Excel SUMPRODUCT Function
: How to Go Beyond SUMIFS and COUNTIFS
The Excel SUMPRODUCT function combines SUM and PRODUCT and is a powerful alternative to SUMIFS and COUNTIFS. It is especially useful for analyzing large amounts of data based on criteria and can perform a variety of calculations, including basic arithmetic. For office professionals, using this function can significantly improve work efficiency.

What Is the SUMPRODUCT Function?
The SUMPRODUCT function multiplies multiple arrays and then adds the results. However, it does more than multiplication: it also supports division, addition, and subtraction, enabling highly flexible calculations. For example, you can use SUMPRODUCT to simplify complex calculations when analyzing sales data or preparing financial reports.
Basic SUMPRODUCT Syntax
The basic syntax is:
=SUMPRODUCT(array1, array2, ...)
For example, SUMPRODUCT(A:A, B:B) multiplies the values in each row of columns A and B and returns their total. This makes it easy to calculate total sales by multiplying a product’s price by its sales volume.
Using SUMPRODUCT as an Alternative to SUMIFS and COUNTIFS
The SUMPRODUCT function can be used as an alternative to SUMIFS and COUNTIFS for faster and more efficient data analysis. The examples below show how to use it.
| Column A | Column B | Column C | Column D |
|---|---|---|---|
| Division | Product | Price | Volume |
| 10 | Gold | 1000 | 30 |
| 20 | Iron | 500 | 40 |
| 10 | Gold | 1000 | 50 |
| 20 | Mercury | 300 | 60 |
| 10 | Zinc | 200 | 70 |
Alternative to SUMIFS
If you want to find the total of Price and Volume when the division is 10 and the product is “Gold,” you can use SUMPRODUCT as follows:
=SUMPRODUCT((A:A=10)*(B:B="Gold")*(C:C)*(D:D))
This formula multiplies the values in columns C and D for rows that meet the conditions in columns A and B, then returns their sum. It lets you quickly calculate sales for a specific division and product. For example, it is useful when analyzing sales performance by department.
Alternative to COUNTIFS
The SUMPRODUCT function can also replace COUNTIFS. To count values that meet specific conditions, use a formula like this:
=SUMPRODUCT((A:A=10)*(B:B="Gold"))
This formula counts the rows where column A is 10 and column B is “Gold.” This makes it easy to identify the number of sales for a specific product in a particular department.
Practical SUMPRODUCT Examples
Office professionals can use the SUMPRODUCT function in many ways. Here are several practical examples:
1. Sales Analysis
When analyzing sales data, you can use SUMPRODUCT to calculate total sales by multiplying product prices by sales quantities. For example, given the following data:
| Product | Price | Quantity Sold |
|---|---|---|
| Product A | 1000 | 50 |
| Product B | 2000 | 30 |
To calculate total sales, use the following formula:
=SUMPRODUCT(B2:B3, C2:C3)
This formula multiplies the prices and quantities sold for Products A and B to return total sales.
2. Project Cost Calculation
You can also use SUMPRODUCT to calculate project costs. For example, when totaling labor and material costs:
| Item | Cost | Quantity |
|---|---|---|
| Labor | 5000 | 3 |
| Materials | 3000 | 5 |
To calculate the total cost, use the following formula:
=SUMPRODUCT(B2:B3, C2:C3)
This formula calculates the total cost of labor and materials.
3. Employee Performance Evaluation
You can also use SUMPRODUCT to evaluate employee performance. For example, you can calculate bonuses based on goal achievement rates and performance scores:
| Employee | Goal Achievement Rate | Performance Score |
|---|---|---|
| Employee A | 0.9 | 80 |
| Employee B | 0.85 | 90 |
To calculate bonuses, use the following formula:
=SUMPRODUCT(B2:B3, C2:C3)
This formula calculates each employee’s bonus by multiplying the goal achievement rate by the performance score.
Advantages of the SUMPRODUCT Function
The SUMPRODUCT function offers several advantages:
- Efficiency: It can process large amounts of data quickly, improving work efficiency.
- Flexibility: It can perform a variety of calculations, making it suitable for complex analysis.
- Conditional calculations: You can apply multiple criteria at the same time, improving the accuracy of data analysis.
Conclusion
The SUMPRODUCT function is a highly useful tool for data analysis. Replacing the IF, SUMIFS, and COUNTIFS functions with SUMPRODUCT can deliver impressive speed and efficiency. If you want to make data analysis easier, start using the SUMPRODUCT function actively. Office professionals who use it effectively can significantly improve their work results.