excel函数问题

2024-12-29 05:22:45
推荐回答(2个)
回答1:

公式:

=IF(B21=$L21,B$2,"")&IF(C21=$L21,C$2,"")&IF(D21=$L21,D$2,"")&IF(E21=$L21,E$2,"")&IF(F21=$L21,F$2,"")&IF(G21=$L21,G$2,"")&IF(H21=$L21,H$2,"")&IF(I21=$L21,I$2,"")&IF(J21=$L21,J$2,"")&IF(A21=$L21,A$2,"")


效果图:

回答2:

如图,K21公式=IF(MOD(COLUMN(A1),2),IF($A21=L21,0,"")&SUBSTITUTE(SUM(($A21:$J21=L21)*$A$2:$J$2*10^$A$2:$J$2),0,),(COLUMN(A1)-2)/2),公式输完后先按住CTRL+SHIFT不放,再按ENTER结束公式。公式右拉,下拉。这个公式会自动带出L,N列的数字,