Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 26
Default Conditional formatting Formula using AND

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.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 364
Default Conditional formatting Formula using AND

Try
=AND(OR(K2="Complete",K2="Quoted"),J2<(TODAY()-6))
"Anton" wrote:

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.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 26
Default Conditional formatting Formula using AND

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

"Sheeloo" wrote:

Try
=AND(OR(K2="Complete",K2="Quoted"),J2<(TODAY()-6))
"Anton" wrote:

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.


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 364
Default Conditional formatting Formula using AND

Sorry, I misunderstood.

Put a NOT around the OR like this;

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

"Anton" wrote:

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

"Sheeloo" wrote:

Try
=AND(OR(K2="Complete",K2="Quoted"),J2<(TODAY()-6))
"Anton" wrote:

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.


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 26
Default Conditional formatting Formula using AND

Thanks Heaps! This works great!

"Sheeloo" wrote:

Sorry, I misunderstood.

Put a NOT around the OR like this;

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

"Anton" wrote:

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

"Sheeloo" wrote:

Try
=AND(OR(K2="Complete",K2="Quoted"),J2<(TODAY()-6))
"Anton" wrote:

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.


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-If Formula GatorGirl Excel Worksheet Functions 4 March 7th 08 10:19 AM
Conditional formatting as a formula tbsolms Excel Worksheet Functions 0 March 8th 07 10:49 PM
Conditional Formatting: Formula is Sue Excel Worksheet Functions 2 March 30th 06 09:21 AM
conditional formatting formula Jack Sons Excel Discussion (Misc queries) 6 April 5th 05 09:50 AM
Conditional Formatting Formula Cachod1 New Users to Excel 1 March 29th 05 01:57 AM


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