简体   繁体   English

平均功能谷歌表

[英]Average function google sheets

i am trying to build an average-function in this sheet . 我正在尝试在此工作表中建立平均功能。

How can i get the average for merchant a in CW6 ([CW34+CW35+CW36]/3), without a reference to the cellnumber. 如何在不参考单元号的情况下获得CW6中商家A的平均值([CW34 + CW35 + CW36] / 3)。

So i need in E12 the average of the "merchant a" in the range of C:E. 所以我需要在E12中C:E范围内的“商人a”的平均值。

I tried with match,index,averageif.. but havent got a solution. 我尝试了match,index,averageif ..但还没有解决方案。

Your match function is on the right lines (except that you need a zero to specify an exact match), then you need to add an INDEX function to get the correct row from C2:E4 and AVERAGE to get the average:- 您的match函数在右边(除非您需要用0来指定完全匹配),然后您需要添加INDEX函数以从C2:E4和AVERAGE获取正确的行以获取平均值:-

=AVERAGE(INDEX($C$2:$E$4,MATCH(A12,$A$2:$A$4,0),0))

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM