Hey guys,
I need your help with the following
If I have start date and time in A1 and end date and time in B1, and i want to count the minutes deference between them how can i do it. Taking in consideration that only working days & hours are to be calculated which mean you'll have to exclude the weekends and non working hours
Weekend = Friday and Saturday
Working hours = From 8:00 AM to 17:00 PM
A1= 07/09/2013 9:30:00 AM
B1= 13/09/2013 4:00:00 PM
Expected Result from the given dates
Start Date and Time 07/09/2013 9:30:00 AM = Excluded
08/09/2013 = 9 Hours
09/09/2013 = 9 Hours
10/09/2013 = 9 Hours
11/09/2013 = 9 Hours
12/09/2013 = 9 Hours
End Date and Time 13/09/2013 4:00:00 PM = Excluded
Final Result = 45 Hours
----------------------------------------------------------
Another Example
Start Date and Time 18/09/2013 7:00:00 AM = 9 Hours << as anything before 8AM should be excluded
19/09/2013 = 9 Hours
20/09/2013 = Excluded
21/09/2013 = Excluded
End Date and Time 22/09/2013 7:00:00 PM = 9 Hours << as anything after 5PM should be excluded
Final Result = 27 Hours
** I'm using Excel 2007
Thanks in advance
I need your help with the following
If I have start date and time in A1 and end date and time in B1, and i want to count the minutes deference between them how can i do it. Taking in consideration that only working days & hours are to be calculated which mean you'll have to exclude the weekends and non working hours
Weekend = Friday and Saturday
Working hours = From 8:00 AM to 17:00 PM
A1= 07/09/2013 9:30:00 AM
B1= 13/09/2013 4:00:00 PM
Expected Result from the given dates
Start Date and Time 07/09/2013 9:30:00 AM = Excluded
08/09/2013 = 9 Hours
09/09/2013 = 9 Hours
10/09/2013 = 9 Hours
11/09/2013 = 9 Hours
12/09/2013 = 9 Hours
End Date and Time 13/09/2013 4:00:00 PM = Excluded
Final Result = 45 Hours
----------------------------------------------------------
Another Example
Start Date and Time 18/09/2013 7:00:00 AM = 9 Hours << as anything before 8AM should be excluded
19/09/2013 = 9 Hours
20/09/2013 = Excluded
21/09/2013 = Excluded
End Date and Time 22/09/2013 7:00:00 PM = 9 Hours << as anything after 5PM should be excluded
Final Result = 27 Hours
** I'm using Excel 2007
Thanks in advance