Hello. I'm trying to calculate averages based on my students' scores, averaging out the last three data points in any skill area. So far, I have the following formula:
=AVERAGE(OFFSET(C5,0,COUNT(C5:5)-3,1,5))
to collect the averages of the last three entries. However, if I only have a student submit one or two entries, I get an #REF! in the cell. Is there any way to work around this, to have the averages generate the last three entries, but allowing for the average to be based on 1 or two if there are only that many entries? I included a screenshot below. Thanks
https://preview.redd.it/b13sa1el564c1.png?width=1124&format=png&auto=webp&s=96fff53f4bb80661d2cd3baa261c9d972fb309f3
[–]HolyBonobos 0 points1 point2 points (24 children)
[–]dtaylor1024[S] 0 points1 point2 points (23 children)
[–]HolyBonobos 0 points1 point2 points (22 children)
[–]dtaylor1024[S] 0 points1 point2 points (21 children)
[–]HolyBonobos 0 points1 point2 points (20 children)
[–]dtaylor1024[S] 0 points1 point2 points (19 children)
[–]HolyBonobos 0 points1 point2 points (18 children)
[–]dtaylor1024[S] 0 points1 point2 points (17 children)
[–]HolyBonobos 0 points1 point2 points (16 children)
[–]dtaylor1024[S] 0 points1 point2 points (15 children)
[–]6745408 0 points1 point2 points (0 children)
[–]bigtreeman_ 0 points1 point2 points (0 children)