Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 61
Default Working with Dates

How do I calculate the number of business days between two dates? For
example: between 12/01/2006 and 12/27/2006 I need a formula that calculates
how many business days (Monday thru Friday) there are.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default Working with Dates

See Help for NETWORKDAYS
happy new year
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Byron720" wrote in message
...
How do I calculate the number of business days between two dates? For
example: between 12/01/2006 and 12/27/2006 I need a formula that
calculates
how many business days (Monday thru Friday) there are.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 61
Default Working with Dates

Thanks. It worked. Is there a way to do the same but with hours this time?
For example: a project started at 4:00 PM and ended next day at 10:00 AM
(business hours are from 8 to 5)

"Bernard Liengme" wrote:

See Help for NETWORKDAYS
happy new year
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Byron720" wrote in message
...
How do I calculate the number of business days between two dates? For
example: between 12/01/2006 and 12/27/2006 I need a formula that
calculates
how many business days (Monday thru Friday) there are.




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 174
Default Working with Dates

If you want the result in hours (for your example the result would be 3:00)
try this

=(NETWORKDAYS(A1,B1)-1)*("17:00"-"08:00")+MOD(B1,1)-MOD(A1,1)

format result cell as [h]:mm

where A1 contains your start time/date and B1 end time/date

Note: both A1 and B1 should be within business hours

"Byron720" wrote:

Thanks. It worked. Is there a way to do the same but with hours this time?
For example: a project started at 4:00 PM and ended next day at 10:00 AM
(business hours are from 8 to 5)

"Bernard Liengme" wrote:

See Help for NETWORKDAYS
happy new year
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Byron720" wrote in message
...
How do I calculate the number of business days between two dates? For
example: between 12/01/2006 and 12/27/2006 I need a formula that
calculates
how many business days (Monday thru Friday) there are.




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
Format text 'dates' to real dates Jacy Excel Worksheet Functions 4 July 24th 06 02:10 AM
need to convert list of dates to count no. of dates by week neowok Excel Worksheet Functions 13 January 30th 06 03:54 PM
VLOOKUP & Dates: Why is this Formula working? Ali Excel Worksheet Functions 1 January 18th 06 01:37 PM
Is there a way to calculate business working days between dates i. hjyoungii Excel Worksheet Functions 2 February 23rd 05 04:25 PM
Formating Dates for production schedule dpl7579 Excel Discussion (Misc queries) 1 January 11th 05 08:43 PM


All times are GMT +1. The time now is 08:38 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"