亲,如下图:
G1粘贴这个公式并下拉若干行:
=SUMPRODUCT(--(MMULT(--($A$2:$N$4=A2:N2),ROW($1:$14)^0)=14))
H1粘贴这个公式并下拉若干行:
=INDIRECT(ADDRESS(1,MOD(ROW(A4),4)+2))
=INDIRECT(ADDRESS(INT(ROW(A4)/4)+1,MOD(ROW(A4),4)+2))