AVERAGEIF Function in ONLYOFFICE Spreadsheet Editor: Examples and Syntax
AVERAGEIF in ONLYOFFICE Spreadsheet Editor: average only numeric values meeting a criterion 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
AVERAGEIF function in ONLYOFFICE Spreadsheet Editor
Quick answer: Use AVERAGEIF to average only numeric values meeting a criterion. 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
=AVERAGEIF(range, criteria, [average_range])
| Argument | Required? | Meaning |
|---|---|---|
range |
Required | Range tested against the criterion. |
criteria |
Required | Condition applied to the range. |
average_range |
Optional | Numeric values to average; defaults to tested range if omitted. |
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: Region | B: Score |
|---|---|---|
| 2 | East | 90 |
| 3 | West | 40 |
| 4 | East | 70 |
| 5 | West | 100 |
| 6 | East | 80 |
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.
=AVERAGEIF(A2:A6,"East",B2:B6)
Expected result: 80. East scores 90, 70 and 80 give (90+70+80)/3=80. This is an arithmetic/logical prediction on the supplied sample, not a claim of native ONLYOFFICE testing.
Second result for comparison
=AVERAGEIF(A2:A6,"West",B2:B6)
Expected result: 70. West scores 40 and 100 average 70. Comparing these two results helps identify incorrect ranges and mismatched conditions.
Advanced practical example
Average the numeric scores of 80 or greater without using the Region column.
=AVERAGEIF(B2:B6,">=80")
Expected result: 90. Qualifying scores 90, 100 and 80 average 90. Change just the source value described above to reproduce the variation.
Common mistakes, edge cases and limitations
AVERAGEIF without average_range averages the tested range. A missing or text-formatted score differs from a numeric zero; if no scores qualify, do not treat a zero as a valid average.
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
Use COUNTIF to check how many values match each criterion and inspect the numeric score cells before interpreting the mean. 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
AVERAGEIF exists in Excel and Google Sheets; check input type and argument-separator differences. 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.