1.同一列 后一行对比前面所有行 查找是否重复
=IF(COUNTIF(B$2:B2,B2)>1,"重复","")
2.两行两列(多行多列)
两行两列
=IF(SUMPRODUCT((B$2:B2=B2)*(C$2:C2=C2))>1,"重复","")
多行多列
=IF(SUMPRODUCT((列$行:列行=列行)*(列$行:列行=列行)*(列$行:列行=列行)*(列$行:列行=列行))>1,"重复","")
1.同一列 后一行对比前面所有行 查找是否重复
=IF(COUNTIF(B$2:B2,B2)>1,"重复","")
2.两行两列(多行多列)
两行两列
=IF(SUMPRODUCT((B$2:B2=B2)*(C$2:C2=C2))>1,"重复","")
多行多列
=IF(SUMPRODUCT((列$行:列行=列行)*(列$行:列行=列行)*(列$行:列行=列行)*(列$行:列行=列行))>1,"重复","")