Conditional Formatting

  • Thread starter Thread starter Philip
  • Start date Start date
P

Philip

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 are:
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!
 
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="Purple")
5. Click the Format button
6. Choose a color on the Patterns tab (or any available option)
7. Click OK twice.

However,
 
Back
Top