Column A contains dates of recent basketball games.
Column B contains the number of points scored by a particular player during each game.
Whenever a new game is played, the relevant dates and scores are added to the sheet.
We want to create formulas that will average the most recent X number of scores for each value for X listed in column D. The formulas should automatically update whenever new data is added.
Use the AVERAGE, IF, and LARGE functions in the following Array formula: