+ Reply to Thread
Results 1 to 3 of 3

Time keeping Errors

  1. #1
    Registered User
    Join Date
    09-30-2014
    Location
    IE, California
    MS-Off Ver
    excel 2010 and 2013
    Posts
    15

    Time keeping Errors

    Hello all

    I have this userform that keeps track of parts going in and out

    I have a couple of issues

    one problem is that when it goes on to the next day it wil not account for a whole day passing

    say it goes in at 4am and come out 4am the next day. it will not tell me 24 hours.

    Another issue is the comparing of cycle times with actual times. I want it to tell me the amount of hours over or under the cycle times. (in order to get negative hours I had to use the 1904 system)


    Any help is greatly appreciated


    I have attached a file of what I have so far
    Attached Files Attached Files
    Last edited by TJ_IE; 11-05-2014 at 07:17 PM.

  2. #2
    Valued Forum Contributor natefarm's Avatar
    Join Date
    04-22-2010
    Location
    Wichita, Kansas
    MS-Off Ver
    2016
    Posts
    1,020

    Re: Time keeping Errors

    You probably need to combine the date/time values into a single column to do the math on them. You could still keep the time in a separate column if you wish, but instead of moving the date-in value to the date-in column, move date-in + time-in to the date-in column. You can keep it formatted as m/d/yy so it won't look any different than it does now, but when you subtract date-in from date-out, it will show the actual hours difference.

    I also noticed a couple of problems with your code when I tried to run it. One is that nextrow was defined as a string. Needs to be a long. The other is that
    Please Login or Register  to view this content.
    needs to be
    Please Login or Register  to view this content.
    I didn't look much beyond that.
    Acts 4:12
    Salvation is found in no one else, for there is no other name under heaven given to mankind by which we must be saved.

  3. #3
    Registered User
    Join Date
    09-30-2014
    Location
    IE, California
    MS-Off Ver
    excel 2010 and 2013
    Posts
    15

    Re: Time keeping Errors

    My apologies for the late reply.



    thank you that helped out by the way I appreciate it.

+ 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. Replies: 9
    Last Post: 08-09-2013, 12:07 AM
  2. [SOLVED] Keeping time value
    By nick2price in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-17-2013, 10:03 AM
  3. Having trouble keeping entering time on a time sheet
    By cranetech in forum Excel General
    Replies: 1
    Last Post: 06-23-2008, 02:16 PM
  4. Help with Time Keeping Formula
    By Barefoot Mark in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-10-2006, 08:54 PM
  5. [SOLVED] Time Keeping
    By Timeless Excel in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 12-03-2005, 09:50 PM

Tags for this Thread

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