Get average based on value in another row

不羁岁月 提交于 2019-12-01 00:45:46

Try this: =AVERAGEIF($A$2:$A$13,A2,$C$2:$C$13)

That should go in column B (QR Average) in each cell. The middle param will automatically change, of course.

Try this function adjusting ranges inside:

=AVERAGEIF($A$2:$A$17,A2,$C$2:$C$17)

Create a pivot table at the same spreadsheet.

Select columns A, B and C (Sheet1!$A:$C). Click "Insert", and then "Pivot Table".

Place QR at "Row Labels" field and Val1 (as average) at the "Values" field.

Then, use in B2:

=VLOOKUP(A2,$E$2:$F$6,2,1)  

Drag the formula to all cells in column B.

It will look like this:

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