Put this array* formula in E2:
Formula:
=IFERROR(INDEX($A$2:$A$12,MATCH(0,COUNTIF($E$1:E1,$A$2:$A$12),0)),"")
then copy down - it will return a list of unique names from column A. Then you can put this formula in F2:
Formula:
=IF(E2="","",AVERAGEIF(A$2:A$12,E2,C$2:C$12))
and copy that down to get the averages.
*An array formula needs to be confirmed using the key combination of Ctrl-Shift-Enter (CSE) instead of the usual <Enter>.
The attached workbook demonstrates the results for you.
Hope this helps.
Pete
Bookmarks