#1   Report Post  
Posted to microsoft.public.excel.misc
Caveman
 
Posts: n/a
Default highlighted cells


This is hard to explain but i will try
If i have cells B1:Z1 with the formula
=weekday(B2)inB1, then =B1+1 inC1 etc, B2:Z2 with dates of the month
(1/1/2006 etc) And B3:Z3 with in in in in out out in in in in out
out... etc (a 4days in 2 days out work pattern) and all the out are
highlighted green through conditional format.
When you come to the beginning of the year 2007 the two days out
should be SUN/MON (31st-1st) & then SAT/SUN (6th-7th)
Is there any way of getting the in/out cells to move forward when
you change the year from 2006 to 2007
Hope somebody can understand this or i can forward
a sample of what i am trying to do
THANKS


--
Caveman
------------------------------------------------------------------------
Caveman's Profile: http://www.excelforum.com/member.php...o&userid=27546
View this thread: http://www.excelforum.com/showthread...hreadid=492817

  #2   Report Post  
Posted to microsoft.public.excel.misc
Scott Wagner
 
Posts: n/a
Default highlighted cells

You can set a field in your workbook some where for a date parameter. The
date parameter "TL_Oride" is the date you'd like the series to begin. This
can be a value like 1/1/2006 or a calculated amount like =TODAY()-2

Then, have your first date cell in the series hold this formula.

=IF(TL_Oride="",TODAY()-7,TL_Oride)

The next field in the series would follow the +1 as you noted you are
already using.

"Caveman" wrote:


This is hard to explain but i will try
If i have cells B1:Z1 with the formula
=weekday(B2)inB1, then =B1+1 inC1 etc, B2:Z2 with dates of the month
(1/1/2006 etc) And B3:Z3 with in in in in out out in in in in out
out... etc (a 4days in 2 days out work pattern) and all the out are
highlighted green through conditional format.
When you come to the beginning of the year 2007 the two days out
should be SUN/MON (31st-1st) & then SAT/SUN (6th-7th)
Is there any way of getting the in/out cells to move forward when
you change the year from 2006 to 2007
Hope somebody can understand this or i can forward
a sample of what i am trying to do
THANKS


--
Caveman
------------------------------------------------------------------------
Caveman's Profile: http://www.excelforum.com/member.php...o&userid=27546
View this thread: http://www.excelforum.com/showthread...hreadid=492817


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
How can I protect only the highlighted cells in Excel? John White Excel Discussion (Misc queries) 1 December 7th 05 06:57 PM
How do I count cells that have are highlighted a certain color? NicoleE Excel Worksheet Functions 1 September 2nd 05 09:14 PM
Can I sum only highlighted cells in a worksheet? Mr Harlow Excel Worksheet Functions 2 August 29th 05 11:16 PM
Help adding text values Texas-DC_271 Excel Worksheet Functions 7 January 15th 05 11:14 PM
Convert data type of cells to Text,Number,Date and Time Kevin Excel Worksheet Functions 1 December 31st 04 12:57 PM


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