Conditional formatting Formula using AND

A

Anton

I have two columns in a worksheet, one with date (Column J) and another with
status (Column K). I would like assistance with a formula that will enable
me to colour the cell in column J red if the date is more than 7 days ago and
Column K does not have the word "Complete" or "Quoted"

I have tried to use the following formaula which is not working correctly,
can somebody please assist?

=AND(K2<>OR(K2="Complete",K2="Quoted"),J2<=TODAY()-7)

Thank you in advance.
 
A

Anton

Thanks this works great for the date part but almost the oposite to what I
want for the other, I would like to colour the date in Column J red when
Column K DOES NOT have the word "Complete" or "Quoted"

Thanks in advance
 
S

Sheeloo

Sorry, I misunderstood.

Put a NOT around the OR like this;

=AND(NOT(OR(K2="Complete",K2="Quoted")),J2<(TODAY()-6))
 
A

Anton

Thanks Heaps! This works great!

Sheeloo said:
Sorry, I misunderstood.

Put a NOT around the OR like this;

=AND(NOT(OR(K2="Complete",K2="Quoted")),J2<(TODAY()-6))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top