Practice by topic / Excel / Conditional Aggregation

SUMPRODUCT Exercises

SUMIF, SUMIFS and SUMPRODUCT total only the rows that match: sales for one region, costs for one month, hours for one person. They're among the most-used formulas at work. These 10 exercises build up step by step, starting with calculate total order value, calculate total payroll cost, calculate weighted score total.

3 of 10 free · no sign-up needed · graded on the formula you write

1

Calculate Total Order Value

Free

A1:A3 hold quantities, B1:B3 hold unit prices for three line items. Write a formula in C1 that returns the total value across all line items.

ABC
1210?
2315
3120
Show the solution

Use =SUMPRODUCT(A1:A3,B1:B3).

Right — SUMPRODUCT multiplies each pair of quantity and price, then sums all the results in one formula.

Expected result in C1: 85

Try it in the live spreadsheet →
2

Calculate Total Payroll Cost

Free

A1:A3 hold hours worked, B1:B3 hold hourly rates for three employees. Write a formula in C1 for the total payroll cost.

ABC
14020?
23525
33818
Show the solution

Use =SUMPRODUCT(A1:A3,B1:B3).

Good — SUMPRODUCT is the standard way to compute a total across parallel rate and quantity columns.

Expected result in C1: 2359

Try it in the live spreadsheet →
3

Calculate Weighted Score Total

Free

A1:A3 hold scores, B1:B3 hold weights for three graded components. Write a formula in C1 for the weighted total.

ABC
1900.5?
2800.3
3700.2
Show the solution

Use =SUMPRODUCT(A1:A3,B1:B3).

Right — SUMPRODUCT multiplies each score by its weight and sums the results in a single formula.

Expected result in C1: 83

Try it in the live spreadsheet →
4

Calculate Total Shipping Cost by Weight

A1:A3 hold package weights, B1:B3 hold per-pound rates. Write a formula in C1 for the total shipping cost across all packages.

ABC
152?
281.5
333

Solution and instant grading: open it in the practice app (use one of your 20 free picks, or Pro).

Try it in the live spreadsheet →
5

Calculate Total Ingredient Cost

A1:A3 hold quantities needed, B1:B3 hold cost per unit for three ingredients. Write a formula in C1 for the total recipe cost.

ABC
123?
215
341.5

Solution and instant grading: open it in the practice app (use one of your 20 free picks, or Pro).

Try it in the live spreadsheet →
6

Calculate Total Votes Weighted by District Size

A1:A3 hold vote percentages (decimals), B1:B3 hold district populations. Write a formula in C1 for the total estimated votes.

ABC
10.61000?
20.452000
30.7500

Solution and instant grading: open it in the practice app (use one of your 20 free picks, or Pro).

Try it in the live spreadsheet →
7

Calculate Total Interest Across Accounts

A1:A3 hold account balances, B1:B3 hold interest rates (decimals). Write a formula in C1 for total interest earned across all accounts.

ABC
110000.02?
220000.015
35000.03

Solution and instant grading: open it in the practice app (use one of your 20 free picks, or Pro).

Try it in the live spreadsheet →
8

Calculate Total Calories From a Meal

A1:A3 hold serving counts, B1:B3 hold calories per serving for three foods. Write a formula in C1 for total calories.

ABC
12150?
21300
3380

Solution and instant grading: open it in the practice app (use one of your 20 free picks, or Pro).

Try it in the live spreadsheet →
9

Calculate Total Advertising Spend Impact

A1:A3 hold ad impressions (thousands), B1:B3 hold cost per thousand impressions. Write a formula in C1 for total spend.

ABC
1502?
2303
3201.5

Solution and instant grading: open it in the practice app (use one of your 20 free picks, or Pro).

Try it in the live spreadsheet →
10

Calculate Total Warehouse Storage Cost

A1:A3 hold units stored, B1:B3 hold storage cost per unit across three warehouses. Write a formula in C1 for total storage cost.

ABC
11000.5?
22000.3
31500.4

Solution and instant grading: open it in the practice app (use one of your 20 free picks, or Pro).

Try it in the live spreadsheet →