Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How to conditionally format entire row from contents of one cell?

I'm trying to format a whole row based on the contents of one cell.

Like this...

If D6 or D7, 9, 12, 30, etc. are filled with the letter "R", then I want
that whole row (i.e. 6, 7, 9, 12, 30) to be shaded red.

How can I do this using conditional formatting. I can get the particular
cell to shade red, but not the whole row...based on that one cell.

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,118
Default How to conditionally format entire row from contents of one cell?

Try this:

Select the rows to be impacted, choosing Row_7 last.
(do that by holding down the [ctrl] key while you select the row number at
the left of the window)

From the Excel main menu:
<format<conditional formatting
Formula is: =($D7="R")
Click the [format...] button and select the format to be used.
Click the [OK] buttons when done.

Note_1: If the current row is NOT Row_7, adjust the formula to reference the
current row number.
Note_2: the dollar sign ($) locks that part of the reference, so every cell
in that row will test Col_D.
Note_3: that CF formula is NOT case sensitive. If you need a case sensitive
method, use: =EXACT($D7,"R")


Does that help?
***********
Regards,
Ron

XL2002, WinXP


"MaryatSHO" wrote:

I'm trying to format a whole row based on the contents of one cell.

Like this...

If D6 or D7, 9, 12, 30, etc. are filled with the letter "R", then I want
that whole row (i.e. 6, 7, 9, 12, 30) to be shaded red.

How can I do this using conditional formatting. I can get the particular
cell to shade red, but not the whole row...based on that one cell.

Thanks!

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
Edit macro to match entire cell contents nis75p06 Excel Discussion (Misc queries) 1 September 3rd 05 04:27 PM
Printing Entire Contents of Cell waterdawg Excel Discussion (Misc queries) 1 August 31st 05 09:03 PM
Can I format an entire row based on the value of a single cell? LTShelley Excel Discussion (Misc queries) 1 August 11th 05 07:37 PM
Copy cell format to cell on another worksht and update automatical kevinm Excel Worksheet Functions 21 May 19th 05 11:07 AM
Function syntax to compare cell contents ES Excel Worksheet Functions 2 May 18th 05 03:53 PM


All times are GMT +1. The time now is 09:59 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"