Skip to main content
 

Excel TRIMMEAN function

Author: Siluvia Last Modified: 2024-10-28

The TRIMMEAN function returns the mean of the interior of a data set, which excludes a certain number of highest and lowest values.

show the usage of Excel TRIMMEAN function

Syntax

TRIMMEAN(array, percent )

Arguments

  • Array (required): The array or cell range of values for which you want to trim and average.
  • Percent (required): The number of data points to exclude from the array.
For example, there is an array of 12 cell values, and you want to exclude the highest value and the lowest value from array before calculating the average. Here the percent can be entered as 20%, 0.2, or 2/number of cells in array (such as 2/12, where 12 is the total number of values in the array).

Remarks

1.The #NUM! error occurs when either of the following conditions is met:
-- “percent” < 0 or “percent” > 1.
-- “array” is empty.
2. The #VALUE! error occurs if “percent” is non-numeric.
3.“percent” will be rounded down to the nearest multiple of 2.
-- For example, there are 30 data points, and the “percent” = 10%, so the number of data points to be excluded equals to 30*10%=3. Here the number 3 will be rounded down to 2, which means that the highest value and the lowest value will be excluded from array when calculating the average.

Return value

It returns a numeric value.

Example

As shown in the screenshot below, there is a list of scores from different judges, to get the final score of each anticipant, excluding the highest and the lowest scores, you can apply the TRIMMEAN function as follows to get it done.

show the usage of Excel TRIMMEAN function

Select a cell such as C18 to place the final score of the first anticipant, copy or enter the formula below and press Enter. Select this result cell and drag its AutoFill Handle right to get the final scores of other anticipants.

=TRIMMEAN(C6:C17,2/12)

show the usage of Excel TRIMMEAN function

Note: For a long array, it is not easy to count the total number of cells, you can change the formula to:

=TRIMMEAN(C6:C17,20%)

=TRIMMEAN(C6:C17,0.2)

Related Functions

Excel GEOMEAN Function
The GEOMEAN function returns the geometric mean of an array or range of positive numbers.

Excel HARMEAN Function
The HARMEAN function returns the harmonic mean of a supplied set of values.


The Best Office Productivity Tools

Kutools for Excel - Helps You To Stand Out From Crowd

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates  |  Delete Blank Rows  |  Combine Columns or Cells without Losing Data  |  Round without Formula ...
Super VLookup: Multiple Criteria  |  Multiple Value  |  Across Multi-Sheets  |  Fuzzy Lookup...
Adv. Drop-down List: Easy Drop Down List  |  Dependent Drop Down List  |  Multi-select Drop Down List...
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  Compare Columns to Select Same & Different Cells ...
Featured Features: Grid Focus  |  Design View  |  Big Formula Bar  |  Workbook & Sheet Manager | Resource Library (Auto Text)  |  Date Picker  |  Combine Worksheets  |  Encrypt/Decrypt Cells  |  Send Emails by List  |  Super Filter  |  Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters ...)  |  50+ Chart Types (Gantt Chart ...)  |  40+ Practical Formulas (Calculate age based on birthday ...)  |  19 Insertion Tools (Insert QR Code, Insert Picture from Path ...)  |  12 Conversion Tools (Numbers to Words, Currency Conversion ...)  |  7 Merge & Split Tools (Advanced Combine Rows, Split Excel Cells ...)  |  ... and more

Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...


Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.