ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   cell color from drop down list (https://www.excelbanter.com/excel-discussion-misc-queries/208495-cell-color-drop-down-list.html)

doss04

cell color from drop down list
 
I would like to have a cell change color according to the word used in the
drop down list. (ie) drop down list has CLEAR (which would be green), CAUTION
(which would be yellow), and DANGER (which would be red). Anyone have any
ideas?

Max

cell color from drop down list
 
Assuming the droplists are in A1 down,
and you want to conditionally format col B

Select col B (B1 active), then apply the CF using Formula Is:
Condition1: =A1="Clear"
Format Green
Condition2: =A1="Caution"
Format Yellow
Condition3: =A1="Danger"
Format Red
Click to OK out

And if you want the CF to apply to col A,
just select col A, then apply exactly as above (no change)
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:20,000 Files:362 Subscribers:62
xdemechanik
---
"doss04" wrote:
I would like to have a cell change color according to the word used in the
drop down list. (ie) drop down list has CLEAR (which would be green), CAUTION
(which would be yellow), and DANGER (which would be red). Anyone have any
ideas?


Joerg Mochikun

cell color from drop down list
 
First use Data = Validation to create the dropdown list. Then use Format =
Conditional Formatting to set the colors for each entry.

Joerg

"doss04" wrote in message
...
I would like to have a cell change color according to the word used in the
drop down list. (ie) drop down list has CLEAR (which would be green),
CAUTION
(which would be yellow), and DANGER (which would be red). Anyone have any
ideas?





All times are GMT +1. The time now is 05:07 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com