COUNT Function in ONLYOFFICE Spreadsheet Editor: Examples and Syntax
COUNT in ONLYOFFICE Spreadsheet Editor: count numeric cells while ignoring text and blanks with examples, advanced use, errors, troubleshooting and official sources.
Verification status: Official documentation referenced; example outcomes independently reasoned or arithmetically checked where stated. Not executed in ONLYOFFICE Spreadsheet Editor. How formula examples are checked
Quick answer: Use COUNT to count numeric cells while ignoring text and blanks. The steps below are original teaching examples derived from official syntax and independently checked arithmetic. No screenshot or result is represented as a native editor execution.
Exact syntax and argument definitions
=COUNT(value1, [value2], ...)
| Argument | Required? | Meaning |
|---|---|---|
value1 |
Required | First reference, range or value. |
value2, ... |
Optional | Additional values or ranges to inspect. |
Square brackets are documentation markers for optional parameters, not characters to type in a formula. Formula names and comma-separated arguments here follow ONLYOFFICE’s official function-entry guide. Locale settings can affect punctuation and displayed formats.
Reproducible worked dataset
Create a new sheet with these small source records:
| Row | A: Record | B: Reading |
|---|---|---|
| 2 | A | 5 |
| 3 | B | pending (text) |
| 4 | C | (leave B4 empty) |
| 5 | D | 0 |
| 6 | E | 2 |
If a cell is marked leave empty, leave it truly empty rather than entering the words in the table. Put the formula in a free cell away from the source data.
=COUNT(B2:B6)
Expected result: 3. Only 5, 0 and 2 are numeric; zero counts, while the text and empty cell do not. This is an arithmetic/logical prediction on the supplied sample, not a claim of native ONLYOFFICE testing.
Second result for comparison
=COUNT(B2:B3)
Expected result: 1. Only B2 is numeric within that narrower range. Comparing these two results helps identify incorrect ranges and mismatched conditions.
Advanced practical example
Enter the number 7 in C2 without changing column B.
=COUNT(B2:B6,C2)
Expected result: 4. The original three numeric cells and the extra 7 yield four counted arguments. Change just the source value described above to reproduce the variation.
Common mistakes, edge cases and limitations
COUNT excludes the text pending and any other text-formatted inputs. COUNTA counts nonempty cells instead, answering a different question. A spreadsheet date may be stored internally as a numeric serial.
Unrecognized formula names, missing arguments, incorrect parentheses and incompatible separators may cause an error. When an output is surprising, test the small example first, check whether input values are genuine numbers, then inspect the formula’s range endpoints. Do not guess a specific error label when it has not been produced by a native test.
Troubleshooting steps
Confirm that B4 is actually empty and B3 contains text. Check for imported numbers stored as text if COUNT seems too low. If formulas are displayed as text, ensure the destination cell is treated as a formula and starts with an equals sign. If copying a formula, decide which references should remain fixed and apply $ anchors as needed.
ONLYOFFICE version and edition notes
The current official function inventory lists this function. The checked changelog does not give its first supported build. Verify the installed edition rather than implying unsupported old builds work.
The official changelog was reviewed on 2026-10-11 UTC. No unsupported introduction date or minimum edition is invented.
Cross-software compatibility
Excel and Google Sheets both offer COUNT and COUNTA; what is stored as a number can depend on data import and date formats. Microsoft also provides a version-aware function catalogue. Consult the eight-software comparison for navigation, but verify formula semantics in each destination app before copying a workbook.
Related guides
Official reference and verification
- ONLYOFFICE Spreadsheet Editor — function documentation
- ONLYOFFICE’s official function-entry guide
- official changelog
Verification status: Official documentation checked; example outcomes were independently reasoned or arithmetically checked where applicable. Not executed in ONLYOFFICE Spreadsheet Editor.
- No genuine ONLYOFFICE Spreadsheet Editor screenshots are included; this guide does not use mock application images.