+ Reply to Thread
Results 1 to 3 of 3

I need to determine how long between time punches that are on different rows

  1. #1
    Forum Contributor
    Join Date
    01-09-2016
    Location
    USA,USA
    MS-Off Ver
    2016
    Posts
    1,192

    I need to determine how long between time punches that are on different rows

    Data looks like this. I need to know how long Peter was out on lunch. So it would be like D2-F1 = 1 hour, then you'd have to skip because the 5:01 is clock out for the day, then the next several days too, then on row 9, its D10-F9 = w/e

    I'm fine if there is an error or w/e because of the 5pm clock out. Whatever is the easiest.


    Last Name First Name In date In Time Out Date Out Time Hours Out
    Parker Peter 2/1/2019 7:52:00 AM 2/1/2019 1:37:00 PM
    Parker Peter 2/1/2019 2:37:00 PM 2/1/2019 5:01:00 PM
    Parker Peter 2/5/2019 7:50:00 AM 2/5/2019 5:32:00 PM
    Parker Peter 2/6/2019 7:51:00 AM 2/6/2019 5:43:00 PM
    Parker Peter 2/7/2019 7:56:00 AM 2/7/2019 5:40:00 PM
    Parker Peter 2/8/2019 7:59:00 AM 2/8/2019 5:01:00 PM
    Parker Peter 2/11/2019 8:00:00 AM 2/11/2019 1:12:00 PM
    Parker Peter 2/11/2019 2:04:00 PM 2/11/2019 5:15:00 PM
    Parker Peter 2/13/2019 7:42:00 AM 2/13/2019 5:40:00 PM
    Parker Peter 2/14/2019 7:57:00 AM 2/14/2019 5:00:00 PM
    Parker Peter 2/15/2019 7:50:00 AM 2/15/2019 5:00:00 PM
    Parker Peter 2/18/2019 9:03:00 AM 2/18/2019 12:27:00 PM
    Parker Peter 2/19/2019 7:55:00 AM 2/19/2019 5:30:00 PM
    Parker Peter 2/21/2019 7:44:00 AM 2/21/2019 5:30:00 PM
    Parker Peter 2/22/2019 7:57:00 AM 2/22/2019 5:05:00 PM
    Parker Peter 2/25/2019 8:07:00 AM 2/25/2019 12:00:00 PM
    Parker Peter 2/25/2019 1:00:00 PM 2/25/2019 5:02:00 PM
    Attached Files Attached Files

  2. #2
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: I need to determine how long between time punches that are on different rows

    Putting in expected results helps but, if we assume (per your sample file) that your data is always sorted by Cols A, B, C & D (in that order) then perhaps:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    the above would generate 1:00 in G3, 0:52 in G9 and 1:00 in G18 -- all other cells would return a null string (i.e. appear blank)

  3. #3
    Forum Contributor
    Join Date
    01-09-2016
    Location
    USA,USA
    MS-Off Ver
    2016
    Posts
    1,192

    Re: I need to determine how long between time punches that are on different rows

    thanks! wish there was a format for it, had to do custom h:mm:ss and that appears to have worked

+ 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. [SOLVED] Time Calculation When Working Past Midnight That Rounds W/Lunch Punches
    By blinhart in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-01-2018, 12:36 PM
  2. Need Help saving Time - Long List - Need to Organize into rows
    By chollo88 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-22-2018, 02:36 PM
  3. [SOLVED] Help with formula for rounding up on time clock punches
    By blinhart in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-26-2016, 04:08 AM
  4. Long time to insert rows
    By LAF in forum Excel General
    Replies: 3
    Last Post: 03-30-2015, 07:03 PM
  5. Manipulating Employee time punches
    By Iceotron in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-19-2014, 12:05 PM
  6. [SOLVED] Timesheet - Counting negaitve time (early punches)
    By ggentry in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-20-2014, 11:11 PM
  7. Long time to insert rows on a sheet
    By LAF in forum Excel General
    Replies: 0
    Last Post: 01-05-2010, 03:02 PM

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