highlighted cells

  • Thread starter Thread starter Caveman
  • Start date Start date
C

Caveman

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

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

Back
Top