Contact

COUNTA Function in Apple Numbers: Syntax, Examples, and Troubleshooting

Statistical Beginner Apple Numbers

Count nonempty cells, including text, numbers, and Boolean values, in an Apple Numbers table.

Verification status: See the evidence and test scope described in this guide. How formula examples are checked

Quick answer: =COUNTA(A2:A7) returns 5 for the Survey table below. Text, numeric zero and FALSE all occupy cells; one genuinely empty response does not.

Availability and version history

  • Introduced: Documented in Apple’s Formulas and Functions Help 15.4; the original introduction release is not established.
  • Availability: Currently documented in Apple’s Functions Help 15.4 documentation edition; it is not a final supported-version endpoint.
  • Scope: Shared iWork function help. Availability in individual clients and older releases is not established by this check.
  • Checked: October 14, 2026, against the official COUNTA reference. Documentation and independent count checks; no native Numbers test.

Syntax and occupancy rather than validity

=COUNTA(value, value…)

One value or collection is required; additional values or collections are optional. Apple’s COUNTA reference counts nonempty content and explicitly includes text, numbers and booleans.

This is an occupancy test. A placeholder can count without being a completed answer. COUNT asks a different question by counting numeric/date-valued entries.

Practice table: six response slots

Create a Numbers table named Survey, with six columns A:F and seven rows including one header row. Put Response in A1. Use D and F for results, outside the source range. Enter the original inputs:

Cell Entry Meaning
A2 Alice Text response
A3 TBD Placeholder text
A4 Leave genuinely empty Missing response
A5 Number 0 Numeric content
A6 Formula =FALSE() Boolean FALSE
A7 Bob Text response

Do not enter the words “Leave genuinely empty” in A4. Clear the cell so it contains no space or formula. The FALSE formula makes the intended boolean type explicit rather than relying on how typed words are interpreted.

Enter these formulas in the stated cells:

Cell Formula Expected result
D2 =COUNTA(A2:A7) 5
D3 =COUNTA(A2:A7,"Extra") 6
D4 =COUNT(A2:A7) 1
D5 =COUNTA(A2:A4) 2
D6 =COUNTA(A5:A7) 3
D7 =COUNTA(A1:A7) 6

D4 counts only the numeric zero; FALSE is content but not a numeric observation. D5+D6 equals D2 because the two source ranges partition the six response slots. D7 includes the Response header, so it is not the desired response count.

The literal “Extra” in D3 contributes another argument; it does not insert a response into the source table. Keep it out of a production completeness total unless that extra item is intentionally part of the measure.

A populated-cell percentage

Put =COUNTA(A2:A7)/6 in F2. Expect 5/6, approximately 0.8333333333, or 83.33% when formatted with two decimal percentage places.

Put =COUNTBLANK(A2:A7) in F3; expect 1. Then put the original combined-count expression in F4:

=COUNTA(A2:A7)/(COUNTA(A2:A7)+COUNTBLANK(A2:A7))

For this explicit fixture it also gives 5/6. Apple’s COUNTBLANK reference supports counting genuinely empty cells. The example contains no empty-string formulas or errors; it does not establish that the two functions form a complementary partition for every possible imported or formula-produced value.

Use the known six required positions when that is the actual denominator. If a dynamic denominator can be zero, define a visible fallback instead of performing an unguarded division. An occupancy percentage should not be labeled “valid responses” without an independent validity rule.

Advanced: separate populated names from accepted responses

Create a separate table named ResponseAudit, with five columns and five rows. Put ID, Name entry and Review status in A1:C1. Enter:

Row ID Name entry Review status
2 R01 Alice Received
3 R02 TBD Pending
4 R03 Leave empty Missing
5 R04 Bob Received

Leave B4 genuinely empty. Use D for counts and E for ratios:

Cell Formula Expected result
D2 =COUNTA(A2:A5) 4
D3 =COUNTA(B2:B5) 3
D4 =COUNTIF(C2:C5,"Received") 2
E3 =D3/D2 0.75, or 75%
E4 =D4/D2 0.5, or 50%

The COUNTIF result uses the explicit review label, not a guess from whether a name cell is filled. This shows the practical difference between occupancy and acceptance without trying to classify arbitrary names using COUNTA.

A status label is still supplied data, not proof of a real review. If IDs or labels are missing, duplicated or incorrect, validate them separately before trusting the percentage.

Blank-looking content and troubleshooting

A space and the placeholder TBD are not the same as a cleared cell. Formula-produced "" is another distinct case: Apple’s short COUNTA entry does not explicitly resolve its treatment. Keep that uncertainty separate from the verified genuine-blank fixture, rather than borrowing another spreadsheet’s rule.

The reference also does not enumerate every native error outcome. COUNTA does not certify that another formula’s output is correct. When a total looks wrong, inspect its range, header inclusion and the actual stored content before changing the arithmetic.

All main formulas use ranges in their own table. For a different table, select the source range so the editor includes its name, such as Survey::A2:A7; Apple’s reference guide explains this notation. Regional separators can affect multi-argument entry.

Use COUNTIFS for several aligned conditions and SUMIFS for their associated numeric total. Preserve the original data when investigating why occupancy differs from the number of accepted records.