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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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
|
|||
|
|||
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 | |
|
|