Skip to main content
← All functions

TRIMMEAN function

Returns the mean of the interior of a data set

Syntax

TRIMMEAN(array, percent)

Square brackets indicate optional arguments.

Arguments

ArgumentRequiredMeaning
arrayYesThe array or range of values to trim and average.A2:A12
percentYesThe fractional number of data points to exclude from the calculation.0.2

Try TRIMMEAN

Trim equally from both ends before averaging

=TRIMMEAN(A2:A5,0.5)

A 50% trim removes two of four observations in total: one at each end. The mean of the remaining 2 and 3 is 2.5. The trim count is rounded down to an even number.

Inspect the current formula

Read its written arguments or observe actual operation values in a separate local calculation. This action neither applies a draft nor grades an answer.

Read the formula, one argument at a time

Explore the written function calls and their inputs. The calculation result belongs to the complete formula.

TRIMMEAN · top-level call

=TRIMMEAN(A2:A5,0.5)

1 / 2 · array

The array or range of values to trim and average.

TRIMMEAN reference ↗

Follow the cells behind a result

Read explicit local references and helper formulas using a separate calculation. Your draft stays in this field; the worksheet and practice checks do not change.

The worksheet runs locally. Published checks apply to the supplied example only. Native Excel and Google Sheets compatibility remain unverified.

Reference and compatibility

Univer 1.0.4 / Apache-2.0. Calculation checks cover the supplied examples only. The browser worksheet does not implement every Excel feature, external service or connected data type.