Contact

SUMPRODUCT Function in Collabora Office Calc: Formula, Examples & Troubleshooting

Math Intermediate Collabora Office Calc

Learn the SUMPRODUCT formula in Collabora Office Calc: multiply aligned values row by row and sum the results, with reproducible examples, expected answers and compatibility cautions.

Verification status: See the evidence and test scope described in this guide. How formula examples are checked

Quick answer: SUMPRODUCT multiplies corresponding numeric array elements and adds the products. The original eight-row example returns 6035; it does not multiply every value into one grand product.

Availability and version history

  • Introduced: original Collabora release and introduction date are not established by the sources reviewed.
  • Availability: documented in Collabora Office 26.04 help, scoped to that desktop-help release.
  • Platform scope: support across online and mobile deployments is not inferred from the desktop reference.
  • Checked: October 14, 2026. Direct function-specific documentation and independent calculations; no native Collabora execution.

Syntax and arguments

=SUMPRODUCT(array1; [array2]; ...)

At least one array is required. Collabora documents up to 255 arrays; multiple arrays must have the same size. With only one array, SUMPRODUCT adds its elements. The function returns one number and does not require array-formula entry.

Examples use English function names and semicolon argument separators. Square brackets indicate optional arguments and are not entered in the worked formulas. Adapt separators to the target locale without changing the input values or mathematical intent.

Prepare the original example inputs

Use a fresh Collabora Calc document with English function names. The sample formulas below use semicolons, consistent with the Calc-style reference default. Ensure the number cells are stored as numeric values.

For the formulas that reference cells, enter this small dataset into A1:F9 (the first row contains headings). The Amount and Units columns are numbers; the team, status, item and agent columns are text. Keep the calculation cell outside A1:F9 so it cannot overwrite an input.

Row A · Item B · Team C · Status D · Amount E · Units F · Agent
1 Item Team Status Amount Units Agent
2 Pen East Paid 120 12 Ana
3 Pad West Pending 75 5 Bo
4 Box East Paid 210 7 Ana
5 Tape North Paid 90 0 Cy
6 Folder West Paid 150 3 Bo
7 Pen East Pending 60 8 Dee
8 Pad West Paid 125 12 Ana
9 Box North Pending 80 4 Cy

Example 1: original control

=SUMPRODUCT(D2:D9;E2:E9)

Expected result: 6035. The eight amount×unit products add to 6035.

Example 2: original comparison

=SUMPRODUCT(D2:D4;E2:E4)

Expected result: 3285. First three products are 1440+375+1470 = 3285.

Example 3: inspect the complete row products

Using the original table, enter =D2*E2 in H2 and fill down through H9. The expected products are 1440, 375, 1470, 0, 450, 480, 1500 and 320. Adding those eight values gives 6035, matching the original SUMPRODUCT result.

The row with zero units contributes zero. This is a calculation of the stated Amount×Units expression; the column name Amount alone does not establish whether multiplying it by Units is appropriate for a real order system. Confirm that the source measure is a per-unit value when that is the intended model.

For a one-array control, =SUMPRODUCT(D2:D9) is expected to return 910. The reference explicitly documents summation when only one array is supplied. SUM may express that simpler intent more directly.

Example 4: use two-dimensional arrays

Enter the following numeric matrices in K2:L3 and N2:O3. The headers below identify worksheet columns; they are not part of the numeric matrices.

K L N O
2 3 5 7
4 1 6 8
=SUMPRODUCT(K2:L3;N2:O3)

Expected result: 63. The corresponding products are 2×5, 3×7, 4×6 and 1×8, giving 10+21+24+8. The correspondence is positional across the same-shaped rectangles.

Equal element counts alone are not a sufficient design check: a two-by-two rectangle and a four-by-one column have different shapes. Use matching row and column dimensions and inspect how each position is paired.

Advanced example: calculate a weighted score

For a separate example, put scores 60, 80 and 90 in K6:K8 and numeric weights 1, 2 and 3 in L6:L8. Use:

=SUMPRODUCT(K6:K8;L6:L8)/SUM(L6:L8)

The weighted numerator is 490, the total weight is 6, and the expected weighted mean is approximately 81.666666667. The ordinary mean of the three scores is approximately 76.666666667. The highest score has the greatest weight, so these two averages answer different questions.

Require a nonzero total weight. Whether negative weights are meaningful is a model decision; the function does not supply a weighting policy. Keep the raw scores, weights, numerator and denominator visible while validating the model.

Advanced example: differences between vectors

With the same score range, put target values 65, 75 and 85 in N6:N8. The squared-error total can be expressed as:

=SUMPRODUCT((K6:K8-N6:N8);(K6:K8-N6:N8))

Expected result: 75. The differences are −5, 5 and 5, and their squares sum to 25+25+25. This is a mathematical array-arithmetic example under the documented SUMPRODUCT operation; native execution has not been recorded.

Do not replace the squared-error calculation with a square of the sum of differences: (−5+5+5)^2 is only 25. Opposing signed differences cancel before squaring in that different expression.

Alignment and input checks

The original arrays D2:D9 and E2:E9 both have eight rows. Moving only one range down one row can still produce an ordinary number while pairing the wrong records. Correct dimensions are necessary, but correct row identity is equally important.

The dedicated Collabora section reviewed does not provide a complete nonnumeric-coercion or error-label table. These worked examples deliberately use numeric arrays. Do not copy another product’s text-as-zero or exact error-code rules into a Collabora specification without direct evidence or application tests.

Cross-program references and verification

Related guides already published for this function: Microsoft Excel | Google Sheets | WPS Spreadsheet | LibreOffice Calc | Apache OpenOffice Calc

These are separate guides, not proof of identical limits, coercions or platform support.

Evidence level: Full article reviewed against the exact Collabora function section. Original formulas, data and publication date were retained; additional worked results are independently calculated expectations. No native execution or broad cross-platform certification is claimed.