使用函数返回列中重复的数
求助:使用函数在C列中返回A列中重复的数?=IFERROR(INDEX(A:A,AGGREGATE(15,2,ROW($2:$25)/(COUNTIF($A$2:$A$25,$A$2:$A$25)>1),ROW(A1))),"")
下拉,2013以上支持 重复值全显示
=IFERROR(LARGE(IF(COUNTIF(A:A,A$2:A$36)>1,A$2:A$36),ROW(A1)),"")
重复值仅显示一次
=IFERROR(MODE(IF(COUNTIF(C$1:C1,A$2:A$25),"!",A$2:A$25)),"")
以上均为数组公式,CTRL+SHIFT+ENTER结束 =FILTER(A2:A25,COUNTIF(A:A,A2:A25)-1) 全显示
=IFERROR(LARGE(IF(COUNTIF($A$2:$A$25,$A$2:$A$25)>1,$A$2:$A$25),ROW(1:1)),"")
显示一次
=IFERROR(INDEX($A$2:$A$25,MATCH(,COUNTIF($C$1:C1,$A$2:$A$25)/(COUNTIF($A$2:$A$25,$A$2:$A$25)>1),)),"") =FILTER(A2:A25,COUNTIFS(A2:A25,A2:A25)>1) FILTERXML也可以
=FILTERXML("<a>"&CONCAT("<b>"&LARGE(A$2:A$25,ROW($1:$24))&"</b>")&"</a>","a/b["&ROW(A1)&"]")
页:
[1]