PC Review


Reply
Thread Tools Rate Thread

How to create a logic statement that changes the formatting of a c

 
 
SaraCambridge
Guest
Posts: n/a
 
      21st Oct 2009
I would like to program an Excel workbook to change the color of a cell or
the color of the font in a cell when the contents of another cell changes.
For example, if I answer NO to a question, then the next question is grayed
out.

Thank you for your help!
 
Reply With Quote
 
 
 
 
Jacob Skaria
Guest
Posts: n/a
 
      21st Oct 2009
Use Conditional Formatting

1. Select the cell say A2. A1 is the cell with YES/NO
2. From menu Format>Conditional Formatting>
3. For Condition1>Select 'Formula Is' and enter the below formula
=A1="NO"
4. Click Format Button>Pattern and select your color (say Grey)
5. Hit OK

If this post helps click Yes
---------------
Jacob Skaria


"SaraCambridge" wrote:

> I would like to program an Excel workbook to change the color of a cell or
> the color of the font in a cell when the contents of another cell changes.
> For example, if I answer NO to a question, then the next question is grayed
> out.
>
> Thank you for your help!

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
logic statement andy Microsoft Excel Misc 2 10th Jun 2009 08:20 AM
If statement logic coyote Microsoft Access VBA Modules 2 7th Nov 2008 01:44 PM
Logic Statement Marc Microsoft Excel Misc 2 22nd May 2008 07:41 PM
Logic Statement abierly Microsoft Excel Worksheet Functions 3 14th Mar 2006 06:13 PM
Logic Statement =?Utf-8?B?VHJhY3kgU2FuZGVycw==?= Microsoft Excel Misc 13 16th Feb 2004 09:34 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:27 AM.