L2=IFERROR(INDEX(A:A,MOD(LARGE(SUBSTITUTE($C$2:$C$101,"G",)/1%%-$A$2:$A$101/1%%%+ROW($2:$101),ROW(A1)),10^3)),""),三键,右拉2格,再下拉。
O2=IF(L2="","",IF(COUNTIFS(L$2:L2,L2,N$2:N2,N2)=1,COUNTIFS(L:L,L2,N:N,N2),"")),下拉。
P2=IF(L2="","",IF(COUNTIF(L$2:L2,L2)=1,COUNTIF(L:L,L2),"")),下拉。
同理:
Q2=IFERROR(INDEX(F:F,MOD(LARGE(SUBSTITUTE($H$2:$H$101,"G",)/1%%-$F$2:$F$101/1%%%+ROW($2:$101),ROW(A1)),10^3)),""),三键,右拉2格,再下拉。
T2=IF(Q2="","",IF(COUNTIFS(Q$2:Q2,Q2,S$2:S2,S2)=1,COUNTIFS(Q:Q,Q2,S:S,S2),""))
U2=IF(Q2="","",IF(COUNTIF(Q$2:Q2,Q2)=1,COUNTIF(Q:Q,Q2),""))
|