Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi
Here is the formula I am using: =IF(M2="","",(NETWORKDAYS(F2,M2))+TIME(17,0,0)-F2+M2-TIME(8,0,0)) What I need is the hh:mm:ss between two date/times not including any time on Sat and Sun. For example F2 has my start date and time which is Nov 1/2008 at 15:30:41 (this is a Saturday). M2 has the end time which is Monday Nov 3/2008 at 15:47:39. The result I'm getting is 09:16:58 (this is the 1:29:19 on the Saturday between 15:30:41 and 17:00:00 and the 07:47:39 on the Monday between 8:00:00 and 15:47:39) What I want is just the 07:47:39 between the 8:00:00 and 15:47:39 on the Monday, as although the time started on the Saturday I don't want to count the time on the Saturday because it is the weekend. (Essentially someone was working on the Saturday opening up repair requests, but the repair people work Mon to Fri between the hours of 8am and 5pm, so I dont want to penalize them because someone else was working on a Saturday). Over and above this if possilbe I need to take out holidays (eg. Labourday, Dec 25 & 26, Canada Day-July 1) Thanks for the help. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
change "true" and "false" to "availble" and "out of stock" | Excel Worksheet Functions | |||
cannot use "Create List" and "Share Workbook" same time | Excel Discussion (Misc queries) | |||
HELP on "left","right","find","len","substitute" functions | Excel Discussion (Misc queries) | |||
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next | New Users to Excel |