When do I need to clock out?

mst3kr

New Member
Joined
Apr 15, 2013
Messages
46
Office Version
  1. 2019
  2. 2010
  3. 2007
Platform
  1. Windows
Hello all!

I am tracking Clock-In's & Clock-Outs for some employees, and am responsible to be sure they are not accruing too much overtime. The Time column is an export from our internal HR system and the values come out as Time (7:32:00 AM, 1:00:00 PM, etc.). To keep that data whole, what I'm wanting to due is key an integer (not a time) into a cell to calculate how many more hours that an employee can work based on how many hours they've worked so far.

For example, I would key in '8' into a cell to denote that is the total # of hours the employee can work that day, and in the empty 'Out' cell under Time (see below), it would tell me when time that employee would need to clock out to hit that 8 hours. Thus, the answer in the empty 'Out' cell would be 16:32... I can make all this work if I type 8:00 into a cell. However, I want to be lazy and just type in an integer and have the formulas do the work; I just haven't been able to find the correct formulaic conversion to do what I'm looking for. Not sure if I need a helper cell to do the trick or...? I'm sure it's a fairly easy solution but I'm not seeing it.

Any help?

TimeHours
In7:32
Lunch Out12:004:28
Lunch In13:00
Out
Total

Thanks in advance!
-Greg
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Hello all!

I am tracking Clock-In's & Clock-Outs for some employees, and am responsible to be sure they are not accruing too much overtime. The Time column is an export from our internal HR system and the values come out as Time (7:32:00 AM, 1:00:00 PM, etc.). To keep that data whole, what I'm wanting to due is key an integer (not a time) into a cell to calculate how many more hours that an employee can work based on how many hours they've worked so far.

For example, I would key in '8' into a cell to denote that is the total # of hours the employee can work that day, and in the empty 'Out' cell under Time (see below), it would tell me when time that employee would need to clock out to hit that 8 hours. Thus, the answer in the empty 'Out' cell would be 16:32... I can make all this work if I type 8:00 into a cell. However, I want to be lazy and just type in an integer and have the formulas do the work; I just haven't been able to find the correct formulaic conversion to do what I'm looking for. Not sure if I need a helper cell to do the trick or...? I'm sure it's a fairly easy solution but I'm not seeing it.

Any help?

TimeHours
In7:32
Lunch Out12:004:28
Lunch In13:00
Out
Total

Thanks in advance!
-Greg

I should've noted that I will also need that integer cell to be able to handle non full hours, as well; i.e., 8.5, 7.5, 7.25, etc...
 
Upvote 0
Hi,

If I understand correctly, this should do what you need:

Book3.xlsx
ABCD
1TimeHoursInput
2In7:327.75
3Lunch Out12:00
4Lunch In13:00
5Out16:17
Sheet977
Cell Formulas
RangeFormula
B5B5=B2+D2/24+B4-B3
 
Upvote 0
Solution
Hi,

If I understand correctly, this should do what you need:

Book3.xlsx
ABCD
1TimeHoursInput
2In7:327.75
3Lunch Out12:00
4Lunch In13:00
5Out16:17
Sheet977
Cell Formulas
RangeFormula
B5B5=B2+D2/24+B4-B3
Thank you jtakw! That worked perfectly! I knew there had to be a pretty easy answer; I think I was just way overcomplicating the formula I needed... :)
 
Upvote 0
You're welcome, thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,782
Messages
6,121,532
Members
449,037
Latest member
tmmotairi

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