Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
calculation | Excel Worksheet Functions | |||
If Calculation | Excel Worksheet Functions | |||
Help with calculation | Excel Discussion (Misc queries) | |||
How do I use a rounded calculation result in another calculation? | Excel Worksheet Functions | |||
How do I use a rounded calculation result in another calculation? | Excel Worksheet Functions |