COUNT Function in Apple Numbers: Syntax, Examples, and Troubleshooting
Count numeric cells and date values in Apple Numbers, distinguishing blanks, text and COUNTA.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Quick answer: =COUNT(B2:B8) returns 5 for the Orders table below: five amounts are numbers, one is text and one is genuinely empty. COUNT measures numeric or date-valued entries, not the number of records.
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 COUNT reference. Documentation and independent count checks; no native Numbers test.
Syntax and which values count
=COUNT(value, value…)
The first value or collection is required; further values or collections are optional. Apple’s COUNT reference includes numbers, numeric expressions and dates. Its examples exclude text and boolean TRUE/FALSE values, even though those boolean cells are occupied.
A numeric formula contributes one result, not the number of terms used to compute it. COUNTA instead measures nonempty content, including text and booleans.
Practice table: entered order amounts
Create a Numbers table named Orders, with seven columns A:G and eight rows including one header row. Put Order ID, Amount (CAD) and Region in A1:C1. Leave D as a spacer, use E for count results and G for completion ratios. Enter these original records in A2:C8:
| Row | Order ID | Amount (CAD) | Region |
|---|---|---|---|
| 2 | ORD-101 | 120 | East |
| 3 | ORD-102 | 75 | West |
| 4 | ORD-103 | 90 | East |
| 5 | ORD-104 | 115 | West |
| 6 | ORD-105 | 35 | East |
| 7 | ORD-106 | pending | East |
| 8 | ORD-107 | Leave empty | West |
Enter B2:B6 as numbers, B7 as the plain text pending, and leave B8 genuinely empty. Do not type the words “Leave empty,” a space or a zero in B8. Number or Currency formatting can help display the amounts, but formatting alone is not proof that an imported value is numeric.
Enter each formula in its stated result cell:
| Cell | Formula | Expected result |
|---|---|---|
| E2 | =COUNT(B2:B8) |
5 |
| E3 | =COUNT(B2:B8,200) |
6 |
| E4 | =COUNT(A2:A8) |
0 |
| E5 | =COUNT(4,7,9) |
3 |
| E6 | =COUNT(4,7,"pending") |
2 |
| E7 | =COUNTA(B2:B8) |
6 |
| E8 | =COUNTA(A2:A8) |
7 |
The extra 200 in E3 is an additional argument, not another order. E7 exceeds E2 by one because the text in B7 is occupied but not numeric. All seven order IDs are text, so E4 is zero even though E8 is seven.
Advanced: numeric-amount completion rate
In G2 enter =COUNT(B2:B8)/COUNTA(A2:A8). Expect 5/7, approximately 0.7142857143, or 71.43% with two-decimal percentage formatting.
This is the share of identified orders with a numeric amount. It does not establish that an amount is positive, correct or paid. In this fixture every row has one nonempty ID; missing or duplicate IDs would require a separate data-quality check.
In G3 enter the guarded version:
=IF(COUNTA(A2:A8)=0,0,COUNT(B2:B8)/COUNTA(A2:A8))
The expected result is the same 5/7. The IF function makes the zero-denominator branch explicit. A zero returned for an empty identifier list is a chosen fallback, not evidence of a measured 0% completion rate. Label that policy in a real report.
To isolate a discrepancy without changing the inputs, put =COUNT(B2:B4) in G4 and =COUNT(B5:B8) in G5. Expect 3 and 2; their sum agrees with E2.
Numeric zero, formulas, dates and booleans
Create a separate table named CountTypes, with three columns and eight rows. Use A for labels, B for values and C for a per-cell count. Enter the following B cells:
| Row | B entry | Expected COUNT of that one cell |
|---|---|---|
| 2 | Number 0 | 1 |
| 3 | Number -4 | 1 |
| 4 | Formula =2+3 |
1 |
| 5 | Formula =DATE(2026,1,15) |
1 |
| 6 | Formula =TRUE() |
0 |
| 7 | Plain text pending | 0 |
| 8 | Genuinely empty cell | 0 |
Put =COUNT(B2) in C2 and fill through C8. This isolates the distinction between a numeric zero and an absent value, and between a boolean and a number. Using DATE supplies a genuine date without relying on a regional date-text interpretation.
For a separate two-column TypeTotals table with three rows, put =COUNT(CountTypes::B2:B8) in B2 and =COUNTA(CountTypes::B2:B8) in B3. Expected results are 4 and 6. Select the source range in the editor if Numbers inserts a different qualifier for your actual table name.
Errors, source wording and practical limits
Apple’s COUNT example describes its two-number/two-blank row in terms of the two empty cells. The reported count is nevertheless the count of the two numbers; empty cells do not become numeric inputs. The explicit cases above avoid that ambiguous explanation.
The short reference does not settle every duration, blank-looking formula, error propagation or text-coercion edge case. A string resembling a date or amount should not be assumed to have the intended stored type. A numeric result also says nothing about whether the underlying business value is valid.
Apple’s formula overview explains argument separators, including semicolons when the decimal separator is a comma. Its reference guide explains Numbers’ table-qualified forms. Keep result cells outside the counted input ranges to avoid circular references.
Use COUNTIF for one matching rule or COUNTIFS for aligned multiple rules. Neither should be substituted for an explicitly defined completeness measure merely because its output is also a count.