Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Ayo Ayo is offline
external usenet poster
 
Posts: 489
Default Weeks between two Dates

Is there a function that calculates the number of weeks between two dates? Or
am I going to have to use (A2-A3)/7.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 143
Default Weeks between two Dates

You could use WEEKNUM:
=WEEKNUM(A2)-WEEKNUM(A3)

It should all work about the same. Your original idea is probaly easier to
understand.
--
Regards,

PJ
Please rate this post using the vote buttons if it was helpful.



"Ayo" wrote:

Is there a function that calculates the number of weeks between two dates? Or
am I going to have to use (A2-A3)/7.

  #3   Report Post  
Posted to microsoft.public.excel.programming
Ayo Ayo is offline
external usenet poster
 
Posts: 489
Default Weeks between two Dates

Thanks PJ.

"PJFry" wrote:

You could use WEEKNUM:
=WEEKNUM(A2)-WEEKNUM(A3)

It should all work about the same. Your original idea is probaly easier to
understand.
--
Regards,

PJ
Please rate this post using the vote buttons if it was helpful.



"Ayo" wrote:

Is there a function that calculates the number of weeks between two dates? Or
am I going to have to use (A2-A3)/7.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Weeks between two Dates

Be careful if those two dates don't fall in the same year.

Ayo wrote:

Thanks PJ.

"PJFry" wrote:

You could use WEEKNUM:
=WEEKNUM(A2)-WEEKNUM(A3)

It should all work about the same. Your original idea is probaly easier to
understand.
--
Regards,

PJ
Please rate this post using the vote buttons if it was helpful.



"Ayo" wrote:

Is there a function that calculates the number of weeks between two dates? Or
am I going to have to use (A2-A3)/7.


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formula for # weeks between 2 dates dmasch Excel Discussion (Misc queries) 3 September 26th 07 06:12 PM
Difference in Weeks between 2 dates Grd Excel Worksheet Functions 2 April 11th 07 03:56 PM
Weeks and dates c991257 Excel Worksheet Functions 1 July 21st 06 04:05 PM
Converting Dates to Weeks Kurt Excel Worksheet Functions 10 July 21st 06 09:23 AM
Weeks between dates BobbiA Excel Worksheet Functions 3 August 10th 05 08:17 PM


All times are GMT +1. The time now is 08:48 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"