Hours Worked

Nana Arhin

New Member
Joined
Jan 3, 2023
Messages
5
Office Version
  1. 365
Platform
  1. Windows
Working hours for Mawuli Tettey (Dec 2022)
DateTime inTime outNumber of hours
01/12/2022​
6:00:00 AM​
6:00:00 PM​
12.00​
02/12/2022​
6:00:00 PM​
9:08:00 PM​
3.13​
03/12/2022​
6:00:00 AM​
6:00:00 PM​
12.00​
04/12/2022​
6:00:00 AM​
6:00:00 PM​
12.00​
05/12/2022​
6:00:00 AM​
6:00:00 PM​
12.00​
06/12/2022​
6:00:00 AM​
6:00:00 PM​
12.00​
07/12/2022​
6:00:00 AM​
6:00:00 PM​
12.00​
08/12/2022​
6:00:00 AM​
6:00:00 PM​
12.00​
10/12/2022​
6:00:00 PM​
6:00:00 AM​
12.00​
11/12/2022​
6:00:00 PM​
6:00:00 AM​
12.00​
12/12/2022​
6:00:00 PM​
6:00:00 AM​
12.00​
13/12/2022​
6:00:00 PM​
6:00:00 AM​
12.00​
15/12/2022​
6:00:00 AM​
6:00:00 PM​
12.00​
16/12/2022​
6:00:00 AM​
6:00:00 PM​
12.00​
17/12/2022​
6:00:00 AM​
6:00:00 PM​
12.00​
18/12/2022​
6:00:00 AM​
6:00:00 PM​
12.00​
19/12/2022​
6:00:00 PM​
6:00:00 AM​
12.00​
20/12/2022​
6:00:00 PM​
6:00:00 AM​
12.00​
21/12/2022​
6:00:00 PM​
6:00:00 AM​
12.00​
23/12/2022​
6:00:00 AM​
6:00:00 PM​
12.00​
24/12/2022​
6:00:00 PM​
6:00:00 AM​
12.00​
25/12/2022​
6:00:00 PM​
6:00:00 AM​
12.00​
26/12/2022​
6:00:00 PM​
6:00:00 AM​
12.00​
28/12/2022​
6:00:00 AM​
6:00:00 PM​
12.00​
29/12/2022​
6:00:00 AM​
6:00:00 PM​
12.00​
30/12/2022​
6:00:00 PM​
6:00:00 AM​
12.00​
Total working hours
303.13​
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
what is your question?
Where is your concern?
N.B. Your post is just text. It is much better if you post your information with the forum's tool named XL2BB.

T202301a.xlsm
ABCD
1
2DateTime inTime outNumber of hours
306:00:00 AM06:00:00 PM12.00
406:00:00 PM09:08:00 PM3.13
506:00:00 PM06:00:00 AM12.00
606:00:00 PM04:00:00 AM10.00
7Total working hours37.13
1c
Cell Formulas
RangeFormula
C3C3=B4
D3:D6D3=(C3-B3+(B3>C3))*24
D7D7=SUM(D3:D6)
 
Upvote 0
what is your question?
Where is your concern?
N.B. Your post is just text. It is much better if you post your information with the forum's tool named XL2BB.

T202301a.xlsm
ABCD
1
2DateTime inTime outNumber of hours
306:00:00 AM06:00:00 PM12.00
406:00:00 PM09:08:00 PM3.13
506:00:00 PM06:00:00 AM12.00
606:00:00 PM04:00:00 AM10.00
7Total working hours37.13
1c
Cell Formulas
RangeFormula
C3C3=B4
D3:D6D3=(C3-B3+(B3>C3))*24
D7D7=SUM(D3:D6)
I used time 2 - Time 1 *24. but i get negative results when the staff worked overnight.
 
Upvote 0
what is your question?
Where is your concern?
N.B. Your post is just text. It is much better if you post your information with the forum's tool named XL2BB.

T202301a.xlsm
ABCD
1
2DateTime inTime outNumber of hours
306:00:00 AM06:00:00 PM12.00
406:00:00 PM09:08:00 PM3.13
506:00:00 PM06:00:00 AM12.00
606:00:00 PM04:00:00 AM10.00
7Total working hours37.13
1c
Cell Formulas
RangeFormula
C3C3=B4
D3:D6D3=(C3-B3+(B3>C3))*24
D7D7=SUM(D3:D6)
It worked thank you.
 
Upvote 0

Forum statistics

Threads
1,215,338
Messages
6,124,358
Members
449,155
Latest member
ravioli44

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