Contact

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

Statistical Intermediate Collabora Office Calc

Learn the COUNTA formula in Collabora Office Calc: count cells containing values including 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: COUNTA counts values, including text and zero-length strings. In a referenced range it ignores genuinely empty cells. An empty-looking formula result can therefore still be counted.

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

=COUNTA(value1; [value2]; ...)

Supply values or references, with up to 255 arguments documented. The official section explicitly counts text even when it has length zero, and distinguishes those values from empty cells in a referenced array or range.

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

=COUNTA(A2:A9)

Expected result: 8. All eight item cells contain text labels.

Example 2: original comparison

=COUNTA("East";23;"Closed")

Expected result: 3. Each of the three literal inputs is nonempty.

Example 3: distinguish empty text from an empty cell

Create this control in H2:H7. The formula entries ensure the stated text values are reproducible.

Cell Enter
H2 numeric 12
H3 the text Pending
H4 =""
H5 leave genuinely empty
H6 numeric 0
H7 =" ", one ordinary space
=COUNTA(H2:H7)

Expected result: 5. Only H5 is genuinely empty. H4 contains an empty text result and H7 contains a space, both counted as text. H6 contains a numeric zero, which is also a value.

For the same control, =COUNT(H2:H7) is expected to give 2, because only 12 and zero are numeric. COUNT is the more specific operation when numbers are required.

Example 4: changes that do and do not affect the count

With the control still in place, replace H3’s Pending text with Ready. COUNTA remains 5. Replace H3 with a numeric 18 instead: COUNTA still remains 5, though COUNT now becomes 3.

If the contents of H3 are genuinely removed so that the cell is empty, COUNTA becomes 4. Merely changing its display format does not establish that its stored content has disappeared.

These changes show why a count of values cannot prove that each value is the required type, status or unit. Validation needs the relevant rule in addition to the count.

Advanced example: compare an identifier column with a quantity column

In the original table, =COUNTA(A2:A9) and =COUNTA(D2:D9) both give 8. That agreement is a useful small control, but it does not prove one-to-one identity, valid order amounts or unique item labels.

The original Item column repeats Pen, Pad and Box. COUNTA still returns eight because it counts occupied positions, not distinct labels. A duplicated record can leave both column counts plausible.

For a workflow that requires eight quantities, use COUNT on the quantity range and inspect missing or textual quantities. For a workflow that requires identifiers, inspect the identifiers and any duplicate policy separately. Do not equate “present” with “correct.”

Advanced example: formulas can inflate a completion count

Imagine H10:H13 contains four formulas, each ="" until an input is supplied elsewhere. Under the documented empty-string rule:

=COUNTA(H10:H13)

is expected to return 4, even though the displayed cells appear empty. Counting formula outputs this way does not establish that four responses have been completed.

Count the actual source input area or define a content-specific completion rule. The best rule depends on whether zero, whitespace and intentionally empty answers are valid. Do not silently replace a user’s meaningful zero with a blank merely to make a completion count look different.

Range boundaries and limitations

Including the original header changes =COUNTA(A2:A9) from eight to 9 when written as =COUNTA(A1:A9), because Item in A1 is another text value. Keep data-only ranges explicit when the question concerns records.

A count over multiple columns counts multiple cells per row. It does not automatically collapse a row into one observation. Similarly, repeated or overlapping references can include a position more than once.

The direct Collabora reference supports the text, empty-string and empty-reference distinctions used here. This article does not import a complete treatment of errors or special array coercions from another product. Preserve formula-generated empty strings in a native test set if blank handling is critical during migration.

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.