Excel去除最大值和最小值求平均值方法

本文将介绍在Excel中去除最大值和最小值后,如何求平均值的方法。

Excel中,我们经常需要对一组数据进行求平均值的操作。然而,有时候我们希望排除其中的最大值和最小值,以确保数据的准确性。那么,如何使用Excel去除最大值和最小值后求平均值呢?下面将介绍两种常用的方法:

方法一:使用AVERAGE函数

1. 在一个空白单元格中输入以下公式:

=AVERAGE(IF(range<>MAX(range), IF(range<>MIN(range), range)))

2. 按下Ctrl+Shift+Enter组合键,将公式转化为数组公式。

该方法利用了Excel的数组公式功能,在求平均值时排除最大值和最小值。

方法二:使用AVERAGE函数和LARGE/SMALL函数

1. 在一个空白单元格中输入以下公式:

=AVERAGE(range)-LARGE(range,1)/COUNT(range)-SMALL(range,1)/COUNT(range)

该方法通过先求出数据的平均值,再减去最大值和最小值的修正量,得到最终的平均值。

无论使用哪种方法,都能够很方便地在Excel中去除最大值和最小值后求平均值。

This article is written by wikishu, and the copyright belongs to ©Wikishu. 【Unauthorized reprinting is prohibited.】 If you need to reprint, please indicate the source and contact wikishu or visit Wikishu(https://wikishu.com) to obtain authorization. Any unauthorized use of the content of this article will be considered an infringement. Original source: https://wikishu.com/?p=74267
(0)
上一篇 19 7 月, 2023 11:16
下一篇 19 7 月, 2023 11:18

相关推荐

发表回复

登录后才能评论