79339707

Date: 2025-01-08 15:20:51
Score: 0.5
Natty:
Report link

Alternative solution using SUMPRODUCT

I played with an existing answer and found a much compact alternative using SUMPRODUCT.

Formula

=SUMPRODUCT((A$2:A$4)*(B$2:D$4=A7))/COUNTIF(B$2:D$4, A7)

Output

Name Count Average
Anna 2 3.5
Kylie 1 3
Lois 1 4
Michelle 2 4.5

References: SUMPRODUCT

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: 4thAnd1