Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
tvh tvh is offline
external usenet poster
 
Posts: 11
Default More Conditional Formatting

I have 5 cells. 2 of the cells are Yes/No (A8:B8). The other 3 contain
dates (W8:Y8). If the two Yes/No cells say 'Yes', then my conditional
formatting formula can stay the way it is, which is
'=COUNTIF($W8:$Y8,"0")=3'. However, if one of the two Yes/No cells says
'No' then I only need two of the three date cells to have a date.

So, if A8="no", then only W8,Y8 need to be "0" for my row to be
highlighted. And, if B8="no", then only W8,X8 need to be "0" for my row to
be highlighted. P.S.-A8 and B8 would never both be "no".

Would I need to add more formatting conditions, or is this just a whole
different type of formula altogether?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,646
Default More Conditional Formatting

Select row 8 and try this CF formula:
=OR(AND($A8="No",$W80,$Y80),AND($B8="No",$W80,$ X80))
Regards,
Stefi

tvh ezt *rta:

I have 5 cells. 2 of the cells are Yes/No (A8:B8). The other 3 contain
dates (W8:Y8). If the two Yes/No cells say 'Yes', then my conditional
formatting formula can stay the way it is, which is
'=COUNTIF($W8:$Y8,"0")=3'. However, if one of the two Yes/No cells says
'No' then I only need two of the three date cells to have a date.

So, if A8="no", then only W8,Y8 need to be "0" for my row to be
highlighted. And, if B8="no", then only W8,X8 need to be "0" for my row to
be highlighted. P.S.-A8 and B8 would never both be "no".

Would I need to add more formatting conditions, or is this just a whole
different type of formula altogether?

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
Formatting cells in a column with conditional formatting? shamor Excel Discussion (Misc queries) 8 May 19th 08 10:11 PM
Protect Cell Formatting including Conditional Formatting Mick Jennings Excel Discussion (Misc queries) 5 November 13th 07 05:32 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 3 January 20th 07 02:02 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 0 January 15th 07 04:35 PM
Conditional Formatting that will display conditional data BrainFart Excel Worksheet Functions 1 September 13th 05 05:45 PM


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