COUNT Function in Collabora Office Calc: Formula, Examples & Troubleshooting
Learn the COUNT formula in Collabora Office Calc: count numeric cells without counting text, 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: COUNT counts numeric entries. It is not a count of all filled cells or a count of distinct numbers. The original Amount range has eight numeric observations.
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
=COUNT(value1; [value2]; ...)
Supply numbers or references to cells and ranges. Collabora documents up to 255 arguments. Text and genuinely empty cells inside a data range are ignored; inspect data types if a count is unexpectedly low.
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
=COUNT(D2:D9)
Expected result: 8. The Amount column contains eight numeric observations.
Example 2: original comparison
=COUNT(2;"Pending";7)
Expected result: 2. The direct numeric arguments 2 and 7 are counted, while the text word is not.
Example 3: contrast numeric values with numeric-looking text
Create this independent control in H2:H6:
| Cell | Enter |
|---|---|
| H2 | numeric 12 |
| H3 | ="12", which returns text |
| H4 | numeric 0 |
| H5 | leave genuinely empty |
| H6 | the text Pending |
=COUNT(H2:H6)
Expected result: 2. H2 and H4 are numbers. Zero counts as a numeric observation; the numeric-looking text in H3 does not become numeric merely because it displays digits.
If H3 is deliberately replaced with the number 12, the expected count becomes 3. Apply that conversion only after checking the meaning of the source value. A product code such as 0012 may need to remain text even though its characters are digits.
Example 4: count more than one numeric column
=COUNT(D2:D9;E2:E9)
=COUNT(D2:E9)
Expected results: 16 and 16. Both columns contain eight numeric cells, including the zero in E5. Each formula counts cells across two columns; neither returns the number of business records, which remains eight in the original table.
Using COUNT for a record count is appropriate only when the chosen numeric field is required and populated for every intended record. A missing quantity can otherwise make a record disappear from the count without removing the rest of that row.
Advanced example: audit a numeric requirement
Suppose the five cells H2:H6 from the control are required to contain quantities. The formula:
=5-COUNT(H2:H6)
has the expected result 3 before converting H3. It reports how many of these five positions are not numeric under the documented range rule. It does not identify which ones are blank, textual or otherwise unsuitable.
Keep a separate note of expected positions instead of counting a whole worksheet column. Preformatted unused cells below the actual records should not be mistaken for required observations. Inspect the exceptional cells individually before deciding to convert, delete or replace values.
COUNTA counts text as well as numeric entries, while COUNTBLANK examines empty cells. The three functions answer different questions and should not be treated as interchangeable completeness tests.
Advanced example: avoid overlapping counts
=COUNT(D2:D5;D5:D9)
Expected result: 9. D5 belongs to both ranges and is therefore supplied twice. The eight-row table did not gain an extra record; the formula double-counted one numeric position.
By contrast, =COUNT(D2:D5;D6:D9) is expected to give 8 because those ranges partition the table without overlap. Range boundaries matter even when every underlying cell is valid.
Count does not mean distinct count
If H8:H10 contains 7, 7 and 7, =COUNT(H8:H10) is expected to return 3. Repeated values are still three numeric observations. A unique-value question needs a separate distinct-value method.
The direct text example retained above uses a nonnumeric word, not numeric-looking text passed directly as an argument. The reviewed reference does not justify generalizing every range rule to every direct-argument coercion or error value. Use explicit numeric controls and document untested edge cases rather than assuming another spreadsheet’s convention.
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.