简体   繁体   中英

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. 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.

在此处输入图像描述

USe a CF rule based on formula:

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

You can use VLOOKUP to find target. 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: 在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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