I would like to pull the average test score based on multiple criteria, but instead of a specified date range I would like to use the top 10 most recent entries as not all candidates have the same number of tests taken within the same date range. I started with the following date range formula:
=AVG(COLLECT({score}, {criteria}, Type@row, {duedate}, AND(@cell >= TODAY(-10), @cell <= TODAY())))
Then adjusted my data sheet to include a YEARDAY column as a way to organize the dates into smallest
and largest values so I could pull only the top 10 values and that’s where I’m stuck.
My questions are:
1) How can I pull multiple LARGE values in one formula to represent the most recent 10 tests:
=LARGE{yearday}, 1-10
2) Then add that criteria to my existing formula above in place of the date range:
=AVG(COLLECT({score}, {criteria}, Type@row, LARGE{yearday}, 1-10))
Thank you!