Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I want to create a rule that when there is a "yes" answer in a column, that
whole row will remain black in color but when there is a "no" answer in a column, that whole row will turn grey in color. I know it has got to be a "If Then" rule but I don't know how to write it. Does anyone have any tips/guidance on what the rule would look like? Thanks! |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
You can use conditional formatting. Select the row then Format|Conditional format - Formula is - and enter the formula =$A1="Yes" Pick a colour click Add and repeat the above but this time use the formula =$A1="No" and pick a different colour Mike "Honorbar" wrote: I want to create a rule that when there is a "yes" answer in a column, that whole row will remain black in color but when there is a "no" answer in a column, that whole row will turn grey in color. I know it has got to be a "If Then" rule but I don't know how to write it. Does anyone have any tips/guidance on what the rule would look like? Thanks! |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Conditional Formatting
Select the rows you want colored. FormatCFCondition1Formula is: =$A1="yes" format to black. Condition2Formula is: =$A1="no" format to gray Assumes column A is where yes or no will appear. Adjust to suit. Gord Dibben MS Excel MVP On Mon, 26 Jan 2009 07:00:01 -0800, Honorbar wrote: I want to create a rule that when there is a "yes" answer in a column, that whole row will remain black in color but when there is a "no" answer in a column, that whole row will turn grey in color. I know it has got to be a "If Then" rule but I don't know how to write it. Does anyone have any tips/guidance on what the rule would look like? Thanks! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Validation Rule | New Users to Excel | |||
Create a rule | Excel Worksheet Functions | |||
7 Function rule | Excel Worksheet Functions | |||
Validation rule | Excel Discussion (Misc queries) | |||
validation rule | Excel Worksheet Functions |