ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   calculating number of weeks between two set dates (https://www.excelbanter.com/excel-worksheet-functions/155179-calculating-number-weeks-between-two-set-dates.html)

answer786

calculating number of weeks between two set dates
 
hi

i have excel 2000 on my laptop

what i want to know is it possible to get excel to calculate the number of
weeks between two dates in two different cell eg: 01/02/2007 in a1 and
28/02/2007 in a2 it is four weeks but is it possible for excel 2000 to do
that?

obviously above is an example and the date entered are to be included into
the days and it won't be in one year it will be mainly the number of weeks
over two years ie 03/04/2006 till 08/04/2007


can any one help me or tell me if any of the future version of excel do this
as i will be willing to upgrade and how the formula is written
many thanks to all for helping

Bob Phillips

calculating number of weeks between two set dates
 
If it is just the number of 7 day periods, then use

=INT((A2-A1+6)/7)

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"answer786" wrote in message
...
hi

i have excel 2000 on my laptop

what i want to know is it possible to get excel to calculate the number of
weeks between two dates in two different cell eg: 01/02/2007 in a1 and
28/02/2007 in a2 it is four weeks but is it possible for excel 2000 to do
that?

obviously above is an example and the date entered are to be included into
the days and it won't be in one year it will be mainly the number of weeks
over two years ie 03/04/2006 till 08/04/2007


can any one help me or tell me if any of the future version of excel do
this
as i will be willing to upgrade and how the formula is written
many thanks to all for helping




Niek Otten

calculating number of weeks between two set dates
 
=INT((A2-A1+1)/7)

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"answer786" wrote in message ...
| hi
|
| i have excel 2000 on my laptop
|
| what i want to know is it possible to get excel to calculate the number of
| weeks between two dates in two different cell eg: 01/02/2007 in a1 and
| 28/02/2007 in a2 it is four weeks but is it possible for excel 2000 to do
| that?
|
| obviously above is an example and the date entered are to be included into
| the days and it won't be in one year it will be mainly the number of weeks
| over two years ie 03/04/2006 till 08/04/2007
|
|
| can any one help me or tell me if any of the future version of excel do this
| as i will be willing to upgrade and how the formula is written
| many thanks to all for helping




All times are GMT +1. The time now is 02:50 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com