Good Afternoon,
My data is constantly updated (new rows) and i'd like to be able to average the last 3 scores (SCORE) for each Student (STUDENT) - in the example below Student A would show an average of 91, 71, 74. The issue arises when I add new data, I need this to update on the fly. This is an inherited system and cannot change the layout in anyway.
Edit: This is the formula I've been trying to play with:
=AVERAGEIF(A:A, "A", OFFSET(B2,COUNT(B:B),0,-3,1))
Edit 2: I am keen on learning so if you have time to explain any answers that would be great! As with the above formula I'm trying to follow it logically with the Range, Criteria and Average Range but clearly I'm failing somewhere!
Any help would be much appreciated!
[TABLE="class: grid, width: 100"]
<tbody>[TR]
[TD="align: center"]STUDENT[/TD]
[TD="align: center"]SCORE[/TD]
[/TR]
[TR]
[TD="align: center"]A[/TD]
[TD="align: center"]100[/TD]
[/TR]
[TR]
[TD="align: center"]A[/TD]
[TD="align: center"]91[/TD]
[/TR]
[TR]
[TD="align: center"]B[/TD]
[TD="align: center"]55[/TD]
[/TR]
[TR]
[TD="align: center"]D[/TD]
[TD="align: center"]62[/TD]
[/TR]
[TR]
[TD="align: center"]A[/TD]
[TD="align: center"]71[/TD]
[/TR]
[TR]
[TD="align: center"]C[/TD]
[TD="align: center"]68[/TD]
[/TR]
[TR]
[TD="align: center"]A[/TD]
[TD="align: center"]74[/TD]
[/TR]
</tbody>[/TABLE]
My data is constantly updated (new rows) and i'd like to be able to average the last 3 scores (SCORE) for each Student (STUDENT) - in the example below Student A would show an average of 91, 71, 74. The issue arises when I add new data, I need this to update on the fly. This is an inherited system and cannot change the layout in anyway.
Edit: This is the formula I've been trying to play with:
=AVERAGEIF(A:A, "A", OFFSET(B2,COUNT(B:B),0,-3,1))
Edit 2: I am keen on learning so if you have time to explain any answers that would be great! As with the above formula I'm trying to follow it logically with the Range, Criteria and Average Range but clearly I'm failing somewhere!
Any help would be much appreciated!
[TABLE="class: grid, width: 100"]
<tbody>[TR]
[TD="align: center"]STUDENT[/TD]
[TD="align: center"]SCORE[/TD]
[/TR]
[TR]
[TD="align: center"]A[/TD]
[TD="align: center"]100[/TD]
[/TR]
[TR]
[TD="align: center"]A[/TD]
[TD="align: center"]91[/TD]
[/TR]
[TR]
[TD="align: center"]B[/TD]
[TD="align: center"]55[/TD]
[/TR]
[TR]
[TD="align: center"]D[/TD]
[TD="align: center"]62[/TD]
[/TR]
[TR]
[TD="align: center"]A[/TD]
[TD="align: center"]71[/TD]
[/TR]
[TR]
[TD="align: center"]C[/TD]
[TD="align: center"]68[/TD]
[/TR]
[TR]
[TD="align: center"]A[/TD]
[TD="align: center"]74[/TD]
[/TR]
</tbody>[/TABLE]
Last edited: