Contact

AVERAGEIF Function in Collabora Office Calc: Formula, Examples & Troubleshooting

Statistical Intermediate Collabora Office Calc

Learn the AVERAGEIF formula in Collabora Office Calc: average numbers matching a single condition, with reproducible examples, expected answers and compatibility cautions.

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

Quick answer: Use AVERAGEIF to calculate a mean from numeric values selected by one criterion. The source table and formulas below make the selected records and expected result explicit.

Availability and version history

  • Introduced: original Collabora release and launch date are not established by the reviewed sources.
  • Availability: documented in Collabora Office 26.04 help, scoped to the desktop-help release.
  • Platform scope: online and mobile deployments are not inferred from desktop documentation.
  • Checked: October 14, 2026. Direct function documentation and independently modeled examples; no native Collabora test was performed.

Syntax and argument roles

=AVERAGEIF(range;criterion;[average_range])

The first range is tested against the criterion. The optional average_range supplies the corresponding values to average. When it is omitted, the tested range is also averaged. Collabora explicitly excludes empty cells and text in the averaging range; the denominator is the selected numeric observations, not necessarily every matched row.

Prepare the original practice table

Use English function names and semicolon argument separators, adapting separators to the target file if needed. Enter the following data in A1:F9 with headings in row 1. Amount and Units must be numeric. Keep output cells outside that source range.

Row A · Item B · Team C · Status D · Amount E · Units F · Agent
1 Item Team Status Amount Units Agent
2 Pen East Paid 120 12 Ana
3 Pad West Pending 75 5 Bo
4 Box East Paid 210 7 Ana
5 Tape North Paid 90 0 Cy
6 Folder West Paid 150 3 Bo
7 Pen East Pending 60 8 Dee
8 Pad West Paid 125 12 Ana
9 Box North Pending 80 4 Cy

For the plain text controls, use whole-cell matching and no automatic wildcard/regular-expression evaluation. Collabora’s calculation options govern those choices; the formulas should not inherit an assumed Excel matching policy. No setting is changed by this guide.

Example 1: retain the original control

=AVERAGEIF(B2:B9;"East";D2:D9)

Expected result: 130. East values 120,210,60 total 390 across three orders.

Example 2: retain the second original control

=AVERAGEIF(C2:C9;"Paid";D2:D9)

Expected result: 139. Five paid amounts total 695; 695/5 =139.

Advanced example: average the tested numbers directly

=AVERAGEIF(D2:D9;">=100")

Expected result: 151.25, from (120+210+150+125)/4. Omitting the average range is appropriate because the same Amount cells are both tested and averaged.

With H2 containing numeric 150, =AVERAGEIF(D2:D9;">="&H2) gives expected 180, from (210+150)/2. Quoting only the operator preserves H2 as an editable numeric reference.

Advanced example: a matching row can lack a numeric observation

Build the separate J2:K6 input below. Enter the numeric-looking text as the displayed formula, and leave the stated empty cell genuinely empty.

Row J · Team K · Measurement
2 East 10
3 East 30
4 East ="90"
5 East genuinely empty
6 West 100
=AVERAGEIF(J2:J6;"East";K2:K6)

Expected mean: 20, using 10 and 30. COUNTIF on the Team column returns 4, so dividing the selected numeric sum 40 by every matching Team row would incorrectly give 10.

Replace the genuinely empty K5 with numeric 0. The expected mean becomes 40/3, approximately 13.333333333. The measured zero is now an observation; the text digits in K4 remain text.

Advanced example: distinguish a missing mean from a measured zero

The official AVERAGEIF reference documents #DIV/0! when no eligible numeric values remain, including no matches or an averaging range containing only empty/text values. For the original table, a Team criterion of South has no matches and therefore that documented error expectation.

By contrast, a separate one-row East measurement of numeric zero has mean 0. Substituting zero for every failure would erase that distinction. Preserve the raw calculation and use an explicit label only when the report’s meaning is clear.

Advanced check: group averages need the correct weights

The original East group has total 390, count 3 and mean 130. West has total 350, count 3 and mean 116.666666667. North has total 170, count 2 and mean 85.

Their unweighted mean is approximately 110.555555556, while all eight Amount observations average 113.75. Weighting each group mean by its actual numeric count reconstructs 910/8=113.75. Counts of all matched rows would be inappropriate if any group’s mean excluded text or missing measurements.

Troubleshooting and scope

Keep criteria and averaging columns aligned. A plausibly rounded mean can hide a wrong denominator or a shifted range. The reference’s examples contain some row-label inconsistencies, so these controls use an explicit source table and independently checked sums and counts.

The dedicated page establishes the text/empty exclusion and no-observation error, but not every mismatch fallback or imported error/coercion matrix. For multiple simultaneous conditions use AVERAGEIFS, whose argument order puts the averaging range first.

Matching settings and evidence scope

The function-specific reference permits wildcard or regular-expression criteria when the relevant calculation option is enabled. Whole-cell versus partial text matching is separately configurable. A pattern is therefore not automatically portable merely because another spreadsheet accepts the same characters.

The help also notes locale-sensitive numeric interpretation of criteria. Keep numeric thresholds as numbers and avoid treating a number-like expression as a guaranteed regular expression. The controls here deliberately state their input types and matching assumptions; they are not a full native case-collation or coercion matrix.

References and verification

The complete older guide and all original worked formulas were reviewed. Expected numeric and selection results are independently calculated models, with any documented errors identified separately. No target-application execution or cross-deployment certification is claimed.