+ Reply to Thread
Results 1 to 4 of 4

Working out hours worked if start one day, finish another (nights)

  1. #1
    Registered User
    Join Date
    09-25-2013
    Location
    Wales
    MS-Off Ver
    Excel 2010
    Posts
    2

    Question Working out hours worked if start one day, finish another (nights)

    Hi guys,

    Just wondering if anyone can help with this:

    I am trying to make a spreadsheet for timesheets, however I am getting stuck when somebody starts on one day, then finishes on the next (ie, night shift).

    Can anybody show/tell me the best way to work this out?

    Thanks

    Marc

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Working out hours worked if start one day, finish another (nights)

    I think an hour will incrememnt the date "serial number" by 0.0416666 (1/24), therefore, working from serial numbers, the number of hours between two dates is:
    =ABS(B1-A1)*24

  3. #3
    Registered User
    Join Date
    09-25-2013
    Location
    Wales
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Working out hours worked if start one day, finish another (nights)

    Think Ive got it from that.
    Thanks a bunch!

  4. #4
    Registered User
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,160

    Re: Working out hours worked if start one day, finish another (nights)

    Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.

    In future, to mark your thread as Solved, you can do the following -
    Select Thread Tools-> Mark thread as Solved.

    Incase your issue is not solved, you can undo it as follows -
    Select Thread Tools-> Mark thread as Unsolved.

    Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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. Calculate finish time given start time, working hours and job duration
    By swanseaexcel in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-23-2012, 03:00 PM
  2. Replies: 4
    Last Post: 09-21-2012, 12:58 AM
  3. Replies: 4
    Last Post: 06-26-2012, 02:19 AM
  4. Formula count of hours between start/finish times
    By robenson in forum Excel General
    Replies: 3
    Last Post: 02-14-2011, 07:01 AM
  5. Formulating Different Start/Finish Dates with Man Hours
    By dbaddorf in forum Excel General
    Replies: 5
    Last Post: 05-06-2008, 10:15 AM

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