[英]Excel 2016 Conditional Formatting
Can anybody help with the below : 任何人都可以提供以下帮助:
I want two conditions to be fulfilled in one single cell. 我希望在一个单元格中满足两个条件。 For example 例如
Conditional Cell is A2, what i need is when A2 > A1 the text should turn red and also at the same time if A3 = 100 (or any other cell) the background color of A2 should turn green. 条件单元格是A2,我需要的是当A2> A1时文本应变为红色,并且同时如果A3 = 100(或任何其他单元格),则A2的背景色应变为绿色。 I need these two conditions working simultaneously in A2 cell. 我需要这两个条件在A2单元中同时工作。 I am using Excel 2016. 我正在使用Excel 2016。
Early reply would be highly appreciated. 早日答复将不胜感激。
Font and fill cannot be set with separate rules. 不能使用单独的规则设置字体和填充。 A rule will always set both. 规则将始终同时设置两者。 Therefore, you will need several rules to cover all the possibilities with the options in the two cells 因此,您将需要几个规则来涵盖两个单元格中的选项的所有可能性
Number 4 is no special formatting at all, so you need three rules for the other three cases. 数字4根本没有特殊格式,因此对于其他三种情况,您需要三个规则。 Select A2 and create rules that use formulas 选择A2并创建使用公式的规则
Rule for number 1: =and(A2<=A1,A3=100)
数字1的规则: =and(A2<=A1,A3=100)
Rule for number 2: =and(A2>A1,A3<>100)
第2条规则: =and(A2>A1,A3<>100)
Rule for number 3: =and(A2<=A1,A3<>100)
数字3的规则=and(A2<=A1,A3<>100)
Set the formats accordingly. 相应地设置格式。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.