Contact

AVERAGE Function (Gnumeric)

Statistical Intermediate Gnumeric

Learn the AVERAGE function in Gnumeric: Returns the average of a sample.

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

The AVERAGE function in Gnumeric is used for this task: Returns the average of a sample. Calculate a mean from three observations.

This guide explains how to read the formula, reproduce a concrete example, interpret its result and recognize common input mistakes.

Availability and version history

  • Introduced: Documented by 1.12.62; original introduction not established.
  • Availability: Supported in Gnumeric 1.12.62, based on the function-specific registration.
  • Scope: Desktop; the fn-stat function module must be included and enabled.
  • Checked: Bounded native Gnumeric 1.12.57 cases on October 17, 2026; retained 1.12.62 registration/source remains a separate scope. First historical execution and last functioning release are not established.

Syntax and arguments

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

Supply numeric values, references or ranges containing observations. AVERAGE sums usable numeric values and divides by their count. It does not divide by the number of rows in the supplied range when some rows are blank or text. A numeric zero is included in both the sum and count; a blank is not the same observation.

Gnumeric’s collectors distinguish direct arguments from referenced cells. In a range, strings, Booleans and blanks are ignored by this function. In the tested 1.12.57 build, a direct Boolean was ignored too: AVERAGE(TRUE,3) returned 3, whereas AVERAGE(1,3) returned 2. The retained 1.12.62 collector flags distinguish direct arguments, so do not generalize the older runtime result to every newer coercion path. Avoid broad claims that all text or Boolean inputs behave identically regardless of how they enter the formula.

Worked example

=AVERAGE(4,6,8)

Expected result: 6.

Why it works: Calculate a mean from three observations.

Another practical example

Practice inputs: The three direct arguments are 10, 20 and 30.

=AVERAGE(10,20,30)

Expected result: 20.

The arithmetic mean is 60 divided by 3. Compare it with MEDIAN when unusually high values might distort the average.

What to watch for

A blank cell is different from a zero. Be careful when averaging incomplete data.

For LibreOffice Calc formulas, separators are commonly semicolons; the Gnumeric examples here use commas. The original review used arithmetic/reference expectations; the present bounded Gnumeric 1.12.57 checks are described below.

Missing data versus observed zero

Create this synthetic range H1:H5: H1 contains 10, H2 contains numeric 0, H3 is genuinely empty, H4 contains the text missing, and H5 contains Boolean TRUE. =AVERAGE(H1:H5) has expected result 5: only 10 and 0 enter the numeric mean, so (10+0)/2 = 5. Do not type the word blank into H3; that would be text rather than an empty cell.

If the zero represents a real measured value, excluding it would inflate the mean. If it instead means “measurement absent,” correct the data convention before averaging. A spreadsheet cannot infer which interpretation you intended.

For an entirely blank J1:J3 range, =AVERAGE(J1:J3) is expected to return #DIV/0! because there are no usable observations. The missing denominator is a data issue, not an instruction to replace the result with zero.

Advanced application: combine groups correctly

Averaging averages can be wrong when groups have different sizes. If one group has two values 10 and 20, its mean is 15; a second group has one value 90, its mean is 90. The mean of those two means is 52.5, while the combined-observation mean is (10+20+90)/3 = 40. Combine sums and counts, or the original observations, unless equal weighting of groups is explicitly the goal.

A few extreme observations can pull the arithmetic mean away from a typical central value. Compare the median and inspect the data distribution rather than treating any single summary as sufficient.

Common problems and practical checks

  • #DIV/0! from an all-blank or nonnumeric range indicates no numeric observations.
  • A referenced zero is included even when a cell format hides it. Display formatting does not remove observations.
  • Text representing a number in an imported range may be ignored instead of counted; validate types before summarizing.
  • Errors in source cells require investigation rather than silently treating them as missing data.
  • Keep the direct-argument versus range distinction in mind for Boolean and string inputs. This guide’s native checks use the specific mixed range and direct Boolean example above, not every coercion case.

Documentation and verification

  • Gnumeric official function catalog
  • A historical comparable LibreOffice Calc 25.2 test was not Gnumeric verification. The present listed native fixture was recalculated using Gnumeric ssconvert 1.12.57 under C.UTF-8. Unexecuted source branches are not runtime guarantees; no GUI or screenshot is claimed.
  • Official function help and implementation. Statistical/mathematical source1.12.62 was retained October13–14; built-in/logical1.12.57 source was freshly retrieved October17.