Hello,
I've tried how to calculate how many work hours were there between two dates when I have one work time during regular workdays and another work time during weekend (let's say Saturdays and Sundays have same work time for this example).
So I want to calculate how many working hours passed from 1/26/2015 12:37 PM to 2/2/2015 5:59 AM when work time from Monday to Friday is from 8:00 AM to 16:00 PM and on weekends work time is from 9:00 AM to 13:00 PM.
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]Days[/TD]
[TD]Start[/TD]
[TD]End[/TD]
[/TR]
[TR]
[TD]Mon-Fri[/TD]
[TD]8:00[/TD]
[TD]16:00[/TD]
[/TR]
[TR]
[TD]Sat-Sun[/TD]
[TD]9:00[/TD]
[TD]13:00[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]Start time[/TD]
[TD]End time[/TD]
[TD]Total work hours[/TD]
[/TR]
[TR]
[TD]1/26/2015 12:37[/TD]
[TD]2/2/2015 5:59[/TD]
[TD]???????????????????[/TD]
[/TR]
</tbody>[/TABLE]
I've been using some formula to calculate total work hours within two given dates but the work time was the same every day of week.
Also, could there be some column in spreadsheet where I can input list of holidays so a formula excludes those listed days from calculations?
Thanks in advance for help!
I've tried how to calculate how many work hours were there between two dates when I have one work time during regular workdays and another work time during weekend (let's say Saturdays and Sundays have same work time for this example).
So I want to calculate how many working hours passed from 1/26/2015 12:37 PM to 2/2/2015 5:59 AM when work time from Monday to Friday is from 8:00 AM to 16:00 PM and on weekends work time is from 9:00 AM to 13:00 PM.
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]Days[/TD]
[TD]Start[/TD]
[TD]End[/TD]
[/TR]
[TR]
[TD]Mon-Fri[/TD]
[TD]8:00[/TD]
[TD]16:00[/TD]
[/TR]
[TR]
[TD]Sat-Sun[/TD]
[TD]9:00[/TD]
[TD]13:00[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]Start time[/TD]
[TD]End time[/TD]
[TD]Total work hours[/TD]
[/TR]
[TR]
[TD]1/26/2015 12:37[/TD]
[TD]2/2/2015 5:59[/TD]
[TD]???????????????????[/TD]
[/TR]
</tbody>[/TABLE]
I've been using some formula to calculate total work hours within two given dates but the work time was the same every day of week.
Also, could there be some column in spreadsheet where I can input list of holidays so a formula excludes those listed days from calculations?
Thanks in advance for help!