When do I need to clock out?

mst3kr

New Member
Joined
Apr 15, 2013
Messages
40
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

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

mst3kr

New Member
Joined
Apr 15, 2013
Messages
40
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

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...
 

jtakw

Well-known Member
Joined
Jun 29, 2014
Messages
7,245
Office Version
  1. 2016
Platform
  1. Windows
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
 
Solution

mst3kr

New Member
Joined
Apr 15, 2013
Messages
40
Office Version
  1. 2019
  2. 2010
  3. 2007
Platform
  1. Windows
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... :)
 

jtakw

Well-known Member
Joined
Jun 29, 2014
Messages
7,245
Office Version
  1. 2016
Platform
  1. Windows
You're welcome, thanks for the feedback.
 

Forum statistics

Threads
1,171,077
Messages
5,873,671
Members
432,992
Latest member
Snipes00

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
Top