How to use averageif function?

被刻印的时光 ゝ 提交于 2019-12-12 17:24:43

问题


I have a following data set. I want to get, in column E, average of column B values , if the sample and gene are same using something like AVERAGEIF function in Excel.

For example, in E2 cell, I want to have the the average of B2 and B7 since they have same value in column C i.e "alpha", and column D i.e "S14".

Here is the screenshot of sample data:


回答1:


You would need AVERAGEIFS()

The Formula would be:

=AVERAGEIFS(B:B,C:C,C2,D:D,D2)

Put it in E2 and copy/drag down.



来源:https://stackoverflow.com/questions/41168399/how-to-use-averageif-function

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!