You could try using SUMIF to determine the total value for an individual and COUNTIF to determine the number of occurrences of that individual's name and divide the latter into the former for the average.

Regards