COUNTIFS Function in ONLYOFFICE Spreadsheet Editor: Examples and Syntax
COUNTIFS in ONLYOFFICE Spreadsheet Editor: count records that pass multiple checks using practical sample data, clear expected results, pitfalls and the official function documentation.
Reference checked: Examples have not been run in this spreadsheet application. How we verify guides
Quick answer: Count records that pass multiple checks. A shipping coordinator needs to count East-region orders above five units. Two column conditions must be true on the same 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
=COUNTIFS(criteria_range1, criteria1, [criteria_range2, criteria2], ...)
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: Region | B: Units |
|---|---|---|
| 2 | East | 7 |
| 3 | West | 8 |
| 4 | East | 3 |
| 5 | East | 12 |
| 6 | West | 15 |
Enter this formula in a free result cell (outside the input range):
=COUNTIFS(A2:A6,"East",B2:B6,">5")
Expected result: 2.
Why this result is correct: Rows 2 and 5 meet both criteria. Row 4 is East but fails the units threshold; the two West rows fail the region condition.
A second example or variation
=COUNTIFS(A2:A6,"West",B2:B6,">10")
Expected result: 1.
Only row 6 is West and exceeds ten units. The new criterion changes the result without changing your data.
Common mistakes and troubleshooting
Make every criteria range the same shape and start/end row. Comparisons such as >5 belong in quotes when entered as literal criteria.
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
A shipping coordinator needs to count East-region orders above five units. Two column conditions must be true on the same 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
Place the same number of rows in every criteria range. Counting East orders and counting orders above five units independently is not equivalent to counting rows that meet both criteria together.
Use a manually labelled sample of five rows to validate a new set of criteria before referencing a whole column.
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 — COUNTIFS 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.