Best formula to count login - logout time

Akbarov

Active Member
Joined
Jun 30, 2018
Messages
347
Office Version
  1. 365
Platform
  1. Windows
Hey Dear community,

i have big list of users login and logout time, i need to count users work time, i use minifs and maxifs to find login and logout time minifs-maxifs=result , is there any other ( easy ) way to do this?

Names are in D:D and times are in J:J
 

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.
Could you give us a small sample of your data, with the desired results. I would expect that you had 3 columns Name, TimeIn and TimeOut.

Would the interval from log in to log out slop over midnight? Would the interval perhaps be over a day?
 
Upvote 0
Hi mikerickson ,

Yes that's the problem, most of them starts at 8:00 and finish at 6:00 but some slop over midnight , and second problem is login and logout time are in same column J:J

can you tell me easy way to share table here? Column B is date , D names and E is Department
 
Upvote 0
How can one tell whether an entry is log in or log out? Where do you want the inverval?
Can you give us a small sample of some data, including lay-out, and the desired results?

The over midnight can be solved with if you have a log in time in W1 and a log out time in W2 =MOD(1+W2-W1, 1) will return the interval between login and logout.
 
Upvote 0
nevermind over midnight, they are only few, i need only first log in and last log out difference
 
Upvote 0

Forum statistics

Threads
1,213,527
Messages
6,114,140
Members
448,551
Latest member
Sienna de Souza

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