Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default apply conditional formatting

I want to use conditional formatting on other cells than the active one.
A1 thru F1 and H1 needs to turn red if G1 = L and
A! thru F1 and H1 needs to turn blue if G1 = W.

Any help would be appreciated. Thanks in advance.

Colby
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 694
Default apply conditional formatting

Hi,
-Select A1
-Menu Format COnditional Formating:
'Formula Is'
= ($G1="L")
Click Ok
- Now select A1 AND the other cells, ie A1:F1,H1
- menu Format Conditional Formating, The above Cond Format will already be
in place in the dialog (because A1 was also selected). So just Click OK

Remark: you could have done it in 1 shot by selecting A1:F1,H1 the first time.
Remark2: you can also now copy/PasteSpecial Format row 1 into other row to
paste the COnditional FOrmatting.

Regards,
Sebastien

"Colby" wrote:

I want to use conditional formatting on other cells than the active one.
A1 thru F1 and H1 needs to turn red if G1 = L and
A! thru F1 and H1 needs to turn blue if G1 = W.

Any help would be appreciated. Thanks in advance.

Colby

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 691
Default apply conditional formatting

That's a little bit round about, doing the same condition twice,
once for column A then repeating for the other columns.

Select all of the columns that you want to color, you wanted to leave out G
To color all cells in columns A:G, and column H, select those columns, or
To color only the cells in A1:G1, and Cell H1, select only those cells
The cells to be colored are based on your selection.

The formula is based on your active cell which is on row 1 so

Formula1 is: =$G1 = "L" and then format as Red (font or interior)
Formula2 is: =$G1 = "W" and then format as Blue

More on conditional formatting in
http://www.mvps.org/dmcritchie/excel/condfmt.htm
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"sebastienm" wrote in message ...
Hi,
-Select A1
-Menu Format COnditional Formating:
'Formula Is'
= ($G1="L")
Click Ok
- Now select A1 AND the other cells, ie A1:F1,H1
- menu Format Conditional Formating, The above Cond Format will already be
in place in the dialog (because A1 was also selected). So just Click OK

Remark: you could have done it in 1 shot by selecting A1:F1,H1 the first time.
Remark2: you can also now copy/PasteSpecial Format row 1 into other row to
paste the COnditional FOrmatting.

Regards,
Sebastien

"Colby" wrote:

I want to use conditional formatting on other cells than the active one.
A1 thru F1 and H1 needs to turn red if G1 = L and
A! thru F1 and H1 needs to turn blue if G1 = W.

Any help would be appreciated. Thanks in advance.

Colby



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
Apply Conditional Formatting to other rows [email protected] Excel Worksheet Functions 6 April 20th 09 01:06 PM
macro to apply conditional formatting amaries Excel Worksheet Functions 2 December 18th 08 08:18 PM
I need conditional formatting to apply to maximum % Robojohn Excel Worksheet Functions 4 November 2nd 06 07:01 PM
How do I apply conditional formatting? Ken321 Excel Worksheet Functions 1 October 10th 06 02:36 PM
Can I Apply Conditional Formatting to a Chart? Tim Richards Charts and Charting in Excel 3 October 21st 05 01:56 PM


All times are GMT +1. The time now is 02:47 PM.

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"