+ Reply to Thread
Results 1 to 7 of 7

Time Calculation When Working Past Midnight That Rounds W/Lunch Punches

  1. #1
    Registered User
    Join Date
    01-21-2016
    Location
    Kirksville, MO
    MS-Off Ver
    MS Office 2010
    Posts
    86

    Time Calculation When Working Past Midnight That Rounds W/Lunch Punches

    I have a timecard sheet I am working on that I got to figure the time worked and round to the nearest quarter hour, which is what i wanted it to do. However, I can't seem to get it to work if that person takes a lunch hour and their shift goes past midnight into the next day. I attached workbook off timecards I am working with. You can see in row 45 when there is just an in & out punch it works fine. But if I try to add a lunch hour, I get a negative return value. Any help is appreciated.

    This is cross posted at these sites:
    https://www.mrexcel.com/forum/excel-...h-punches.html

    https://answers.microsoft.com/en-us/...other-mso_2010
    Attached Files Attached Files
    Last edited by blinhart; 04-30-2018 at 04:08 PM.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    Win10/MSO2016
    Posts
    12,976

    Re: Time Calculation When Working Past Midnight That Rounds W/Lunch Punches

    deleted...
    Last edited by protonLeah; 05-01-2018 at 03:13 PM.
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    01-21-2016
    Location
    Kirksville, MO
    MS-Off Ver
    MS Office 2010
    Posts
    86

    Re: Time Calculation When Working Past Midnight That Rounds W/Lunch Punches

    Now I am getting it to calculate to 12.25 regardless of how many hours they work. Am I doing something wrong?

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,321

    Re: Time Calculation When Working Past Midnight That Rounds W/Lunch Punches

    Rule 08: Cross-posting Without Telling Us

    Your post does not comply with Rule 8 of our Forum RULES. Do not cross-post your question on multiple forums without telling us about your threads on other forums.

    Post a link to any other forums where you have asked the same question. If you have fewer than 10 posts here, you will not be able to post a link, but you must still tell us where else you have asked the question.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).

    No further help to be offered, please, until the OP has complied with this request.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  5. #5
    Registered User
    Join Date
    01-21-2016
    Location
    Kirksville, MO
    MS-Off Ver
    MS Office 2010
    Posts
    86

    Re: Time Calculation When Working Past Midnight That Rounds W/Lunch Punches

    I have edited the original post to include the cross post I just made - sorry and thanks for the reminder. Do I need to recreate the post with cross post link to start over?

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,321

    Re: Time Calculation When Working Past Midnight That Rounds W/Lunch Punches

    No - that’s fine now, thank you.

  7. #7
    Registered User
    Join Date
    01-21-2016
    Location
    Kirksville, MO
    MS-Off Ver
    MS Office 2010
    Posts
    86

    Re: Time Calculation When Working Past Midnight That Rounds W/Lunch Punches

    https://www.mrexcel.com/forum/newrep...eply&p=5060250

    This link above is the solution that worked perfectly from help from other cross post.

+ 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] VLookup to return value for time hh:mm not working past midnight
    By RayRay248 in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 01-25-2021, 06:05 AM
  2. Calculation of Hours past Midnight & Rate Change
    By Cynops in forum Excel General
    Replies: 8
    Last Post: 04-14-2016, 12:48 PM
  3. [SOLVED] Employees working past midnight - Time sheet dilemma
    By MacHead in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 11
    Last Post: 12-18-2015, 01:07 PM
  4. VLOOKUP not working when time goes past midnight.
    By zerocool2311 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-13-2014, 08:15 PM
  5. [SOLVED] Text Time to Excel Format, Then Sort Time Past Midnight
    By BuntyMac in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-27-2014, 03:13 AM
  6. [SOLVED] Time calculation not working past midnight
    By Sophie.Durrant in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-08-2014, 08:18 PM
  7. Replies: 4
    Last Post: 01-11-2012, 07:59 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