# Google Sheets TRIMMEAN Function: Syntax, Examples & Tips

- URL: https://betteranalyst.com/google-sheets/trimmean-function
- Author: Better Analyst

Formula Bot is now Better Analyst—same account, more powerful analysis.Formula Bot is now Better Analyst—same account and workflows, with more powerful analysis, dashboards, and automation.

[Learn what changed](https://betteranalyst.com/formula-bot-is-now-better-analyst)

The TRIMMEAN function calculates the mean of a dataset while excluding a specified percentage of the highest and lowest values.

```
TRIMMEAN(data, exclude_proportion)
```

Generate FormulaExplain Formula

One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.

Describe the TRIMMEAN you need in plain EnglishGenerate Formula

## Parameters

**`data`**:\
The range of cells containing the numeric data from which you want to calculate the trimmed mean.

**`exclude_proportion`**:\
The proportion of data points to exclude from both ends of the dataset when calculating the mean. This value should be between 0 and 1.

## What is TRIMMEAN?

The *TRIMMEAN* function in Google Sheets is a statistical tool used to calculate the mean (average) of a dataset while excluding a specified percentage of the highest and lowest values. This function is particularly useful when you want to minimize the impact of outliers on your average calculation, providing a more accurate representation of the central tendency of your data.

In simpler terms, TRIMMEAN allows you to find the average of a set of numbers while ignoring extreme values that could skew the results.

## A Practical Example

Imagine you are analyzing the test scores of a group of students:

### Test Scores Table:

| StudentID | Score |
| - | - |
| 1 | 95 |
| 2 | 85 |
| 3 | 78 |
| 4 | 92 |
| 5 | 100 |
| 6 | 60 |
| 7 | 88 |

You want to calculate the average score while excluding the top 10% and bottom 10% of scores to get a more reliable average.

## TRIMMEAN Formula

To achieve this, you would use the TRIMMEAN function as follows:

```
=TRIMMEAN(B2:B8, 0.2)
```

In this formula:

- `B2:B8` is the range containing the scores you want to analyze.
- `0.2` indicates that you want to exclude 20% of the data (10% from the top and 10% from the bottom).

## Result of the Formula

When you apply the TRIMMEAN formula to the Test Scores Table, the output would be the average score calculated after excluding the highest and lowest scores:

| Average Score |
| - |
| 88.75 |

In this case, the highest score (100) and the lowest score (60) are excluded from the calculation, leading to a more representative average.

## Why Use TRIMMEAN?

TRIMMEAN is beneficial because it provides a way to calculate averages that are less sensitive to extreme values. This is particularly useful in datasets where outliers may distort the mean, such as test scores, sales figures, or any other measurements where variability is present. By using TRIMMEAN, you can obtain a more reliable average that reflects the central tendency of the majority of your data.

## Key Takeaways:

- **TRIMMEAN**: A Google Sheets function that calculates the mean while excluding a specified percentage of the highest and lowest values.
- **Outlier Reduction**: Helps minimize the impact of extreme values on average calculations.
- **Versatile Application**: Useful in various scenarios, including academic performance analysis, financial data assessment, and more.
- **Improved Accuracy**: Provides a more accurate representation of the average in datasets with variability.

TRIMMEAN is an essential function for anyone working with data in Google Sheets, offering a powerful way to enhance data analysis and reporting capabilities.

Happy spreadsheeting!

## Example use case

You have a dataset of student test scores in Column A. By using the TRIMMEAN formula, you can calculate the average score while excluding the top and bottom 10% of scores. This provides a more accurate representation of student performance, minimizing outliers.

## Need more help with Google Sheets formulas?

Sign up for Better Analyst and get unlimited AI-powered formula generation, explanations, and advanced data analysis.

[Create Free Account](https://betteranalyst.com/signup)[Try Formula Generator](https://betteranalyst.com/excel-ai)

## Google Sheets how-to guides

- [How To Highlight Duplicates In Google Sheets](https://betteranalyst.com/google-sheets/how-to-highlight-duplicates-in-google-sheets)
- [How To Insert Checkbox In Google Sheets](https://betteranalyst.com/google-sheets/how-to-insert-checkbox-in-google-sheets)
- [How To Insert Multiple Rows In Google Sheets](https://betteranalyst.com/google-sheets/how-to-insert-multiple-rows-in-google-sheets)
- [How To Lock A Row In Google Sheets](https://betteranalyst.com/google-sheets/how-to-lock-a-row-in-google-sheets)
- [How To Lock Cells In Google Sheets](https://betteranalyst.com/google-sheets/how-to-lock-cells-in-google-sheets)
- [How To Make A Copy Of An Google Sheets Sheet](https://betteranalyst.com/google-sheets/how-to-make-a-copy-of-an-google-sheets-sheet)
- [How To Make A Graph In Google Sheets](https://betteranalyst.com/google-sheets/how-to-make-a-graph-in-google-sheets)
- [How To Make A Histogram In Google Sheets](https://betteranalyst.com/google-sheets/how-to-make-a-histogram-in-google-sheets)

## Explore all Google Sheets formulas

Browse our complete library of Google Sheets formula guides

Compare your options

## Decide with evidence, not a sales pitch.

Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.

1. [01ChatGPTOpen a balanced comparison prompt in ChatGPT.](https://chatgpt.com/?prompt=Compare%20Better%20Analyst%20with%20using%20a%20general-purpose%20AI%20assistant%20for%20data%20analysis.%20Evaluate%20spreadsheet%20and%20document%20analysis%2C%20dashboards%2C%20repeatable%20reports%2C%20code%20transparency%2C%20data%20connections%2C%20pricing%2C%20and%20limitations.%20Use%20current%20public%20sources%2C%20distinguish%20verified%20facts%20from%20assumptions%2C%20and%20explain%20which%20types%20of%20users%20each%20option%20fits%20best.)
2. [02ClaudeOpen the same research prompt in Claude.](https://claude.ai/new?q=Compare%20Better%20Analyst%20with%20using%20a%20general-purpose%20AI%20assistant%20for%20data%20analysis.%20Evaluate%20spreadsheet%20and%20document%20analysis%2C%20dashboards%2C%20repeatable%20reports%2C%20code%20transparency%2C%20data%20connections%2C%20pricing%2C%20and%20limitations.%20Use%20current%20public%20sources%2C%20distinguish%20verified%20facts%20from%20assumptions%2C%20and%20explain%20which%20types%20of%20users%20each%20option%20fits%20best.)
3. [03PerplexityResearch the comparison with linked web sources.](https://www.perplexity.ai/search?q=Compare%20Better%20Analyst%20with%20using%20a%20general-purpose%20AI%20assistant%20for%20data%20analysis.%20Evaluate%20spreadsheet%20and%20document%20analysis%2C%20dashboards%2C%20repeatable%20reports%2C%20code%20transparency%2C%20data%20connections%2C%20pricing%2C%20and%20limitations.%20Use%20current%20public%20sources%2C%20distinguish%20verified%20facts%20from%20assumptions%2C%20and%20explain%20which%20types%20of%20users%20each%20option%20fits%20best.)

AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.
