I have a sheet that looks like this
HTML Code: 
What I am trying to do is calculate machine stop time, and honestly I don't know where to start.

Manually I am going to the run time, looking back to the stopped time right after the following run time. And subtracting the two.
Then I am summing them together.

Can I get a formula to do this. Or is this a VBA project?