COUNTBLANK Function in Collabora Office Calc: Formula, Examples & Troubleshooting
Learn the COUNTBLANK formula in Collabora Office Calc: count empty cells with reproducible range controls, 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: COUNTBLANK counts empty cells in a specified range. The controls below use genuinely empty cells, numbers and visible text so the expected count is reproducible without assuming how every empty-looking formula is classified.
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
=COUNTBLANK(range)
Range identifies the cells to inspect. The dedicated Collabora section documents empty-cell counting and illustrates an entirely empty two-by-two range. It does not provide a full classification of every blank-looking formula result.
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
=COUNTBLANK(D2:D9)
Expected result: 0. The eight Amount cells in the exercise all contain numeric values.
Example 2: original comparison
=COUNTBLANK(A2:A9)
Expected result: 0. All item names are present in the demonstration records.
Example 3: construct a control with actual missing entries
In a separate part of the worksheet, prepare H2:H7 as follows:
| Cell | Contents |
|---|---|
| H2 | numeric 10 |
| H3 | genuinely empty |
| H4 | numeric 0 |
| H5 | the text Ready |
| H6 | genuinely empty |
| H7 | the text Pending |
=COUNTBLANK(H2:H7)
Expected result: 2. H3 and H6 are empty. Numeric zero is a value, and the two status words are text values, so those three cells do not add to the blank count.
Enter the result in a cell outside H2:H7. Placing the count formula inside its own inspected range would change the setup and can introduce a circular reference. Keep source cells and diagnostic results separate.
Example 4: track an actual content change
If the number 20 is entered in H3, the expected count falls from 2 to 1. If H6 is then filled with the text Review, the expected count becomes 0. Both cells are now populated, although the text Review may still be unacceptable if the column was intended to hold only quantities.
This distinction matters: no blanks does not mean all values are numeric, complete enough for the task or correct. Use COUNT to inspect numeric observations and apply any required business validation separately.
Advanced example: inspect a rectangular input area
Create this separate three-by-three rectangle in K2:M4. Cells marked blank must be left genuinely empty; do not type the word blank into them.
| K | L | M |
|---|---|---|
| 1 | blank | 3 |
| blank | 5 | blank |
| 7 | 8 | blank |
=COUNTBLANK(K2:M4)
Expected result: 4. There are nine positions and five entered numeric values. The four empty positions are L2, K3, M3 and M4.
Entering zero in M4 reduces the expected blank count to 3. It does not remain blank simply because a custom display format might hide zeros. Check underlying cell contents when appearance and the count disagree.
Advanced example: make the denominator explicit
For the initial H2:H7 control with two genuinely empty cells, the missing-position fraction is:
=COUNTBLANK(H2:H7)/6
Expected result: one third, approximately 0.333333333. A percentage display would show about 33.333333%. The denominator six is the number of inspected positions in this deliberately fixed control.
If the intended input area changes, update the range and denominator together. Counting an entire preallocated column would include many unused rows and answer a different question from the missing share among six required entries.
This is a completeness indicator for the specified area, not a statistical missing-data policy. It cannot decide whether a missing entry means zero, not applicable or an unresolved observation.
Empty-looking formulas require a separate test
A formula such as ="" produces a zero-length text result, while =" " produces a space. Neither setup is the same as leaving a cell genuinely untouched. COUNTA explicitly counts empty strings under its own Collabora documentation.
The COUNTBLANK section reviewed does not spell out how every such formula result is classified. This guide therefore does not promise that COUNTBLANK and COUNTA partition all possible cells into complementary groups. Test the exact imported or generated formulas in the target deployment when that distinction matters.
A formula error is also not proof of missing source data. Inspect the source of an error rather than converting it to an empty-looking string solely to alter the diagnostic count.
Cross-program references and verification
Related guides already published for this function: Microsoft Excel | Google Sheets | LibreOffice Calc | Apache OpenOffice Calc | PlanMaker 2026
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.