如何突出显示两列之间的重复?

Kev*_*vin 7 google-sheets

Google工作表没有针对重复单元格的预设条件格式.我需要突出显示A列和B列中包含两者之间匹配/重复的单元格.

pnu*_*uts 16

请清除ColumnsA:B中的格式,选择ColumnA和Format,条件格式...,格式化单元格如果... 自定义公式为和:

=countif(B:B,A1)
Run Code Online (Sandbox Code Playgroud)

然后选择填充选项和Done.

选择ColumnB并重复:

=countif(A:A,B1)
Run Code Online (Sandbox Code Playgroud)