Calculate total time in office from checkin timestamp and checkout timestamp

hubertdenie

New Member
Joined
Jan 31, 2018
Messages
1
I have an excel list with name of employee, check-in timestamp (yyyy-mm-dd hh-mm-ss AM) and check-out time (yyyy-mm-dd hh-mm-ss AM). The timestamps are not marked as checkin or checkout unfortunately. I would like to calculate the time difference between the lowest time of date X and the latest time of date x per person. Furthermore, its important to note that sometimes employees forget to checkout.

Any suggestions?

[TABLE="width: 453"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Date[/TD]
[TD]Time[/TD]
[TD]Device#[/TD]
[TD]Operating Time[/TD]
[/TR]
[TR]
[TD]金峻[/TD]
[TD]2017/12/1[/TD]
[TD="align: right"]9:24:00 AM[/TD]
[TD]001[/TD]
[TD]2017/12/1 9:23:48[/TD]
[/TR]
[TR]
[TD]金峻[/TD]
[TD]2017/12/1[/TD]
[TD="align: right"]6:09:00 PM[/TD]
[TD]001[/TD]
[TD]2017/12/1 18:09:27[/TD]
[/TR]
[TR]
[TD]金峻[/TD]
[TD]2017/12/4[/TD]
[TD="align: right"]6:09:00 PM[/TD]
[TD]001[/TD]
[TD]2017/12/4 18:12:54[/TD]
[/TR]
[TR]
[TD]金峻[/TD]
[TD]2017/12/5[/TD]
[TD="align: right"]8:21:00 AM[/TD]
[TD]001[/TD]
[TD]2017/12/5 8:24:23[/TD]
[/TR]
[TR]
[TD]金峻[/TD]
[TD]2017/12/6[/TD]
[TD="align: right"]6:03:00 PM[/TD]
[TD]001[/TD]
[TD]2017/12/6 18:06:36[/TD]
[/TR]
[TR]
[TD]金峻[/TD]
[TD]2017/12/7[/TD]
[TD="align: right"]9:05:00 AM[/TD]
[TD]001[/TD]
[TD]2017/12/7 9:08:11[/TD]
[/TR]
[TR]
[TD]金峻[/TD]
[TD]2017/12/7[/TD]
[TD="align: right"]6:06:00 PM[/TD]
[TD]001[/TD]
[TD]2017/12/7 18:09:03[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

Forum statistics

Threads
1,224,919
Messages
6,181,749
Members
453,064
Latest member
robatthe2A

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