SUMPRODUCT Function in Excel: Multiply Arrays and Add the Results

⏱ 1 min readUpdated 28 September 2026

MathLevel: IntermediateAvailable in: Excel 2007+

In this article
  1. Syntax
  2. Examples
  3. Example 1
  4. Example 2
  5. Power combo
  6. Common errors and fixes
  7. Related functions

SUMPRODUCT multiplies ranges row by row and adds the products. Because it handles arrays natively, it doubles as a flexible conditional sum and counter in every version.

Syntax

=SUMPRODUCT(array1, [array2], ...)
Argument What it means
array1… Ranges of the same size.

Examples

Example 1

=SUMPRODUCT(C2:C100, D2:D100)

Quantity × price for every row, added up.

Example 2

=SUMPRODUCT((MONTH(A2:A100)=3)*E2:E100)

March sales from a date column — something SUMIFS cannot do directly.

Power combo

=SUMPRODUCT(B2:B6, C2:C6)/SUM(C2:C6)

Weighted average: marks weighted by credits.

Common errors and fixes

You see Why, and the fix
#VALUE! Arrays of different sizes, or text in a multiplied range.

SUMIFS · SUM · MMULT

📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.

✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free · AI can be wrong