条件格式-如果列表中的单词出现在另一个列表中,则突出显示单词,反之亦然 [英] Conditional formatting - Highlight words from a list if present in another list and vica versa
问题描述
我在A列中有一个值列表,名为我们的关键字" 以及来自竞争对手的多个列中另一个名为竞争对手关键字"的值列表
I have a list of values in column A named "Our Keywords" and another list of values from multiple columns from competitors named "Competitor keywords"
使用条件格式,如何突出显示在竞争者关键字"列中而不在我们的关键字"列中出现的关键字.反之亦然,这是我们的关键字"列所特有的关键字.
Using conditional formatting, how can I highlight the keywords that appear in "Competitor keyword" columns but not in "Our keywords" column. And vice versa keywords that are unique to the "our keywords" column.
例如问题:
例如预期的结果:
仅在第1列中出现的单词以绿色突出显示,而在竞争对手列中但不在第1列中出现的单词以红色突出显示.
The words that appear in column 1 ONLY are highlighted green and words that appear in the competitor columns but NOT in column 1 are highlighted red.
推荐答案
绿色:
- 应用于范围 A1:A 自定义fx:
=FILTER(A1, NOT(COUNTIF(B1:E, A1)))
- apply to range A1:A custom fx:
=FILTER(A1, NOT(COUNTIF(B1:E, A1)))
- 应用于范围 B1:B 自定义fx:
=FILTER(B1, NOT(COUNTIF(A$1:A, B1)))
- 应用于范围 C1:C 自定义fx:
=FILTER(C1, NOT(COUNTIF(A$1:A, C1)))
- 应用于范围 D1:D 自定义fx:
=FILTER(D1, NOT(COUNTIF(A$1:A, D1)))
- 等
- apply to range B1:B custom fx:
=FILTER(B1, NOT(COUNTIF(A$1:A, B1)))
- apply to range C1:C custom fx:
=FILTER(C1, NOT(COUNTIF(A$1:A, C1)))
- apply to range D1:D custom fx:
=FILTER(D1, NOT(COUNTIF(A$1:A, D1)))
- etc.
green color:
这篇关于条件格式-如果列表中的单词出现在另一个列表中,则突出显示单词,反之亦然的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!