excel中合并两列内容如何使得相同项替换不同项保留?

2024-12-04 00:11:27
推荐回答(2个)
回答1:

A3=B1 下拉
C1=IF(ROW()<=ROUND(SUM(1/COUNTIF($A$1:$A$6,$A$1:$A$6)),0),INDEX($A$1:$A$6,SMALL(IF(MATCH($A$1:$A$6,$A$1:$A$6,0)=ROW($A$1:$A$6),ROW($A$1:$A$6)),ROW())),"")
同时按CTRL+SHIFT+回车键 ,公式下拉

回答2:

C1起输入公式并下拉:
=SMALL($A$1:$B$100,ROW(A1))