Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
conditional formatting group of cells
Hello Excel users.
I have a column that is filled with either blanks, "Y", or "N" in each cell. It is easy enough to format each of those cells to be grey/gray when a "Y" is in the cell. My question is this: is there a way (besides using a macro) to have the row that the "Y" is in to be grey as well as the cell containing the "Y"? In other words, is there a way to highlight the whole row--or a range of cells on that row--that contains the "Y" by using conditional formatting (there is other information in the adjacent columns that is not to be changed) instead of using a macro after all the Y's and N's have been input? dantee. |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
conditional formatting group of cells
One way:
Say the column is H:H. Then select your cells with, say, a cell in row 1 active, and use CF1: Formula is =$H1="Y" Format1: <pattern/<grey/gray In article , dantee wrote: Hello Excel users. I have a column that is filled with either blanks, "Y", or "N" in each cell. It is easy enough to format each of those cells to be grey/gray when a "Y" is in the cell. My question is this: is there a way (besides using a macro) to have the row that the "Y" is in to be grey as well as the cell containing the "Y"? In other words, is there a way to highlight the whole row--or a range of cells on that row--that contains the "Y" by using conditional formatting (there is other information in the adjacent columns that is not to be changed) instead of using a macro after all the Y's and N's have been input? dantee. |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
conditional formatting group of cells
Yes. In the conditional formatting use "Formula is", rather than "cell
value is". If your Y is in column D, and you have row 2 selected as the active row, use "Formula is" =$D2="Y" Note the absolute addressing for the column and relative addressing for the row. -- David Biddulph "dantee" wrote in message ... Hello Excel users. I have a column that is filled with either blanks, "Y", or "N" in each cell. It is easy enough to format each of those cells to be grey/gray when a "Y" is in the cell. My question is this: is there a way (besides using a macro) to have the row that the "Y" is in to be grey as well as the cell containing the "Y"? In other words, is there a way to highlight the whole row--or a range of cells on that row--that contains the "Y" by using conditional formatting (there is other information in the adjacent columns that is not to be changed) instead of using a macro after all the Y's and N's have been input? dantee. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to apply conditional formatting on group of cells by using dat | Excel Discussion (Misc queries) | |||
conditional formatting 2 cells | Excel Worksheet Functions | |||
Formatting a group of cells for text | Excel Discussion (Misc queries) | |||
Conditional Formatting with two cells | Excel Worksheet Functions | |||
Conditional Formatting Multiple cells based on 2 cells | Excel Worksheet Functions |