Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default 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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default 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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to apply conditional formatting on group of cells by using dat Jon Excel Discussion (Misc queries) 7 April 9th 07 11:40 AM
conditional formatting 2 cells debjocc Excel Worksheet Functions 6 June 2nd 06 03:21 PM
Formatting a group of cells for text Lee Excel Discussion (Misc queries) 4 February 25th 06 06:37 PM
Conditional Formatting with two cells ballastrae Excel Worksheet Functions 8 February 15th 06 01:17 AM
Conditional Formatting Multiple cells based on 2 cells Louis Markowski Excel Worksheet Functions 2 June 1st 05 05:26 PM


All times are GMT +1. The time now is 01:30 AM.

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

About Us

"It's about Microsoft Excel"