Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Conditional Formatting and Changing Cell Colours

I have three basic (for programmers) conditional formatting problems
to solve in Excel for which I require some help. These are the last 3
conditions I need to complete for the worksheet so any help will be
really appreciated. They are as follows:

1.
If cell Y2 is 0 and cell Z2 = 0 I need to change the colour of cell
Z2

2.
If cell Y2 or cell AA2 0 and cells V2, W2, or X2 = the value "Z" I
need to change the colour of the cell containing "Z" (V2, W2 or X2).
If changing the colour of only the single cell containing "Z" cannot
be done, I guess changing the colour of the whole row would be okay.

3.
If cell Y2 or cell AA2 0 and cell R2 < 100 I need to change the
colour of the row

Thanks to the google group community in advance!

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Conditional Formatting and Changing Cell Colours

go to the name box on the left of the formula bar and enter

2:5642
hit enter

This should select rows 2:5642 with cell A2 as the activecell

Do Format=Conditional Format

Change the first dropdown from Cell Value Is to Fromula is.

Put in this formula

=AND(OR($Y20,$AA20),$Z2=0,IsNumber($Z2),or(isnum ber($Y2),isnumber($AA2)))

select your format and OK out.

answered your original question (now situation 3).


Condition 2:
select V2:X5642 with V2 the activeCell

=And($Y20,isnumber($Y2),V2="Z")


Condition 3:
Select Z2:Z5642, Z2 the activecell

=And($Y20,Isnumber($Y2),IsNumber($Z2),$Z2=0)

--
Regards,
Tom Ogilvy

wrote in message
oups.com...
I have three basic (for programmers) conditional formatting problems
to solve in Excel for which I require some help. These are the last 3
conditions I need to complete for the worksheet so any help will be
really appreciated. They are as follows:

1.
If cell Y2 is 0 and cell Z2 = 0 I need to change the colour of cell
Z2

2.
If cell Y2 or cell AA2 0 and cells V2, W2, or X2 = the value "Z" I
need to change the colour of the cell containing "Z" (V2, W2 or X2).
If changing the colour of only the single cell containing "Z" cannot
be done, I guess changing the colour of the whole row would be okay.

3.
If cell Y2 or cell AA2 0 and cell R2 < 100 I need to change the
colour of the row

Thanks to the google group community in advance!



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
Conditional Formatting / Cell Fill Colours Coxy19 New Users to Excel 2 November 17th 08 07:57 PM
how do i get more than 3 colours in conditional formatting Nicole Excel Discussion (Misc queries) 7 April 24th 08 03:50 PM
colours missing in conditional formatting. Toobi-Won Kenobi[_2_] Excel Worksheet Functions 4 May 3rd 07 08:36 AM
Conditional Formatting with Colours / Colors [email protected] Excel Worksheet Functions 8 November 18th 06 08:29 PM
Conditional Formatting Counting Colours DMc2004 Excel Programming 3 January 25th 05 01:45 PM


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