Excel removes the maximum and minimum values after the formula to average

Source: Internet
Author: User

In some competitions, often see the referee site scoring situation, in order to ensure that the competition is fair, usually in all referees given the score to remove one or several of the highest and the lowest points, and then use the remaining points to get the final score of the contestants. This is easy to implement with the Trimmean function in Excel. The Trimmean function drops a certain percentage of data points from the head and tail of the dataset before averaging. Its syntax is:

Trimmean (array,percent)

Array is a range of arrays or ranges of values that need to be collated and averaged.

Percent is the proportion of data points to be dropped when calculating. For example, if percent = 0.2, in a set of 20-point points, you would remove 4 data dots (20x0.2=4): The head is removed 2, and the tail is 2. If it is in a 15-point collection, because of 15x0.2=3, the function rounds down the number of dropped data points to the nearest multiple of 2, which is 2, thus removing a maximum and a minimum value.

Example: 16 values remove the 3 maximum and 3 minimum values, and the remaining 10 digits are averaged.

If the range of values is A1:A16, use the following formula:

=trimmean (a1:a16,0.4)

Note: Because you want to remove the maximum and minimum 3 values, take percent=0.4,16x0.4=6.4 and round down to 6. The Trimmean function automatically removes the maximum 3 values and the smallest 3 values, and then averages them.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.