[英]Color cells when other cell value equals specific value
The best way to ask this question is to give an example: 提出此问题的最佳方法是举一个例子:
in cell A1
I have value, if the value is "abrakadabra" I want the cells A2
and A3
being marked in green color. 在单元格A1
我有值,如果值是“ abrakadabra”,则我希望单元格A2
和A3
用绿色标记。
How can I do it using the Conditional Formatting? 如何使用条件格式进行设置?
Thanks 谢谢
=$A$1 = "abrakadabra"
插入公式=$A$1 = "abrakadabra"
A2:A3
) 再次打开条件格式设置窗口并将规则应用于所需的单元格( A2:A3
) Select cells A2 and A3, go to conditional formatting, and as rule type, choose "Use a formula to determine which cells to format". 选择单元格A2和A3,转到条件格式,然后作为规则类型,选择“使用公式确定要格式化的单元格”。 And the formula you can then add $A1="abrakadaba", choose the formatting you want, and click "OK". 然后可以添加公式$ A1 =“ abrakadaba”,选择所需的格式,然后单击“确定”。
[EDIT] Based on comment below, I made the A absolute, but I left the 1 relative, as I assume you want to copy this to other cells below row A. [编辑]根据下面的评论,我将A设为绝对,但我留下了1个亲戚,因为我假设您要将其复制到A行以下的其他单元格中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.