A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Conditional Formatting



 
 
Thread Tools Display Modes
  #1  
Old June 5th, 2009, 10:10 PM posted to microsoft.public.excel.worksheet.functions
Philip
external usenet poster
 
Posts: 96
Default Conditional Formatting

Hi,

I have a cell (b1) that I am trying to conditionally format. This cell (b1)
is referencing another cell (a1). Cell A1 has 6 potential selections in a
drop down menu.

These selections in cell a1 a
Blue
Blue Grey
Green
Black
Red
Purple

I want to conditionally format cell b1 so that if any selection other than
red or purple is selected in cell a1, then cell b1 gray's out.

I know how to do the formatting to gray the cell out, but unfortunately you
can only have 3 conditional statements in Excel. Is it possible to make 4
conditional statements?

For instance, can I combine the conditional statement for "Blue" and "Blue
Grey" somehow since they begin with the first four same letters?

Thank you for your help!
  #2  
Old June 6th, 2009, 01:08 AM posted to microsoft.public.excel.worksheet.functions
Shane Devenshire[_3_]
external usenet poster
 
Posts: 3,333
Default Conditional Formatting

Hi,

Excel 2003 supports only 3 levels of conditional formatting. If you
purchase 2007 you will be able to do as many as you want. However, as I read
the question that is not really the problem:

1. Select the cells you want to format in this case B1
2. Choose Format, Conditional Formatting
3. Choose Formula is from the first drop down
4. In the second box enter the formula:
=OR($A$1="Green",$A$1="Black",$A$1="Red",$A$1="Pur ple")
5. Click the Format button
6. Choose a color on the Patterns tab (or any available option)
7. Click OK twice.

However,

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Philip" wrote:

Hi,

I have a cell (b1) that I am trying to conditionally format. This cell (b1)
is referencing another cell (a1). Cell A1 has 6 potential selections in a
drop down menu.

These selections in cell a1 a
Blue
Blue Grey
Green
Black
Red
Purple

I want to conditionally format cell b1 so that if any selection other than
red or purple is selected in cell a1, then cell b1 gray's out.

I know how to do the formatting to gray the cell out, but unfortunately you
can only have 3 conditional statements in Excel. Is it possible to make 4
conditional statements?

For instance, can I combine the conditional statement for "Blue" and "Blue
Grey" somehow since they begin with the first four same letters?

Thank you for your help!

 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


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