SUMIF Function in Collabora Office Calc: Formula, Examples & Troubleshooting
Learn the SUMIF formula in Collabora Office Calc: sum matching values using one condition, 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: Use SUMIF to sum numeric values selected by one criterion. The source table and formulas below make the selected records and expected result explicit.
Availability and version history
- Introduced: original Collabora release and launch date are not established by the reviewed sources.
- Availability: documented in Collabora Office 26.04 help, scoped to the desktop-help release.
- Platform scope: online and mobile deployments are not inferred from desktop documentation.
- Checked: October 14, 2026. Direct function documentation and independently modeled examples; no native Collabora test was performed.
Syntax and argument roles
=SUMIF(range;criterion;[sum_range])
range contains the values tested against criterion. The optional sum_range supplies corresponding numeric amounts. If it is omitted, SUMIF tests and sums the same range. This differs from SUMIFS, whose sum range comes first. These examples keep the two ranges aligned, with the same start and end rows.
Prepare the original practice table
Use English function names and semicolon argument separators, adapting separators to the target file if needed. Enter the following data in A1:F9 with headings in row 1. Amount and Units must be numeric. Keep output cells outside that source range.
| 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 |
For the plain text controls, use whole-cell matching and no automatic wildcard/regular-expression evaluation. Collabora’s calculation options govern those choices; the formulas should not inherit an assumed Excel matching policy. No setting is changed by this guide.
Example 1: retain the original control
=SUMIF(B2:B9;"East";D2:D9)
Expected result: 390. East amounts are 120, 210 and 60; 120+210+60 = 390.
Example 2: retain the second original control
=SUMIF(D2:D9;">=100";D2:D9)
Expected result: 605. Four amounts at least 100 sum to 605.
Advanced example: omit the sum range only when it is the tested range
=SUMIF(D2:D9;">=100")
Expected result: 605, the same as the original three-argument threshold control. Amounts 120, 210, 150 and 125 qualify. Omitting the sum range from a text-based Team test would not magically select the Amount column; the source columns must be named explicitly.
Put numeric 150 in H2 and use =SUMIF(D2:D9;">="&H2;D2:D9). Expected total: 360, from 210+150. Only the comparison operator is quoted; H2 remains a reference whose value is joined to it. Quoting the entire expression as “>=H2” would not express that numeric threshold.
Advanced example: add an OR total without double-counting
The original data has East total 390, Paid total 695, and East-and-Paid overlap 330. For the union, East OR Paid:
=SUMIF(B2:B9;"East";D2:D9)+SUMIF(C2:C9;"Paid";D2:D9)-SUMIFS(D2:D9;B2:B9;"East";C2:C9;"Paid")
Expected result: 755. The first two totals sum to 1085, counting the two East/Paid amounts twice. Subtracting the intersection once leaves one contribution from each selected record.
For mutually exclusive teams East OR West, adding their totals is enough: 390+350=740. The reason is that a single Team cell cannot contain both exact labels under the stated whole-cell policy. Do not generalize that disjointness to arbitrary overlapping criteria.
Advanced check: verify selection separately from the total
For the East criterion, the selected rows are 2, 4 and 7. A COUNTIF check gives 3, while SUMIF gives 390. Counting records and totaling amounts answer different questions.
Preserve both the range boundaries and the underlying row identities. A shifted sum range may still produce an ordinary number while associating a criterion with the wrong record. The small examples do not establish every mismatched-range fallback or native error code.
Product-specific limits and troubleshooting
Collabora also documents the reference-concatenation operator ~ for SUMIF’s first range only, and only when no separate sum range is supplied. This is a restricted capability, not permission to pass arbitrary unions in every argument.
The official page contains inconsistent range labels in parts of its explanatory examples. The controls here use the formal argument definitions and explicitly matched ranges, with independently checked arithmetic. Criteria selection does not itself implement a visible-only report; use the documented rules of SUBTOTAL when filtering and hidden rows are the actual question.
Matching settings and evidence scope
The function-specific reference permits wildcard or regular-expression criteria when the relevant calculation option is enabled. Whole-cell versus partial text matching is separately configurable. A pattern is therefore not automatically portable merely because another spreadsheet accepts the same characters.
The help also notes locale-sensitive numeric interpretation of criteria. Keep numeric thresholds as numbers and avoid treating a number-like expression as a guaranteed regular expression. The controls here deliberately state their input types and matching assumptions; they are not a full native case-collation or coercion matrix.
Related program guides
References and verification
The complete older guide and all original worked formulas were reviewed. Expected numeric and selection results are independently calculated models, with any documented errors identified separately. No target-application execution or cross-deployment certification is claimed.