Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 27
Default Workhours Calculation

I need to calculate the number of work hours between a start and end time.
The task may stretch across several days, including weekends and holidays.
Only the work hours should be counted. Work hours are 8 am - 5 pm, Mon - Fri.

How can this be done?

While NETWORKDAYS provides days, I need hours.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Workhours Calculation

Why not just multiply by the hours per workday:-
=NETWORKDAYS(A1,B1,G1:G8)*9

G1 - G8 is my list of holidays

Mike


"Mashuganah" wrote:

I need to calculate the number of work hours between a start and end time.
The task may stretch across several days, including weekends and holidays.
Only the work hours should be counted. Work hours are 8 am - 5 pm, Mon - Fri.

How can this be done?

While NETWORKDAYS provides days, I need hours.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default Workhours Calculation

http://www.cpearson.com/excel/DateTimeWS.htm



--
Regards,

Peo Sjoblom





"Mashuganah" wrote in message
...
I need to calculate the number of work hours between a start and end time.
The task may stretch across several days, including weekends and holidays.
Only the work hours should be counted. Work hours are 8 am - 5 pm, Mon -
Fri.

How can this be done?

While NETWORKDAYS provides days, I need hours.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 27
Default Workhours Calculation

Thanks Peo! This looks good. I'll give it a try.

"Peo Sjoblom" wrote:

http://www.cpearson.com/excel/DateTimeWS.htm



--
Regards,

Peo Sjoblom





"Mashuganah" wrote in message
...
I need to calculate the number of work hours between a start and end time.
The task may stretch across several days, including weekends and holidays.
Only the work hours should be counted. Work hours are 8 am - 5 pm, Mon -
Fri.

How can this be done?

While NETWORKDAYS provides days, I need hours.




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 27
Default Workhours Calculation

Thanks Mike. However, doesn't that give me the number of hours across whole
work days? What if a task lasts 2 days and 3 hours?

"Mike H" wrote:

Why not just multiply by the hours per workday:-
=NETWORKDAYS(A1,B1,G1:G8)*9

G1 - G8 is my list of holidays

Mike


"Mashuganah" wrote:

I need to calculate the number of work hours between a start and end time.
The task may stretch across several days, including weekends and holidays.
Only the work hours should be counted. Work hours are 8 am - 5 pm, Mon - Fri.

How can this be done?

While NETWORKDAYS provides days, I need hours.



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 806
Default Workhours Calculation

Hello,

This might help you too:
http://www.sulprobil.com/html/count_hours.html

Regards,
Bernd

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
calculation M.Ummer Malik Excel Worksheet Functions 11 July 5th 06 05:38 AM
If Calculation skateblade Excel Worksheet Functions 4 May 31st 06 12:03 PM
Help with calculation scripttron75 Excel Discussion (Misc queries) 1 December 20th 05 05:50 AM
How do I use a rounded calculation result in another calculation? vnsrod2000 Excel Worksheet Functions 1 January 26th 05 10:11 PM
How do I use a rounded calculation result in another calculation? vnsrod2000 Excel Worksheet Functions 1 January 26th 05 09:36 PM


All times are GMT +1. The time now is 07:14 AM.

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

About Us

"It's about Microsoft Excel"