#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 58
Default Week count

Hi,
Can any one tell me how can we calculate the Number of weeks between two
dates.

Also pls tell me separate function which calculates only the working days
(Monday - Friday) and shud return the count of days.

Ex : start date is 20/12/2007 and End date is 26/12/2007.

Answer shud be 5 Days.

Thanks in advance!!!!!!!!!!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,942
Default Week count

hi
if your dates were in a1(20/12/07) and b1(26/12/07) then in c1 put....
=(b1-c1)/7
To calculate workdays...
=networkdays(a1,b1)
the networkdays function comes with the Analysis ToolPak, an addin that came
with your install disk but does not install by default. if you get the #NAME?
error, you will have to install the toolpak. then on the menu bar....
ToolsAddinscheck Analysis ToolPakok.

Regards
FSt1


"Christopher Naveen" wrote:

Hi,
Can any one tell me how can we calculate the Number of weeks between two
dates.

Also pls tell me separate function which calculates only the working days
(Monday - Friday) and shud return the count of days.

Ex : start date is 20/12/2007 and End date is 26/12/2007.

Answer shud be 5 Days.

Thanks in advance!!!!!!!!!!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Week count

Weeks

=INT((B2-B1)/7)

Days

=NETWORKDAYS(B11,B12)

--
HTH

Bob

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

"Christopher Naveen" wrote in
message ...
Hi,
Can any one tell me how can we calculate the Number of weeks between two
dates.

Also pls tell me separate function which calculates only the working days
(Monday - Friday) and shud return the count of days.

Ex : start date is 20/12/2007 and End date is 26/12/2007.

Answer shud be 5 Days.

Thanks in advance!!!!!!!!!!



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
Count Week Of Month Emilio S. Excel Worksheet Functions 4 October 4th 07 04:24 AM
How t count by week whatever is with in the week (two criteria, ma Adnan Excel Discussion (Misc queries) 8 November 13th 06 09:17 AM
Count up each day of the week mmartens12 Excel Worksheet Functions 10 July 28th 06 08:15 AM
reverse week count calculations klillestol Excel Worksheet Functions 1 July 21st 05 11:41 PM
Help with week day count with range Diane1477 Excel Worksheet Functions 6 June 29th 05 09:49 PM


All times are GMT +1. The time now is 06:36 AM.

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"