How to Calculate a Trimmed Mean in Excel: A Step-by-Step Guide

Calculating a trimmed mean in Excel involves removing a certain percentage of the smallest and largest values from a data set and computing the average of the remaining values. This technique is useful for eliminating outliers that can skew the results. After trimming the data and calculating the mean, you will have a more robust and reliable measure of central tendency.

After you complete the action of calculating a trimmed mean, you should have a more accurate representation of your data set. Outliers that could potentially skew your data are removed, giving you a mean that is more representative of the general trend in your data.


When it comes to data analysis, accuracy is key. Whether you’re a student, a business analyst, or a researcher, knowing how to calculate a trimmed mean in Excel can be a valuable skill. The trimmed mean is a method of averaging that removes the influence of outliers or extreme values from a data set. This is especially useful when dealing with skewed distributions or when outliers are expected to be errors rather than true values.

Why is this important? Well, consider a set of test scores where most students scored around 70, but one student scored a perfect 100 and another scored a 20. A simple average would include these extreme scores, which may not be representative of the class’s overall performance. By calculating a trimmed mean, we can remove these anomalies and get a better sense of the average score.

So, who needs to know how to calculate a trimmed mean? Anyone who works with data and wants to ensure their analysis isn’t thrown off by unusual values. This can be particularly relevant in fields like finance, economics, marketing, or any form of scientific research. Whether you are a professional or a student, understanding how to perform this calculation can greatly improve the quality of your data analysis.

Step by Step Tutorial: Calculating a Trimmed Mean in Excel

Before diving into the steps, it’s important to understand that the following instructions will guide you through using Excel to trim a portion of your data and calculate the mean of the remaining values. This process is relatively straightforward and can be a powerful tool for obtaining a more accurate average.

Step 1: Organize Your Data

Begin by entering your data into a single column in Excel.

Organizing your data in a single, contiguous column is crucial for making the calculation process simpler and avoiding potential errors.

Step 2: Decide on the Percentage to Trim

Determine the percentage of data points you want to trim from each end of your data set.

The percentage you choose to trim should be based on your specific data set and the degree to which outliers might affect your mean. A common choice is to trim 5% from each end, but this can vary.

Step 3: Use the TRIMMEAN Function

In a new cell, type the following formula: =TRIMMEAN(range, percent).

In this formula, ‘range’ refers to the range of cells containing your data, and ‘percent’ is the total proportion of data points to be trimmed, expressed as a decimal. For example, to trim 5% from each end of the dataset, you would use 0.1 (since 5%+5%=10%).

Step 4: Press Enter and Review Your Result

After pressing enter, Excel will display the trimmed mean in the cell where you entered the formula.

Review the result to ensure it makes sense given your data set. If the trimmed mean seems off, double-check that you have organized your data correctly and that you’ve entered the right percentage for trimming.


Reduces Impact of OutliersThe trimmed mean calculation reduces the impact of extreme values, which can skew the average and provide a misleading representation of the data.
More Representative AverageBy removing the outliers, the trimmed mean is likely to reflect the central tendency of the bulk of the data more accurately than the arithmetic mean.
VersatilityThe TRIMMEAN function in Excel allows you to specify the exact percentage of data to trim, making it versatile for different data sets and needs.


Potential Loss of DataTrimming data means that some data points are not included in the final calculation. This can be problematic if the trimmed points are not true outliers.
Subjectivity in Choosing Trim PercentageDetermining the percentage of data to trim can be subjective and may affect the robustness of the trimmed mean.
Not Suitable for Small Data SetsThe trimmed mean may not be suitable for small data sets, as removing even a few data points can significantly alter the results.

Additional Information

When calculating a trimmed mean in Excel, it’s essential to have a clear understanding of your data set and the context in which you are analyzing it. If you’re working with highly skewed data, you might consider a higher trim percentage to neutralize the skewness. Conversely, with a more symmetrical data distribution, a smaller percentage or even a simple mean might suffice. Additionally, keep in mind that the TRIMMEAN function will not work with non-numeric data.

If your data set contains non-numeric values, you’ll need to clean it before performing the calculation. Remember, the goal of a trimmed mean is to provide a more reliable average that can withstand the influence of outliers. Use it wisely, and you’ll enhance the quality of your data analysis significantly.


  1. Organize your data in a single column.
  2. Choose the percentage to trim based on your data set.
  3. Use the TRIMMEAN function with your data range and percentage.
  4. Review the result to ensure accuracy.

Frequently Asked Questions

What is a trimmed mean?

A trimmed mean is a method of averaging that removes a certain percentage of the smallest and largest values from a data set before calculating the mean.

Why calculate a trimmed mean?

A trimmed mean is useful for creating a more accurate average by reducing the impact of outliers that could skew the analysis.

How do I decide on the percentage to trim?

The percentage to trim is subjective and should be based on the specific characteristics of your data set and the extent to which outliers are present.

Can I use the trimmed mean for any data set?

The trimmed mean is most useful for data sets where outliers are expected, and it is not typically recommended for small data sets where removing even a few points can significantly alter the results.

Does the trimmed mean eliminate all outliers?

The trimmed mean removes a specific percentage of the smallest and largest values, which often includes outliers, but it does not specifically target all possible outliers.


Mastering how to calculate a trimmed mean in Excel can immensely improve your data analysis by providing a more accurate measure of central tendency, particularly in the presence of outliers. This method is not a one-size-fits-all solution, but when applied correctly, it offers a robust alternative to the arithmetic mean, making your insights more reliable and your conclusions more valid.

As you continue to work with data, keep the trimmed mean in your analytical toolbox and apply it whenever you encounter skewed distributions or suspect outliers. It’s a simple yet powerful way to ensure your data tells the true story.

Join Our Free Newsletter

Featured guides and deals

You may opt out at any time. Read our Privacy Policy