+ Reply to Thread
Results 1 to 6 of 6

Excel problem - identifying the correct Login and Logout of an employee based on range

  1. #1
    Registered User
    Join Date
    08-06-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2016
    Posts
    3

    Post Excel problem - identifying the correct Login and Logout of an employee based on range

    Hi everyone,

    I am having trouble with this one, please help me.

    I have attached a sample file to better explain the situation. I have a data extracted for the employee's daily activity (Dump tab). The dump file shows 10 sample employees named Agent1 - 10 and their activities for the whole shift (Login, Break, Work, etc.). I need to get the EXACT/CORRECT Login and Logout of the employee for the shift based on the given timestamp per activity. The problem is, some of the employees' data shows start 0:00:00, end 23:59:59 for some reasons, but it wasn't their real login and logout. So everytime i try to MIN/MAX the range, it shows the min 0:00:00 and max 23:59:59.


    Sample:
    Agent1 scheduled 18:00:00 to 3:00:00
    Agent1's whole shift activities goes:

    LILO.JPG

    SAMPLE.xlsx

    Thank you very much in advance!

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,596

    Re: Excel problem - identifying the correct Login and Logout of an employee based on range

    isn't this suppose to be a next day?

    Foe xample, Agent3:

    Please Login or Register  to view this content.
    I assume he has been working since 30.08.2016 18:57:49 till 31.08.2016 3:58:33

  3. #3
    Registered User
    Join Date
    08-06-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2016
    Posts
    3

    Re: Excel problem - identifying the correct Login and Logout of an employee based on range

    Quote Originally Posted by zbor View Post
    isn't this suppose to be a next day?

    Foe xample, Agent3:

    Please Login or Register  to view this content.
    I assume he has been working since 30.08.2016 18:57:49 till 31.08.2016 3:58:33


    Hi,

    That was actually a good question. I tried converting the dates/time to same day and I guess it worked. Please see the attached file, if I'm looking at the right solution now. Thank you.SAMPLE.xlsx

  4. #4
    Valued Forum Contributor
    Join Date
    11-22-2014
    Location
    Arizona, USA
    MS-Off Ver
    Office 365
    Posts
    973

    Re: Excel problem - identifying the correct Login and Logout of an employee based on range

    Are you trying to just get the min and max of the two ranges?

    12 AM is 0 in the world of numbers
    11:59:59 is 24 hours or 1 for 1 complete day cycle but really is 0.999988425925926 so lets just say less than .999 to illustrate we mean just before midnight

    Please Login or Register  to view this content.
    Note - These are "Array" formulas so you will need to Hold CTRL and SHIFT and hit ENTER to apply them.

    If you want to add to the criteria...meaning you want to have this by date or for a specific agent name you would need to NEST if statements where each new layer is another filter

    For Example - if I wanted to see the minimum time for 8/30/2016. In my Example I have placed 8/30/2016 inside N1
    Please Login or Register  to view this content.
    Last edited by ELeGault; 08-31-2016 at 12:26 PM.
    -If you think you are done, Start over - ELeGault

  5. #5
    Registered User
    Join Date
    08-06-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2016
    Posts
    3

    Re: Excel problem - identifying the correct Login and Logout of an employee based on range

    whoa, learned a lot today! thank you very much for your help, zbor and ELeGault. It's working now!

  6. #6
    Valued Forum Contributor
    Join Date
    11-22-2014
    Location
    Arizona, USA
    MS-Off Ver
    Office 365
    Posts
    973

    Re: Excel problem - identifying the correct Login and Logout of an employee based on range

    Always a pleasure - Be sure to share the knowledge as you obtain it

    Please make sure you mark this as solved if you are satisfied with the solutions provided.

    Cheers

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Need a login and logout tracker
    By Shakil777 in forum Excel General
    Replies: 10
    Last Post: 01-27-2016, 06:52 AM
  2. Excel tool to track Employee Logon,Logout and Idle time
    By KalyankumarMCA in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 06-18-2014, 09:07 PM
  3. Replies: 0
    Last Post: 02-17-2014, 07:44 AM
  4. log in time out for employee login logout system
    By codillajocyl in forum Excel General
    Replies: 0
    Last Post: 09-11-2013, 10:53 PM
  5. login and logout time , with total login time ,break> 1 hours
    By shrinivasmj in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-12-2013, 05:37 AM
  6. [SOLVED] First login & last Logout
    By Vikky in forum Excel General
    Replies: 2
    Last Post: 08-19-2006, 01:20 AM
  7. Login Logout Date Problem
    By ascool_asice in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 09-06-2005, 03:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1