excel - Average of specific cells with numbers determined by multiple criteria -
i'm trying create formula on first screenshot references cells in second screenshot based on name , week number. in second screenshot, shows data "hvl" tab, can see associate's name on left , week numbers across top column headers. because week number appears more once believe i'm having issue. 100% see in cell not correct according data in "hvl" tab. here formulas i've tried using:
=average(((hvl!$a$2:$a$144='weekly report card'!$c$1)*(hvl!$b$1:$ag$1='weekly report card'!$a6)*(hvl!$c$3:$ag$201<>0))) =average(if(hvl!a2:a144='weekly report card'!c1:h1, if(hvl!b1:ag1='weekly report card'!a6, hvl!c3:ag201<>0, "error")))
both array , normal.
=averageif(hvl!$a$2:$a$144, "<>", index(hvl!$c$3:$ag$201, match($c$1, hvl!$a$2:$a$144, 0), match('weekly report card'!$a8, hvl!$c$1:$ag$1, 0)))
both array , normal.
if there's other information need, please let me know.
[1
try formula in cell c6 on weekly report card.
=averageifs(index(hvl!$c$2:$c$50,match('weekly report card'!$c$1,hvl!$a$2:$a$50)):index(hvl!$ag2:$ag$50,match('weekly report card'!$c$1,hvl!$a$2:$a$50)),hvl!$c$1:$ag$1,'weekly report card'!$a6)
the first index/match establishes row in column c name found. second index/match establishes row in column ag name found. :
operator creates range column c ag in row.
this range plugged averageifs, compared against week number in row 1.
Comments
Post a Comment