Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在excel中有两列,A列是数字,B列是各种文本的副本。
如果 B 列重复,我需要一种将 A 列复制到 C 列的方法吗?
如果您只是想指出重复,这是否适用于您的情况(公式进入C2)?
C2
=IF(COUNTIF(B:B,B2)>1,A2,"")
处理副本,假设数据标题位于第 1 行。按 B 列对数据进行排序。
在 C2 中,键入=IF(B2=B1,A1,"") 并向下复制工作表。
=IF(B2=B1,A1,"")
然后,如果有重复,它将出现在 C 列