First of all I'd have a look in the excel help files under 'How excel stores
dates and times'. Excel attriubutes a single integer to each date (on my
settings numer 1 corresponds to January 1 1900, no. 2 - Jan 2 1900 etc.24.01.04
corresponds to 38010.
With this in mind most of your problems are a bit easier.
1.)
A B C
1 24/01/04 14 (=A1+B1)
You would have to change from weeks to days - just multiply by 7. If you store
the results in a cell (like C1 above) you then change the number format in it.
Format...Cells...Number....Date. This ensures a date is returned - otherwise
the cell would probably say 38024.
2.) Same thing but cell B1 would be 13.
3.) Just treat them as if the two dates were numbers. A1 = 22.04.04, B1 =
24.01.04. C1 = A1-B1. This returns a date in C1. Just do
format...cells...number tab.....and select number in the list box on the left
hand side.
4.) Do as above then divide the answer by 7. You may want total complete weeks.
In which case use the ROUNDDOWN function.
= ROUNDDOWN((22.04.04-30.11.04)/7,0)
Again, make sure the cell format is set to number. The second argument of this
function (0) signifies the number of decimal places you want your answer
rounding down to. So for whole weeks you wouldnt want any decimal places.
If you wanted to count weeks begun but not complete then use ROUNDUP instead.
Hope this helps
Jonathan B