Managing Time Calculations

kkline116

New Member
Joined
Dec 12, 2016
Messages
6
Hello all,

I know there are a ton of threads on calculating time and I read a bunch and tried a bunch, but not finding anything that works for what I'm looking for (or at least that I can figure out). :)

I'm trying to keep track of time a machine runs. See example below

End goal is to have a spreadsheet where I can just enter start times and end times (which will vary greatly with different lengths of breaks) and it spit out correct hours worked on the right (and them sum all those up in the top left for "Total Hours").

I do have the dates in column A... do I have to incorporate them somehow?

Total Hours
(total hours here)
DateTime StartTime StopTime StartTime StopHours Ran
Monday, May 21, 201810 a12 a
Tuesday, May 22, 201812 a3 a8 a8 p
Wednesday, May 23, 20188 a4 p
Thursday, May 24, 20187:30 a12 a
Friday, May 25, 201812 a1 pm

<tbody>
</tbody>


So, in this above example, We started the machine Monday morning, and ran into Tuesday morning 3 am... we came in, started the machine at 8 am, and it ran until 8 pm. Wed, it ran from 8 am until 4 pm. Then we started it again Thursday at 7:30 am, and run until Friday at 1 pm.

And every week these times can adjust wildly with no set time or break pattern.

What formula would you put in the "Hours Ran" cells to calculate that?
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

Forum statistics

Threads
1,214,983
Messages
6,122,595
Members
449,089
Latest member
Motoracer88

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top