I am trying to find a way to average the last 5 entries based on the below criteria:
Column A - Name
Column B - Function
Column C - Quality %
So, I want to averageifs(C:C,A:A,"bob",B:B,"testing"), but I only want to consider the last five entries. I also want to exclude blanks.
I have tried something like this, but it is not working:
=AVERAGEIFS(INDEX(C:C,MATCH(9.99999999999999E+307,C:C)-5):INDEX(C:C,MATCH(9.99999999999999E+307,C:C)),A:A,"BOB",B:B,"Testing")
I get a value error.
Column A - Name
Column B - Function
Column C - Quality %
So, I want to averageifs(C:C,A:A,"bob",B:B,"testing"), but I only want to consider the last five entries. I also want to exclude blanks.
I have tried something like this, but it is not working:
=AVERAGEIFS(INDEX(C:C,MATCH(9.99999999999999E+307,C:C)-5):INDEX(C:C,MATCH(9.99999999999999E+307,C:C)),A:A,"BOB",B:B,"Testing")
I get a value error.