Calculate what time I should have clocked in and when I should have clock-out.

atorres1360

New Member
Joined
Sep 10, 2022
Messages
1
Office Version
  1. 2019
Platform
  1. MacOS
Can someone please help me figure out the formula? I want to figure out if I clocked in at 6:34 am and forgot to clock out and was only supposed to work for 4 hours. The same if I forgot to clock in and but I clock out at 10:50 am what formula to use to let me know what time I should have clocked in if I'm only supposed to work for four hours?
time intime outhours worked
6:34:00 AM4
10:50:00 AM4

Thank you in advance
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Once way to use hours in a calculation is to use the # of hours / 24. For one hour, you would use (1/24). In your case, for four hours, you can use 4/24.

Assuming A2 is the known Time In, and B3 is the known Time Out:

So the "Time Out" formula can be =A2+(4/24) and
the "Time In" formula can be = B3 - (4/24)
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,155
Members
453,021
Latest member
Justyna P

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