Contact

AVERAGE Function in ONLYOFFICE Spreadsheet Editor: Examples and Syntax

Statistical Beginner ONLYOFFICE Spreadsheet Editor

AVERAGE in ONLYOFFICE Spreadsheet Editor: find the arithmetic mean of numeric observations with examples, advanced use, errors, troubleshooting and official sources.

Verification status: See the evidence and test scope described in this guide. How formula examples are checked

Quick answer: =AVERAGE(B2:B6) has an independently expected result of 25 for the four numeric scores and one genuinely empty cell below. Their sum is 100; the numeric count is four.

Availability and version history

  • Introduced: The original introduction version and date are not established by the checked sources.
  • Availability: Documented in the current ONLYOFFICE Spreadsheet Editor help; no final supported-version endpoint is established.
  • Scope: Docs and Desktop Editors release separately. The unversioned help does not establish identical support in older builds, mobile clients or every deployment.
  • Checked: October 14, 2026, against the official AVERAGE reference and the cited implementation. Examples were independently calculated; these particular formulas have not been run in the native application.

Syntax and numeric observations

=AVERAGE(number1, [number2], ...)

Supply the first numeric input or range, with further inputs optional. The help documents up to 255 numerical arguments. The notation’s brackets mark optional inputs; do not type them. These examples use the English help’s commas.

An average needs a total and a denominator. The short function page does not detail every type rule. In the reviewed official source revision, the AVERAGE range branch skips empty, text and Boolean cells, while numeric cells contribute to both sum and count. This supports the referenced-cell model below; it is not proof of identical behavior in every client release or for direct arguments.

Complete original score worksheet

Create Scores with Case and Score in A1:B1. Enter:

Row A: Case B: Score
2 A 10
3 B 20
4 C 30
5 D leave genuinely empty
6 E 40

Do not type the blank instruction into B5. Place all results in D2:D6:

Cell Formula Expected result
D2 =AVERAGE(B2:B6) 25
D3 =AVERAGE(B2:B4) 20
D4 =COUNT(B2:B6) 4
D5 =SUM(B2:B6) 100
D6 =D5/D4 25

D2 and D3 preserve the original examples. D3 excludes the final 40, so its total is 60 and its count three. A shorter range answers a different question even when its result looks plausible.

A zero score belongs in the denominator

Copy Scores to a separate ZeroScore sheet. Enter numeric 0 in B5, leaving the original sheet intact. D2 becomes 20, D3 stays 20, D4 becomes 5, D5 stays 100 and D6 becomes 20.

This preserves the original zero-score variation without replacing the blank example. The unchanged total does not imply unchanged data: zero is a fifth numeric observation. A blank indicates no recorded numeric score in this fixture, whereas zero records a score of zero.

For a text control, make another copy of Scores named PendingScore and put plain text pending in B5. Under the reviewed range-handling model, D2,D4,D5 remain 25,4,100. Keep the pending status visible rather than interpreting an ignored entry as a completed measurement.

Advanced: combine unequal groups using their counts

Return to Scores. In F1:I3 enter a small summary with headings Group, Count, Mean and Total. The first group is B2:B4; the second is the single numeric score B6.

Row F: Group G formula H formula I formula
2 First three =COUNT(B2:B4) =AVERAGE(B2:B4) =SUM(B2:B4)
3 Last one =COUNT(B6) =AVERAGE(B6) =SUM(B6)

Expected G2:I2 is 3,20,60; G3:I3 is 1,40,40. In K2 enter =AVERAGE(H2:H3); expect 30. This weights the two groups equally, despite their unequal numbers of observations.

In K3 enter =(G2*H2+G3*H3)/(G2+G3); expect 25. In K4 enter =SUM(I2:I3)/SUM(G2:G3) for the same result. The groups are disjoint and cover all four numeric observations. Retain calculated group means at full precision when adapting the model.

Reproduce the official illustration

Create VendorAverage, separate from Scores. Enter the following six numbers in A1:C2, with no header inside that input block:

Row A B C
1 123 197 46
2 345 67 456

In E2 enter =AVERAGE(A1:C2); the independently calculated target is 205.6666666667, approximately. The vendor image displays 205.6666667. In E3 enter =SUM(A1:C2) for 1234, and in E4 enter =E3/6 for the same mean before display rounding.

Interpretation and practical limits

A mean is not a median or a completeness measure. To see the effect of a large value without changing Scores, create LargeScore with 10,20,30,40,1000 in A2:A6. Put =AVERAGE(A2:A6) in C2; expect 220. The 1000 changes the sum to 1100 across five observations. Whether that score is valid must be investigated separately.

The reviewed source handles direct inputs and arrays through separate branches. Do not extend a referenced-cell rule automatically to every literal, imported string or array. Native errors, empty-set output and numerical limits remain unverified here. Check stored values and exact range endpoints before interpreting a changed result.

COUNT and SUM reconcile complete numeric fixtures. AVERAGEIF addresses a conditional mean. AVERAGEA deliberately considers additional types and requires its own rules; a shared arithmetic-mean label does not make the two functions interchangeable.