Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Data Validation - Cell Colour

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
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,358
Default Data Validation - Cell Colour

Check into Conditional Formatting:
If you are only basing it on the current cell value
Leave condition 1 drop down as Cell Value is, change the second drop down
to: equal to. And type ="YES" in the final box. Then click on format to
change your format. Click add to add a second condition for NO.

--
** John C **
Please remember if your question is answered, to mark it answered :). It
helps everyone.


"ray963" wrote:

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

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Data Validation - Cell Colour

Use Conditional Formatting. Format - conditioanl Formatting...

You will need 2 conditions. One where the cell value is Yes and a second one
where the cell value is No.
--
HTH...

Jim Thomlinson


"ray963" wrote:

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

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default 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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Validation Data using Validation Table cell range..... Dermot Excel Discussion (Misc queries) 16 January 5th 10 09:35 PM
Formatting Data in cell in colour [email protected] Excel Discussion (Misc queries) 3 January 28th 08 03:28 PM
can the fill colour of a bar be tied to the data font colour data PaulC Charts and Charting in Excel 0 June 23rd 06 01:21 AM
How do I choose a cell colour, without it being tied to the data? Matt-e-gee Excel Discussion (Misc queries) 3 November 18th 05 08:22 PM
How to enter a colour in a cell & not data ? Mark Excel Discussion (Misc queries) 0 July 22nd 05 12:15 PM


All times are GMT +1. The time now is 03:24 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"