SUM Function in Collabora Office Calc: Formula, Examples & Troubleshooting
Learn the SUM formula in Collabora Office Calc: add a group of numeric values, 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: SUM adds numeric values, cell references and ranges. The direct Collabora reference explicitly says text and empty cells within a data range are ignored, so a plausible total can still omit an imported number stored as text.
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 checks; no native Collabora execution.
Syntax and arguments
=SUM(number1[;number2[;…;number255]])
The documented syntax supports up to 255 arguments. Each argument may be a number, a cell reference or a range; a range is one argument even when it contains many cells. Do not type the explanatory square brackets into an ordinary call.
Examples use English function names and semicolon argument separators. Adjust separators for the target locale without changing the intended values.
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
=SUM(D2:D9)
Expected result: 910. All eight order amounts total 910.
Example 2: original comparison
=SUM(12; 18; 5)
Expected result: 35. Three literal amounts are added.
Example 3: inspect text, empty cells and zero
For a separate control, put numeric 25 in H2, ="25" in H3, numeric 0 in H4 and numeric −5 in H5. Leave H6 genuinely empty. Then:
=SUM(H2:H6)
Expected result: 20. The numeric inputs contribute 25+0−5; the quoted text result and empty cell are ignored under the documented range rule. Zero contributes zero without being the same thing as a missing input.
If H3 is deliberately replaced with numeric 25, the expected total becomes 45. A numeric display format alone does not prove that the text was converted. ISNUMBER can help check the countable source values before trusting the total.
The direct range rule does not establish every coercion for quoted text supplied as a separate argument. Keep that case distinct from the controlled range example rather than generalizing beyond the reference.
Example 4: combine ranges without double-counting
Using the original order table, split its eight amount cells into two adjacent, nonoverlapping ranges:
=SUM(D2:D5;D6:D9)
Expected result: 910, the same original total. The first four amounts sum to 495 and the last four to 415.
Overlapping the ranges changes the formula. =SUM(D2:D6;D6:D9) includes D6 twice and is expected to return 1060, which is 150 higher than the intended total. SUM follows the supplied arguments; it does not deduplicate referenced positions.
Keep subtotals outside the raw source range. Adding a subtotal together with the rows that produced it similarly counts the same values twice.
Advanced example: show positive and negative contributions
Create an independent adjustment column K2:K5 containing 80, −15, 0 and −5. Then:
=SUM(K2:K5)
Expected net change: 60. The negative entries reduce the total, while zero changes nothing. The sum of absolute magnitudes would be 100, a different question from net change.
Retain a label explaining what the sign means. SUM does not know whether a negative value represents a return, a correction or an invalid entry in the intended process.
Advanced example: make conditional aggregation explicit
In the original table, the East amounts are 120, 210 and 60, totaling 390. For a readable single-condition total, use the separately documented SUMIF syntax:
=SUMIF(B2:B9;"East";D2:D9)
The plain =SUM(D2:D9) still asks for all eight numeric amounts, giving 910. The condition belongs to the formula or a deliberately selected source range; an output label saying East cannot apply it on its own.
For multiple criteria, consult SUMIFS. For a visible-row subtotal, inspect SUBTOTAL and its function-number and visibility rules. Criteria matching does not itself mean that only visible rows are included.
Array expressions and entry mode
The direct SUM reference includes an array-formula example that multiplies aligned condition arrays by a numeric amount range. It specifically describes confirming that construction with the desktop array-entry shortcut rather than ordinary Enter.
That is a different setup from the simple range SUM calls in this article. Do not infer that every range expression or imported dynamic-array formula will behave identically in every Collabora deployment. Prefer the dedicated conditional function when it expresses the requirement clearly, and verify array entry in the actual target client when it is required.
Troubleshooting and precision
Check input types, range boundaries and accidental overlap before changing the expected result. Formula errors and omitted text are different issues: a numeric-looking text value may be excluded while the total still looks valid.
These examples do not certify every error-containing range, Boolean-coercion rule or extreme-precision case. Keep numeric source data separate from headings and explanation text, retain unrounded values where needed, and compare a small control before copying a formula across a large workbook.
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 product guides; their links do not establish identical argument or coercion rules.
Evidence level: Full semantic review against the dedicated Collabora function page. Original formulas and publication date were retained. New controls are independently calculated expectations, not native application observations.