#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15
Default Formula

Cant get my head around this, if a task hasn't been ticked for two weeks and
over for the corresponding weeks, I want the Task to flash up in red. So in
the exmple below Task2 would flash up red. It would go off red as soon as
the 1 is placed in a new week, so for task2 if 25 Dec was ticked then the
red would disappear.

December January
4 11 18 25 1 8 15 22 29
Task1 1 1 1 1
Task2 1
Task3 1 1 1
Task4 1 1 1 1


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 347
Default Formula

Hi,

assuming your month day is actually dates formatted as "dd" and not just a
number then select your tasks cells and try this in conditional formatting:

=SUMPRODUCT(($A$3:$A$6=A3)*($B$2:$J2<=TODAY())*($B $2:$J$2=TODAY()-14),$B$3:$J$6)=0


where A3:A6 are your tasks from 1 to 4, B2:J2 are your month days formatted
as "dd" and B3:J6 are your "ticks" as you put it.

HTH
Jean-Guy


"Dave" wrote:

Cant get my head around this, if a task hasn't been ticked for two weeks and
over for the corresponding weeks, I want the Task to flash up in red. So in
the exmple below Task2 would flash up red. It would go off red as soon as
the 1 is placed in a new week, so for task2 if 25 Dec was ticked then the
red would disappear.

December January
4 11 18 25 1 8 15 22 29
Task1 1 1 1 1
Task2 1
Task3 1 1 1
Task4 1 1 1 1



  #3   Report Post  
Posted to microsoft.public.excel.misc
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default Formula

First, I would use actual dates for the first row, such as 12/4/06, 12/11/06,
etc, so that the table looks like:

A B C
1 12/4/2006 12/11/2006
2 Task1 1 1


Assume this table is in A1:J5
Then, I would select Task1 through Task4, click Format/Conditional
Formatting, Formula Is, and enter
=TODAY()-LOOKUP(1,2:2,$1:$1)=14

Then click Format and select Font/Red. Click OK, OK.

Of course, 2:2 and $1:$1 can be restricted if your table is a fixed size (or
if you have other data to the right of your table). So, this particular
example would be
=TODAY()-LOOKUP(1,B2:J2,$B$1:$J$1)=14



"Dave" wrote:

Cant get my head around this, if a task hasn't been ticked for two weeks and
over for the corresponding weeks, I want the Task to flash up in red. So in
the exmple below Task2 would flash up red. It would go off red as soon as
the 1 is placed in a new week, so for task2 if 25 Dec was ticked then the
red would disappear.

December January
4 11 18 25 1 8 15 22 29
Task1 1 1 1 1
Task2 1
Task3 1 1 1
Task4 1 1 1 1



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 27
Default Formula

Works a treat, thanks alot JMB.

JMB wrote:

First, I would use actual dates for the first row, such as 12/4/06, 12/11/06,
etc, so that the table looks like:

A B C
1 12/4/2006 12/11/2006
2 Task1 1 1


Assume this table is in A1:J5
Then, I would select Task1 through Task4, click Format/Conditional
Formatting, Formula Is, and enter
=TODAY()-LOOKUP(1,2:2,$1:$1)=14

Then click Format and select Font/Red. Click OK, OK.

Of course, 2:2 and $1:$1 can be restricted if your table is a fixed size (or
if you have other data to the right of your table). So, this particular
example would be
=TODAY()-LOOKUP(1,B2:J2,$B$1:$J$1)=14



"Dave" wrote:

Cant get my head around this, if a task hasn't been ticked for two weeks and
over for the corresponding weeks, I want the Task to flash up in red. So in
the exmple below Task2 would flash up red. It would go off red as soon as
the 1 is placed in a new week, so for task2 if 25 Dec was ticked then the
red would disappear.

December January
4 11 18 25 1 8 15 22 29
Task1 1 1 1 1
Task2 1
Task3 1 1 1
Task4 1 1 1 1




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 27
Default Formula

Works a treat thanks alot JMB.

JMB wrote:

First, I would use actual dates for the first row, such as 12/4/06, 12/11/06,
etc, so that the table looks like:

A B C
1 12/4/2006 12/11/2006
2 Task1 1 1


Assume this table is in A1:J5
Then, I would select Task1 through Task4, click Format/Conditional
Formatting, Formula Is, and enter
=TODAY()-LOOKUP(1,2:2,$1:$1)=14

Then click Format and select Font/Red. Click OK, OK.

Of course, 2:2 and $1:$1 can be restricted if your table is a fixed size (or
if you have other data to the right of your table). So, this particular
example would be
=TODAY()-LOOKUP(1,B2:J2,$B$1:$J$1)=14



"Dave" wrote:

Cant get my head around this, if a task hasn't been ticked for two weeks and
over for the corresponding weeks, I want the Task to flash up in red. So in
the exmple below Task2 would flash up red. It would go off red as soon as
the 1 is placed in a new week, so for task2 if 25 Dec was ticked then the
red would disappear.

December January
4 11 18 25 1 8 15 22 29
Task1 1 1 1 1
Task2 1
Task3 1 1 1
Task4 1 1 1 1






  #6   Report Post  
Posted to microsoft.public.excel.misc
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default Formula

You're welcome.

"Dave" wrote:

Works a treat, thanks alot JMB.

JMB wrote:

First, I would use actual dates for the first row, such as 12/4/06, 12/11/06,
etc, so that the table looks like:

A B C
1 12/4/2006 12/11/2006
2 Task1 1 1


Assume this table is in A1:J5
Then, I would select Task1 through Task4, click Format/Conditional
Formatting, Formula Is, and enter
=TODAY()-LOOKUP(1,2:2,$1:$1)=14

Then click Format and select Font/Red. Click OK, OK.

Of course, 2:2 and $1:$1 can be restricted if your table is a fixed size (or
if you have other data to the right of your table). So, this particular
example would be
=TODAY()-LOOKUP(1,B2:J2,$B$1:$J$1)=14



"Dave" wrote:

Cant get my head around this, if a task hasn't been ticked for two weeks and
over for the corresponding weeks, I want the Task to flash up in red. So in
the exmple below Task2 would flash up red. It would go off red as soon as
the 1 is placed in a new week, so for task2 if 25 Dec was ticked then the
red would disappear.

December January
4 11 18 25 1 8 15 22 29
Task1 1 1 1 1
Task2 1
Task3 1 1 1
Task4 1 1 1 1





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
Reusing formula Tony29 Excel Discussion (Misc queries) 7 September 7th 06 03:34 AM
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM


All times are GMT +1. The time now is 10:30 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"