简体   繁体   English

条件格式到范围

[英]Conditional Formatting to range

小时分析

I am trying to do conditional formatting on certain job levels if they reached their target range.如果他们达到目标范围,我正在尝试对某些工作级别进行条件格式化。 How would I go about doing this.我将如何执行此操作 go。 For example, if a PM on the left's ratio is higher than 60%, then I want them to turn green, if not, turn red.例如,如果左边的一个 PM 的比例高于 60%,那么我希望他们变成绿色,如果不是,则变成红色。

在此处输入图像描述

USe a CF rule based on formula:使用基于公式的 CF 规则:

=AND(B1>0.6,A1="PM")

You can use VLOOKUP to find target.您可以使用VLOOKUP查找目标。 Formulas for formatting: For green:格式化公式: 对于绿色:

=VLOOKUP(B4,$I$4:$K$6,3,FALSE)<=F4

For red:对于红色:

=VLOOKUP(B4,$I$4:$K$6,3,FALSE)>F4

(change ranges according to yours). (根据您的更改范围)。

Result:结果: 在此处输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM