Home |
Search |
Today's Posts |
#8
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Mike,
This wil work just fine; pure and simple. Thanks! D. "Mike H" wrote: formula was missing a set of brackets =((A2-A1)*24)-((COUNTIF(C1:C8,"<"&A2)*24)-(COUNTIF(C1:C8,"<"&A1)*24)) "Mike H" wrote: I'm sure someones going to come up with something much more elegant but try:- =((A2-A1)*24)-(COUNTIF(C1:C8,"<"&A2)*24)-(COUNTIF(C1:C8,"<"&A1)*24) Start date and time in A1 End date and time in A2 Holiday list in C1 to C8 (allows 24 hrs for each holiday) Format formula as general Mike "douwe" wrote: Hi, Can anyone help me on the calculation of the time elipsed between start date/time and end date/time, inculding weekend days and excluding holidays. I have tried using NETWORKDAYS; but that can't handle the weekend days. Tried using WORKDAY; but there I cannot subtract the two dates. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Date/Time Difference Excluding Weekends & Holidays | Excel Worksheet Functions | |||
Difference between 2 dates, incl weekends, with variable work days | Excel Discussion (Misc queries) | |||
Difference between 2 dates, incl weekends, with variable work days | Excel Worksheet Functions | |||
Formula - Excluding weekends & holidays | Excel Worksheet Functions | |||
How to exclude weekends/holidays from plotted time series | Charts and Charting in Excel |