简体   繁体   中英

Conditional Formatting in Excel Based on Drop Down Value

Need solution: (Unable to find in group based on below example)

Format cell color based on drop down.

Example

If A1 Drop down value 'Shirt' then color A2, A5 and A6 as yellow.

If A1 Drop down value 'Tie' then color A3, A7 and A9 as green.

User has to fill the highlighted columns if they select the value as Shirt or Tie.

Two rules with formula:

  • First:

    • Applies To: =$A$2,$A$5:$A$6

    • Formula: =$A$1="Shirt"

  • Second:

    • Applies To: =$A$3,$A$7,$A$9

    • Formula: =$A$1="Tie"

在此处输入图像描述

在此处输入图像描述

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