Hi, to all!
Another option without Volatile function:
=SUMPRODUCT(--(Data!$A$2:$A$64=$C2),--(Data!$B$2:$B$64=$A$2),MMULT(--(Data!$C$2:$E$64=D$1),ROW(A$1:INDEX($A:$A,3))^0))
Or, without zeros:
=IFERROR(1/(1/SUMPRODUCT(--(Data!$A$2:$A$64=$C2),--(Data!$B$2:$B$64=$A$2),MMULT(--(Data!$C$2:$E$64=D$1),ROW(A$1:INDEX($A:$A,3))^0))),"")
P.D: Change blue part to your number of columns.
If you want full dynamic formula, try:
=IFERROR(1/(1/SUMPRODUCT(--(Data!$A$2:$A$64=$C2),--(Data!$B$2:$B$64=$A$2),MMULT(--(Data!$C$2:$E$64=D$1),ROW(A$1:INDEX($A:$A,COUNTA($D$1:$F$1)))^0))),"")
P.D.2: Adjust range D1:F1 to your titles.
Blessings!