Data Validation - Cell Colour
Use conditional formatting.
Assume A1 contains the drop down list
Select cell A1
Goto the menu FormatConditional Formatting
Condition 1
Select the Formula Is option
Enter this formula in the box on the right:
=A1="Yes"
Click the Format button
Select the Patterns tab
Select a shade of GREEN
OK
Click the Add button
Condition 2
Select the Formula Is option
Enter this formula in the box on the right:
=A1="No"
Click the Format button
Select the Patterns tab
Select a shade of RED
OK out
--
Biff
Microsoft Excel MVP
"ray963" wrote in message
...
Hi All,
I am creating a "Data Validation" on "Sheet 1".
The Data for the drop down list is on "Sheet 2" e.g. "YES", "NO".
I have created the drop down list which gives me the drop down "YES" &
"NO"
on Sheet 1.
My iquiry is, when I select "YES" on the drop down list it places "YES" in
the cell. I also want the "cell fill colour" to change to "GREEN". Also
when
I select "NO" I want the the "cell fill colour" to change to "RED".
Can anyone help me?
--
ray963
|