+ Reply to Thread
Results 1 to 2 of 2

Compute lates (in minutes) with the time-logs in a single column

  1. #1
    Registered User
    Join Date
    10-15-2015
    Location
    Taiwan
    MS-Off Ver
    2010
    Posts
    2

    Compute lates (in minutes) with the time-logs in a single column

    Hi guys, I need some help here. Here's what I want to do...

    help.JPG

    As you can see here, the time-in and time-out are in the same column. Now, I need to get the total number of minutes late in a cutoff period (say, Oct. 1-15, Minutes late for employee 1 is 250 mins).
    - first in, last out (It will ignore accidentally duplicated time-in. If it detects that there are two time-ins on the same date, the second one will be ignored)

    I've done something like this in VBA a few weeks ago, but the main difference is, the time-in and time-out are in different columns. So, what I did was to get the time-in of an employee then, check if it's past 8:30AM, if it was, then time-in minus 8:30 = minutes late for that day. Then, I incremented the variable to go to the next row and repeat the same thing and add the result (if late) of that day to the previous one.

    The problem I have right now is, on the previous project, I was certain that the next row is another day. On this new project, The next row or the next several rows can be the same day. I just need to get the number of lates for the whole cut-off. The time-outs still matter because they will be used for determining undertime and overtime. But I think I will be able to deal with that later after solving this one first.



    Thank you

  2. #2
    Registered User
    Join Date
    10-15-2015
    Location
    Taiwan
    MS-Off Ver
    2010
    Posts
    2

    Re: Compute lates (in minutes) with the time-logs in a single column

    I badly need help. Noob in programming here...

+ 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. Button Out of Excel That Logs Time & Day Every Click
    By imsteve123 in forum Excel General
    Replies: 2
    Last Post: 07-06-2015, 06:04 PM
  2. Single Cell Time Question, adding Minutes
    By Extreme184X in forum Excel General
    Replies: 6
    Last Post: 03-24-2015, 10:27 PM
  3. Replies: 2
    Last Post: 02-05-2015, 02:13 PM
  4. [SOLVED] Counting when a Time is within 30 minutes of a time in a different Column
    By danieloverton1984 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-27-2013, 03:53 PM
  5. Replies: 2
    Last Post: 09-06-2012, 02:51 AM
  6. Adding time logs from a GPS device
    By tidusx18 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-21-2008, 03:37 PM
  7. substract two time logs based on a string
    By CptLimaBean in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-11-2008, 11:23 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