T
tally
I'm having problems figuring out the proper combination of functions to
use. Each week a person shoots a score. They can have anywhere from
1-12 scores over a 12 week period. I'm trying to generate a "moving"
average each week for each person using their 3 most recent scores.
This is the current format, but I'm looking to automatically generate
column D (the Average).
A1 B1 C1 D1
Date Person Score Average
115 Mike 40 40
115 Ike 10 10
122 Mike 20 30
122 Ike 30 20
127 Mike 30 30
127 Ike 80 40
I was able to figure out how to average all of a person's scores
through the current week using the sumif function.
=sumif($B$2:B10,B10,$C$2:C10) / countif($B$2:B10,B10)
I can't seem to figure out how to:
Find the person (Column B)
Locate their 3 most recent scores (I'm assuming I would do so using the
Date value as the search criteria).
Average the values from the Score column.
Any suggestions would be appreciated.
use. Each week a person shoots a score. They can have anywhere from
1-12 scores over a 12 week period. I'm trying to generate a "moving"
average each week for each person using their 3 most recent scores.
This is the current format, but I'm looking to automatically generate
column D (the Average).
A1 B1 C1 D1
Date Person Score Average
115 Mike 40 40
115 Ike 10 10
122 Mike 20 30
122 Ike 30 20
127 Mike 30 30
127 Ike 80 40
I was able to figure out how to average all of a person's scores
through the current week using the sumif function.
=sumif($B$2:B10,B10,$C$2:C10) / countif($B$2:B10,B10)
I can't seem to figure out how to:
Find the person (Column B)
Locate their 3 most recent scores (I'm assuming I would do so using the
Date value as the search criteria).
Average the values from the Score column.
Any suggestions would be appreciated.