ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Subtracting dates into weeks... (https://www.excelbanter.com/excel-discussion-misc-queries/90830-subtracting-dates-into-weeks.html)

Lucy

Subtracting dates into weeks...
 
I need to subtract dates to give me how many weeks are in between to
specified dates?

e.g. 1/15/02 thru 7/21/05

Help?

Harald Staff

Subtracting dates into weeks...
 
Subtract the dates and divide by 7. Adjust to your idea of "weeks between
dates".

HTH. Best wishes Harald

"Lucy" skrev i melding
...
I need to subtract dates to give me how many weeks are in between to
specified dates?

e.g. 1/15/02 thru 7/21/05

Help?




SteveG

Subtracting dates into weeks...
 

Lucy,

Start date in A1 and end date in B1

=(B1-A1)/7

HTH

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=545999


Toppers

Subtracting dates into weeks...
 
=int(EndDate-StartDate)/7)

in your example the results is 183 weeks

HTH

"Lucy" wrote:

I need to subtract dates to give me how many weeks are in between to
specified dates?

e.g. 1/15/02 thru 7/21/05

Help?



All times are GMT +1. The time now is 12:38 PM.

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