COUNTIF Function in ONLYOFFICE Spreadsheet Editor: Examples and Syntax
COUNTIF in ONLYOFFICE Spreadsheet Editor: count items with one condition using practical sample data, clear expected results, pitfalls and the official function documentation.
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: Count items with one condition. An order queue contains several processing states. Count how many records are ready without manually filtering every row.
This page covers the ONLYOFFICE Spreadsheet Editor implementation specifically. Its example values and expected results are original educational data, not screenshots or claims of a live application test.
Syntax and argument order
=COUNTIF(range, criteria)
The argument order above follows the official ONLYOFFICE Spreadsheet Editor documentation. Use the function name shown here, and replace placeholder arguments with ranges, cell references or criteria from your workbook.
Worked example with sample data
| Row | A: Status |
|---|---|
| 2 | Ready |
| 3 | Held |
| 4 | Ready |
| 5 | Shipped |
| 6 | Ready |
Enter this formula in a free result cell (outside the input range):
=COUNTIF(A2:A6,"Ready")
Expected result: 3.
Why this result is correct: The status Ready appears in rows 2, 4 and 6. COUNTIF tests a single range against one criterion; it does not sum quantities stored elsewhere.
A second example or variation
=COUNTIF(A2:A6,"R*")
Expected result: 3.
The asterisk matches text starting with R. Avoid this broader condition if other statuses, such as Returned, should not be counted.
Common mistakes and troubleshooting
Check leading/trailing spaces imported from a CSV file; Ready and Ready may not match. Test an exact literal criterion before adding wildcards.
Also check that the version of ONLYOFFICE Spreadsheet Editor you use supports this function. A formula pasted from another application can fail because of different syntax, date interpretation, array behavior or regional separators. If the result differs, first compare the small dataset above with the expected answer before substituting your real data.
Where this function helps
An order queue contains several processing states. Count how many records are ready without manually filtering every row. Replacing the sample cells with your own ranges lets you reuse the same reasoning. On important spreadsheets, test with a few known rows, verify the final cell formatting and keep a separate copy of the source data.
Practical checks before reusing this formula
A criteria argument such as ">5" is a string, not a boolean expression. If counts differ from expectations, inspect whether imported numbers are actually numeric and whether whitespace occurs in any text criteria.
A COUNTIF formula does not tell you which records passed: pair it with a FILTER workflow or sort the source to inspect the matches.
To compare this function with other spreadsheet programs, use our eight-software function comparison. A missing guide does not mean a function is unsupported in another product; check its official documentation.
Official reference and verification
- Official ONLYOFFICE Spreadsheet Editor — COUNTIF reference
- Verification status: Official documentation checked; example outcome 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.