Conditional formatting - Highlight words from a list if present in another list and vica versa

ε祈祈猫儿з 提交于 2019-12-25 02:58:35

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!