问题
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.
e.g. problem:
e.g. desired result:
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.
回答1:
green color:
- apply to range A1:A custom fx:
=FILTER(A1, NOT(COUNTIF(B1:E, A1)))
red color:
- 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.
来源:https://stackoverflow.com/questions/54908540/conditional-formatting-highlight-words-from-a-list-if-present-in-another-list