Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 62
Default flagging dates with conditional formatting

I have been struggling with this for quite a while. I am
trying to track overdue dates.
Here's the setup.

ColA contain a date on which I run the check, eg today's
13/10/2004.
ColI contains the date I am trying to track. If the date
in ColI is 2 days less than the date of ColA then it's
needs to be flagged red, e.g. 11/10/2004 or 05/10/2004.
If the date is within the last 2 days (12/10/2004) then it
doesn't need flagged. Sometimes there may be blanks so I
would need to account for this.

Hope this makes sense.
I'm ok with conditional formatting but its the formula
that gets me.
Can someone help. Thanks.
Tony
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default flagging dates with conditional formatting

Hi
try the following:
- select I1:I10
- goto the conditional format dialog
- enter the following formula
=(I1<A1-2)*(I1<"")

"Tony" wrote:

I have been struggling with this for quite a while. I am
trying to track overdue dates.
Here's the setup.

ColA contain a date on which I run the check, eg today's
13/10/2004.
ColI contains the date I am trying to track. If the date
in ColI is 2 days less than the date of ColA then it's
needs to be flagged red, e.g. 11/10/2004 or 05/10/2004.
If the date is within the last 2 days (12/10/2004) then it
doesn't need flagged. Sometimes there may be blanks so I
would need to account for this.

Hope this makes sense.
I'm ok with conditional formatting but its the formula
that gets me.
Can someone help. Thanks.
Tony

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default flagging dates with conditional formatting

I think it should only subtract 1, 11/10 needs to be flagged.


--

HTH

RP

"Frank Kabel" wrote in message
...
Hi
try the following:
- select I1:I10
- goto the conditional format dialog
- enter the following formula
=(I1<A1-2)*(I1<"")

"Tony" wrote:

I have been struggling with this for quite a while. I am
trying to track overdue dates.
Here's the setup.

ColA contain a date on which I run the check, eg today's
13/10/2004.
ColI contains the date I am trying to track. If the date
in ColI is 2 days less than the date of ColA then it's
needs to be flagged red, e.g. 11/10/2004 or 05/10/2004.
If the date is within the last 2 days (12/10/2004) then it
doesn't need flagged. Sometimes there may be blanks so I
would need to account for this.

Hope this makes sense.
I'm ok with conditional formatting but its the formula
that gets me.
Can someone help. Thanks.
Tony



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default flagging dates with conditional formatting

Bob,
agree on that. Tnaks for the correction :-)

"Bob Phillips" wrote:

I think it should only subtract 1, 11/10 needs to be flagged.


--

HTH

RP

"Frank Kabel" wrote in message
...
Hi
try the following:
- select I1:I10
- goto the conditional format dialog
- enter the following formula
=(I1<A1-2)*(I1<"")

"Tony" wrote:

I have been struggling with this for quite a while. I am
trying to track overdue dates.
Here's the setup.

ColA contain a date on which I run the check, eg today's
13/10/2004.
ColI contains the date I am trying to track. If the date
in ColI is 2 days less than the date of ColA then it's
needs to be flagged red, e.g. 11/10/2004 or 05/10/2004.
If the date is within the last 2 days (12/10/2004) then it
doesn't need flagged. Sometimes there may be blanks so I
would need to account for this.

Hope this makes sense.
I'm ok with conditional formatting but its the formula
that gets me.
Can someone help. Thanks.
Tony




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 62
Default flagging dates with conditional formatting

Frank & Bob,

Perfect.
Thanks for both your help

Tony
-----Original Message-----
I think it should only subtract 1, 11/10 needs to be

flagged.


--

HTH

RP

"Frank Kabel" wrote in message
...
Hi
try the following:
- select I1:I10
- goto the conditional format dialog
- enter the following formula
=(I1<A1-2)*(I1<"")

"Tony" wrote:

I have been struggling with this for quite a while.

I am
trying to track overdue dates.
Here's the setup.

ColA contain a date on which I run the check, eg

today's
13/10/2004.
ColI contains the date I am trying to track. If the

date
in ColI is 2 days less than the date of ColA then it's
needs to be flagged red, e.g. 11/10/2004 or

05/10/2004.
If the date is within the last 2 days (12/10/2004)

then it
doesn't need flagged. Sometimes there may be blanks

so I
would need to account for this.

Hope this makes sense.
I'm ok with conditional formatting but its the formula
that gets me.
Can someone help. Thanks.
Tony



.

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
Flagging dates with conditional formatting Cinder the Dog Excel Worksheet Functions 2 May 7th 09 07:48 PM
Conditional Formatting Dates Chas2 Excel Discussion (Misc queries) 5 February 2nd 08 09:26 PM
conditional formatting using dates creynolds Excel Discussion (Misc queries) 1 August 8th 06 12:30 AM
Conditional Formatting & Dates? Nat Excel Discussion (Misc queries) 5 August 10th 05 10:26 AM
macro needed for flagging dates due Dawn[_2_] Excel Programming 2 June 1st 04 03:23 PM


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