计算不同项目的Excel平均值

时间:2018-01-15 18:02:47

标签: excel excel-formula

我有关于从数据库中提取的网络性能测量的信息,该表非常长,我不允许按每个测试类别进行分组,然后计算每个测试的平均值,因此我提取了每项措施的优秀信息,现在我需要通过测试取平均值,我可以使用哪个公式?

18707   Ping - Average - VALVE:dsl  196
18651   Ping - Average - Internacional (www.terremark.com):dsl  150
18689   Ping - Average - League of Legends (prod.euw1.lol.riotgames.com):dsl    22
3914    Ping - Average - Internacional (www.terremark.com)  156
14737   Ping - Average - Internacional (neutralidad-internacional.movistarplay.cl):fija 106
15213   Ping - Average - Internacional (www.terremark.com):fija 137
15283   Ping - Average - League of Legends (prod.euw1.lol.riotgames.com):fija   218
27445   Ping - Average - Internacional (www.terremark.com):movil    157
27483   Ping - Average - League of Legends (prod.euw1.lol.riotgames.com):movil  248
6109    Ping - Average - Internacional (www.terremark.com)  143
6144    Ping - Average - League of Legends (prod.euw1.lol.riotgames.com)    244
22259   Ping - Average - DNS Resolution ( 200.175.89.139 )  48
22250   Ping - Average - DNS Resolution ( 200.175.5.139 )   37
14167   Ping - Average - DNS - GVT  39
2710    Ping - Average - Internacional (www.terremark.com)  210
21047   Ping - Average Latency - Blizzard (HeartStone)  50
7250    Ping - Average Latency - Internacional (www.terremark.com)  147
7286    Ping - Average Latency - League of Legends (prod.euw1.lol.riotgames.com)    39
3061    Ping - Average - Internacional (neutralidad-internacional.movistarplay.cl)  130
3061    Ping - Average - Internacional (neutralidad-internacional.movistarplay.cl)  120
15213   Ping - Average - Internacional (www.terremark.com):fija 132
15283   Ping - Average - League of Legends (prod.euw1.lol.riotgames.com):fija   229
12237   Ping - Average - VALVE  184
5182    Ping - Average - Internacional (www.terremark.com)  132
5201    Ping - Average - League of Legends (prod.euw1.lol.riotgames.com)    15
3304    Ping - Average - Internacional (www.terremark.com)  124
6424    Ping - Average - Internacional (www.terremark.com)  116
30047   Ping - Average - Netflix 1080:sin NF    42
27037   Ping - Average - YouTube 1080p:sin NF   68
27027   Ping - Average - YouTube 4K:sin NF  69
27017   Ping - Average - YouTube 720p:sin NF    70
27007   Ping - Average - YouTube Automatic Quality:sin NF   68
26997   Ping - Average - Internacional (www.terremark.com):sin NF   169
22259   Ping - Average - DNS Resolution ( 200.175.89.139 )  21
22250   Ping - Average - DNS Resolution ( 200.175.5.139 )   21
14167   Ping - Average - DNS - GVT  79
2710    Ping - Average - Internacional (www.terremark.com)  192
6109    Ping - Average - Internacional (www.terremark.com)  194
6144    Ping - Average - League of Legends (prod.euw1.lol.riotgames.com)    441
22259   Ping - Average - DNS Resolution ( 200.175.89.139 )  19
22250   Ping - Average - DNS Resolution ( 200.175.5.139 )   8
14167   Ping - Average - DNS - GVT  8
2710    Ping - Average - Internacional (www.terremark.com)  172
6109    Ping - Average - Internacional (www.terremark.com)  307
6144    Ping - Average - League of Legends (prod.euw1.lol.riotgames.com)    348
15213   Ping - Average - Internacional (www.terremark.com):fija 194
15283   Ping - Average - League of Legends (prod.euw1.lol.riotgames.com):fija   292
14737   Ping - Average - Internacional (neutralidad-internacional.movistarplay.cl):fija 117
27445   Ping - Average - Internacional (www.terremark.com):movil    157
27483   Ping - Average - League of Legends (prod.euw1.lol.riotgames.com):movil  251
18707   Ping - Average - VALVE:dsl  204

请注意,第一列是标识该测试的主键,第二列是测试的名称,第三列是测试的值。

我需要计算整个工作表的平均值,而不是每个测试的平均值。

1 个答案:

答案 0 :(得分:0)

您可以添加一个额外的列,然后放入每个单元格:

=AVERAGEIF(A:A, A1, B:B)
  • A:A - 监控列
  • A1 - 要添加到平均值的单元格(数字代表行)
  • B:B - 您要平均的列

然后选择整个表并使用监视器列中的“删除重复项”。