TRIMMEAN Function

Excel Functions › Statistical

All versions Statistical

The Excel TRIMMEAN function returns the mean of a data set after discarding a percentage of the highest and lowest values — a robust average that ignores outliers.


Quick answer:
=TRIMMEAN({2,4,6,8,10,12,14,16,18,1000},0.2) trims 20% then averages = 11

Syntax

=TRIMMEAN(array, percent)
ArgumentDescription
arrayRequiredThe data set to average.
percentRequiredThe fractional number of points to trim, e.g. 0.2 for 20%. The total is split between the high and low ends.

How to use it

TRIMMEAN removes the most extreme values from both ends before averaging, so a single huge or tiny outlier can't drag the result around — the way some judged sports drop the highest and lowest scores.

=TRIMMEAN({2,4,6,8,10,12,14,16,18,1000}, 0.2) // drops 1000 & 2, mean = 11

Excel multiplies percent by the count, rounds down to the nearest even number, and removes half from each end. So 20% of 10 points = 2 points = 1 trimmed from each end.

Always even, always balanced: because the trim count is rounded down to an even number, TRIMMEAN always removes the same number of values from the top and bottom — keeping the average symmetric.

Try it: interactive demo

Live demo

Pick a TRIMMEAN example to see the formula and its result.

Result:

Practice workbook

📊
Download the free TRIMMEAN practice workbook
Every example on this page, ready to open in Excel — plus practice challenges with answers on a separate tab. No sign-up required.

Frequently asked questions

How does TRIMMEAN decide how many points to drop?
It multiplies percent by the number of values, rounds that down to the nearest even integer, and removes half from the top and half from the bottom.
Why round down to an even number?
So that an equal number of points is removed from each end, keeping the trim symmetric. With 0.2 on 10 values, 2 points are dropped — 1 high and 1 low.
How is TRIMMEAN different from MEDIAN?
MEDIAN ignores everything except the middle value(s); TRIMMEAN keeps and averages all the data except a chosen percentage of extremes, so it uses more information than the median while still resisting outliers.
What percent value should I use?
Between 0 and 1. A small value like 0.1 trims gently; 0 makes TRIMMEAN identical to AVERAGE. A value of 1 or more returns an error.

Master functions like this in one day

This page covers one function. Our Excel Formulas and Functions class covers the 30 that matter most — live, hands-on, taught by professionals in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.

See the Formulas & Functions Class

Related functions: AVERAGE · MEDIAN · AVERAGEIF · GEOMEAN · HARMEAN · VAR.S