[英]Excel Conditional Formatting: Highlight cells if not equal
I ran into a problem, where i want to highlight certain cells based on the input from another cell. 我遇到一个问题,我想根据另一个单元格的输入来突出显示某些单元格。 Here is my quick example of what I would like to achive:
这是我想要达到的目标的快速示例:
Highlight A1:A2
IF B1
does NOT
contain the word " Reactor
" 选中
A1:A2
IF B1
确实NOT
包含“ Reactor
”
This is what is used and it did not work: 这是所使用的,但不起作用:
=IF(B1<>(search("Reactor",B1),"",""))
Any ideas how to overcome this little problem?Thank you! 有什么办法可以解决这个小问题吗?谢谢!
If you want more than one cell (A1:A2) to be triggered by a single cell (B1) you should anchor B1 (here B$1). 如果您希望一个单元格(B1)触发多个单元格(A1:A2),则应锚定B1(此处为B $ 1)。
Since if SEARCH fails it will respond with an error, you should be able to apply: 由于如果SEARCH失败,它将返回一个错误,因此您应该可以申请:
=ISERROR(SEARCH("Reactor",B$1))
having selected A1:A2 first (or making that your Applies to range). 首先选择A1:A2(或使您适用于范围)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.