+ Reply to Thread
Results 1 to 9 of 9

timesheet formula

  1. #1
    Registered User
    Join Date
    05-06-2012
    Location
    Katikati, New Zealand
    MS-Off Ver
    Excel 2010
    Posts
    4

    timesheet formula

    Hi

    Could you please help me with a formula for my timesheets?

    I have attached part of a timesheet but I don't know how to work out times for all the day and night shift workers in 24 hour clock (which is what we have to use) and splitting the time into ordinary time and anything after midnight on Friday is time and a half and also Sunday to Monday.

    e.g. start time 1900 - finish time 0730 is 12.5 hours ordinary time

    Friday 1900 - 0730 into Saturday would be 5 hours ordinary time and 7.5 time and a half
    Sunday 1900 - 0730 into Monday would be 7.5 hours ordinary time and 5 hours time and a half

    Thanks very much
    Attached Files Attached Files

  2. #2
    Forum Contributor Russell Dawson's Avatar
    Join Date
    03-01-2012
    Location
    Yorkshire, England
    MS-Off Ver
    2007
    Posts
    608

    Re: timesheet formula

    Hi Sandra-Jane

    Welcome to the forum.

    See what you think about the attached. I've been able to split the times as described I hope but haven't been able to suss out the totals at the bottom for office use and I'm running out of time now.

    Hopefully someone will be able to help if you still have a problem.

    Regards

    Russell
    Attached Files Attached Files
    If I helped, please don't forget to add to my reputation. (click on the star below the post)

    If the problem is solved, please: Select Thread Tools (on top of your 1st post) -> Mark this thread as Solved.

    Failure is not falling down but refusing to get up.

  3. #3
    Registered User
    Join Date
    05-06-2012
    Location
    Katikati, New Zealand
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: timesheet formula

    Hi Russell

    Thanks for that - I know you're busy but if you have time could you have another look at the times - when I try to put in the 24 hour time it throws everything out!

    Thanks Sandra-Jane

  4. #4
    Registered User
    Join Date
    05-06-2012
    Location
    Katikati, New Zealand
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: timesheet formula

    I'm sorry Russell - I wasn't clear with what I wanted - the start times and finish times need to be in 24 hour time - the ordinary time and time and a half are just normal hours.
    Thank you!

  5. #5
    Forum Contributor Russell Dawson's Avatar
    Join Date
    03-01-2012
    Location
    Yorkshire, England
    MS-Off Ver
    2007
    Posts
    608

    Re: timesheet formula

    Hi Sandra-Jane

    OK - format D5:E18 as Custom - hh:mm and make sure that when entries are made you are using a colon e.g. 15:00 rather than 15.00. The hours to be calculated for normal and time and a half are correct I assume. Please confirm that it displays and calculates as required. Don't forget, these need to show as what appears to be 24 hour format but really are only showing number of hours worked.

    I may need to ask for help on the totals.

    Regards

    Russell
    Last edited by Russell Dawson; 05-08-2012 at 02:34 AM. Reason: Clarity

  6. #6
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: timesheet formula

    @Sandra-Jane:

    i am not sure how easy or difficult it is to implement for you, my recommendation would be to capture dates related to both start and finish times. otherwise, cases such as Row 11 and 12 versus 13 and 14 would be rendered confusing.

    11: 06:00 PM 07:30 PM
    12: 07:00 PM 07:30 PM
    13: 08:00 PM 07:30 PM
    14: 09:00 PM 07:30 PM

    in case of 11, it is difficult to say whether the individual works for only 1.5 hours or for 25.5 hours; similarly in 12, 0.5 hour or 24.5 hours.

    if you are able to capture finish dates too, the timesheet may be easier to accomplish.
    Last edited by icestationzbra; 05-08-2012 at 04:33 AM.
    - i.s.z -
    CSE, aka Array aka { }, formulae are confirmed with CONTROL+SHIFT+ENTER.
    Replace commas ( , ) with semicolons ( ; ) in formulae, if your locale setting demands.
    All good ideas are courtesy resources from this forum as well as others around the web.
    - e.o.m -

  7. #7
    Forum Contributor Russell Dawson's Avatar
    Join Date
    03-01-2012
    Location
    Yorkshire, England
    MS-Off Ver
    2007
    Posts
    608

    Re: timesheet formula

    Hi Sandra-Jane

    I've had some help on this thanks to Bob Philips and Vlady and it works.

    Updated w/s attached

    Regards

    Russell
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    05-06-2012
    Location
    Katikati, New Zealand
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: timesheet formula

    I would like to thank Russell Dawson, Bob Philips and Vlady and icestationzbra for all their help - I really appreciate it!
    This is such a brilliant forum and I couldn't believe how quickly I got my answer!
    Thank you again!
    Sandra-Jane

  9. #9
    Forum Contributor Russell Dawson's Avatar
    Join Date
    03-01-2012
    Location
    Yorkshire, England
    MS-Off Ver
    2007
    Posts
    608

    Re: timesheet formula

    Thanks Sandra-Jane, it's nice to know we are appreciated. Please remember to mark the thread as solved.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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