I want to use the same system that my palm uses, the idea behind the
spreansheet is to contain oncall info for work , I shall mainly be
using my Palm Tunsten C at work, but with access to my home PC aswell
as work PC's. I can simply reach for the Palm to tell colleagues when
their Oncall is.
The Palm's Week 1 for this year is Mon 30 dec 2002 to Sunday 5 Jan
2003.
Bob Phillips method works great for this year. One question about his
method is how do I work out the dates for say week 5 2004...
Thanks for all replies
Well, if Bob's method works (and he posted something to answer your question),
then I guess you are home free.
It sounds like the Palm must label week one as starting on the Monday of the
week that includes Jan 1 (even if that Monday is from the previous year). That
being the case, the 53rd week of one year might be identical to the 1st week of
the subsequent year.
That's OK so long as it works for you.
That being the case, I believe this formual will also work for you:
=DATE(Year,1,1)-WEEKDAY(DATE(Year,1,1),3)+7*(Weeknumber-1)
Where Year is the year of interest, and Weeknumber is the Weeknumber of
interest.
The above formula will give the Monday of the desired week.
To get the rest of the days, merely add 1 for each day.
So, for example, if the above formula is in C3, in C4 enter the formula:
=C3+1
and drag down through C7 to get Mon-Fri; or C9 to get Mon-Sun
If you want the result to be in a single cell as text representing a range,
then something like:
=TEXT(DATE(Year,1,1)-WEEKDAY(DATE(Year,1,1),3)+7*(Weeknumber-1),"ddd dd-mm-yy")
&" to "&
TEXT(DATE(Year,1,1)-WEEKDAY(DATE(Year,1,1),3)+7*(Weeknumber-1)+7,"ddd
dd-mm-yy")
should give that result.
--ron