1. Multiply Two Columns and Sum (Order / Line Totals)
=SUMPRODUCT(B2:B10, C2:C10)
2. Weighted Average Formula With SUMPRODUCT
Divide the sum of value-times-weight pairs by the total of the weights:
=SUMPRODUCT(B2:B10, C2:C10) / SUM(C2:C10)
Worked Example: Line-Item Total Without Helper Column
| Item | Quantity (Col B) | Unit Price (Col C) | =SUMPRODUCT(B2:B4, C2:C4) |
|---|---|---|---|
| USB-C Dock | 3 | $40 | $290 Total (3×40 + 2×25 + 4×30) |
| HDMI Cable | 2 | $25 | (Included) |
| Wireless Mouse | 4 | $30 | (Included) |
Avoid Common SUMPRODUCT Errors
- Match range dimensions: Make sure both ranges cover the exact same number of rows so you do not trigger
#VALUE!. - Keep values numeric: Text inside comma-separated ranges can cause
#VALUE!; clean data with our IFERROR Guide or Templates Pack.