ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Combine Conditional Formatting Rules formulae (https://www.excelbanter.com/excel-discussion-misc-queries/129960-combine-conditional-formatting-rules-formulae.html)

Fred

Combine Conditional Formatting Rules formulae
 
I have 2 Conditional Formatting rules that result in ths same format
being applied to a cell, so would like to combine them to free up a
rule, however all my attempts have been unsuccessful.

Rule 1:
=AND(W60,W6<TODAY()-5,W6<TODAY(),D6<"Complete",D6<"Cancelled")
Rule 2: =OR(W6="Unknown",W6="Replanning")

Any suggestions gratefully received

Thanks and regards
Fred


JE McGimpsey

Combine Conditional Formatting Rules formulae
 
One way:

=OR(W6="Unknown", W6="Replanning", AND(W60, W6<TODAY()-5,
W6<TODAY() ,D6<"Complete", D6<"Cancelled"))

In article . com,
"Fred" wrote:

I have 2 Conditional Formatting rules that result in ths same format
being applied to a cell, so would like to combine them to free up a
rule, however all my attempts have been unsuccessful.

Rule 1:
=AND(W60,W6<TODAY()-5,W6<TODAY(),D6<"Complete",D6<"Cancelled")
Rule 2: =OR(W6="Unknown",W6="Replanning")

Any suggestions gratefully received

Thanks and regards
Fred


Fred

Combine Conditional Formatting Rules formulae
 
Doh !

So obvious, because I had Rule 1, I simply attached the Or to it and
got nowhere.

Many thanks.


Tdahlman

Combine Conditional Formatting Rules formulae
 
What about if I just want to combine something like
- If C6 = "1" or "16" or "8" or "9" Then the cell background would be a
specified color?

"JE McGimpsey" wrote:

One way:

=OR(W6="Unknown", W6="Replanning", AND(W60, W6<TODAY()-5,
W6<TODAY() ,D6<"Complete", D6<"Cancelled"))

In article . com,
"Fred" wrote:

I have 2 Conditional Formatting rules that result in ths same format
being applied to a cell, so would like to combine them to free up a
rule, however all my attempts have been unsuccessful.

Rule 1:
=AND(W60,W6<TODAY()-5,W6<TODAY(),D6<"Complete",D6<"Cancelled")
Rule 2: =OR(W6="Unknown",W6="Replanning")

Any suggestions gratefully received

Thanks and regards
Fred




All times are GMT +1. The time now is 08:18 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com