Contact

COUNT Function in WPS Spreadsheet: Formula, Examples & Troubleshooting

Statistical Beginner WPS Spreadsheet

Learn the COUNT formula in WPS Spreadsheet: 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 observations. Text in a referenced range does not become numeric merely because it looks like a number. Use COUNTA when the question is whether a cell contains information rather than whether it holds a numeric value.

Availability and version history

  • Introduced: documented by 2019-05-13 in the official WPS lesson; original introduction is not established.
  • Availability: WPS Office for Windows Personal; the earlier lesson explicitly demonstrates WPS 2019.
  • Scope: current supported build limits remain unverified. The Windows lesson does not establish equivalent support in other WPS clients.
  • Checked: October 14, 2026. Function-specific documentation and independent calculations; no new native WPS test was performed.

Syntax and arguments

=COUNT(value1, [value2], ...)

Supply at least one value or reference. The Windows lesson establishes numeric-cell counting; the supplementary official COUNT note supplies multiple-argument syntax and direct-versus-referenced type distinctions. No universal current-build argument maximum is established here.

Square brackets mark optional arguments and are not typed. Examples use English function names and comma separators. Keep numeric values distinct from numeric-looking text.

Prepare the original example

Enter the original dataset in A1:F9, including headings. The Row column below is explanatory, not an extra worksheet column. Amount and Units are numeric. Keep formula outputs outside the data.

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: compare records, numeric cells and occupied cells

=COUNT(A2:A9)
=COUNT(D2:E9)
=COUNT(E2:E9)

Expected results are 0, 16 and 8. Item labels are text. The two numeric columns contain sixteen numbers in total, and Units contains eight, including the zero in E5.

The second result counts numeric cells, not orders. There are still only eight source records. A two-column selection changes the thing being counted even though it does not change the table’s row count.

Advanced example: distinguish stored numbers from numeric text

On a separate part of the sheet create this control:

Cell Entry Stored meaning
K2 10 Number
K3 0 Number
K4 '20 Text containing 20; apostrophe is an entry instruction
K5 =TRUE() Logical value
K6 Leave genuinely empty No entry
K7 ="" Formula returning empty text
=COUNT(K2:K7)

Expected result: 2. The numeric values 10 and 0 count. Text, a logical value and the genuinely empty cell do not become numbers through their appearance. Converting K4 into the actual number 20 increases the count to 3; changing its display format alone is insufficient.

As a separate direct-argument control, =COUNT(10,"20","Pending") has expected result 2 under the supplementary WPS note’s numeric-text rule. The quoted 20 is supplied directly here, rather than stored as text inside the referenced range. Do not infer a complete Boolean or blank coercion table from this one distinction.

Advanced example: audit a numeric column before averaging

The original Amount column has a total of 910 and eight numeric observations:

=SUM(D2:D9)/COUNT(D2:D9)

Expected result: 113.75, matching AVERAGE on this entirely numeric range. COUNT provides the observed numeric denominator; the expression is not a general error-cleaning formula.

In a separate copy, replace numeric 75 at D3 with the text value '75. COUNT drops to 7, while the numeric sum is 835; the ratio becomes approximately 119.285714286. The apparently missing observation can raise the mean without any obvious blank row. Inspect the stored type rather than assuming the higher average reflects better performance.

Advanced check: overlapping references count again

=COUNT(D2:D5,D6:D9)
=COUNT(D2:D6,D6:D9)

Expected results are 8 and 9. The first partitions the eight numeric entries. The second includes D6 twice. COUNT is not a distinct-value or deduplicated-cell operation.

Similarly, counting both 120 and another 120 gives two observations. If unique values are required, choose a separately documented method that defines uniqueness; do not infer it from the word count.

Errors and interpretation

The supplementary WPS note describes ignored nonnumeric entries and error values. That supports counting numeric observations, not treating an ignored error as a valid zero measurement. Keep a separate inspection of failed inputs when a complete dataset is required.

Dates stored as numeric serials can count as numbers, but date-looking text requires its own parsing check. Exact locale conversion, current argument limits and cross-client behavior remain unverified. COUNTIF is the appropriate separate operation for applying a condition, while COUNTA includes nonnumeric information.

Related guides already published for this function: Microsoft Excel | Google Sheets | LibreOffice Calc | Apache OpenOffice Calc | Gnumeric

Each comparison guide is researched separately; a shared function name does not establish identical platform availability or edge behavior.

Evidence level: The complete article was reviewed against function-specific official WPS evidence. Original worked formulas, title and publication date are preserved. Added outputs are independently calculated expectations, not native WPS test results.