+ Reply to Thread
Results 1 to 10 of 10

Timesheets for hourly paid staff

  1. #1
    Registered User
    Join Date
    05-04-2007
    Posts
    13

    Timesheets for hourly paid staff

    I'm pretty new to Excel, but have set up a timesheet for staff who sometimes work two variable shifts in one day.

    Each employees hours are entered on a separate row as follows:
    Five cells for each day - In, Out, In, Out (into which times are entered) and Total. The formula for the Total cell is =((D9-C9+(D9<C9))+(F9-E9+(F9<E9)))*24

    This is repeated across the row for each day - with a WEEK TOTAL hours at the end which adds each of the daily totals. Hope this makes sense.

    This Weekly Total cell is then linked to a new sheet. Again each employee has their own row. The linked cell is then multiplied by a cell with the hourly rate (say £6.00) inserted. So far this all works. However, I have been asked to pay the staff a different rate (£6.50) for evening work after 18:00 hours. How should I go about this?

    Regards
    Jenni

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    May be this link can help you?

    http://www.cpearson.com/excel/overtime.htm
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  3. #3
    Registered User
    Join Date
    05-04-2007
    Posts
    13
    Thanks, but thats how I got this far.

    To clarify, I need to work out the amount of hours per week worked after 18:00 to midnight, to pay these at a different rate.

    Regards
    Jennii

  4. #4
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    OK, how about this, if the end of day time is in F9, insert an additional column and in G9, headed "Overtime Hrs", put this

    =IF(F9>0.75,F9-0.75,"") format the cell to [hh]:mm

  5. #5
    Registered User
    Join Date
    05-04-2007
    Posts
    13
    Thanks for the response, I've uploaded the file.

    Regards
    Jennii
    Attached Files Attached Files

  6. #6
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    OK, I've modified the formula to suit your spreadsheet. I've hidden to columns that calculate the overtime per day, but you have a total at the far right that adds all these hidden cells up.

    This figure then goes to your payroll sheet and calculates the overtime. For this exercise I've assumed "time+half"

    Hope this helps, let me know? I'm off to bed now
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    05-04-2007
    Posts
    13
    Wow, thanks. You're a gem!

    It's almost perfect!!! - although the OT total is showing as 2:30 hours and the calculations on the other sheets need to say 2.5 hours. I think I can probably figure this. I'll play around with it...

    It would be very helpful if you would explain your formula briefly, just so I learn something from this and don't bug you with the same sort of question.

    Your help is most appreciated.

    Regards
    Jennii

  8. #8
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    =IF(F9="",IF(D9>0.75,D9-0.75,0),IF(F9>0.75,F9-0.75,0))

    The formula is a "nested" IF, more here http://www.cpearson.com/excel/nested.htm

    1 day = 24:00 hours, half =12:00, .75 = 18:00

    So what it says is if F9 is blank, look in D9 for the end time, and if that end time greater than .75 then take the end time from .75 to give you the overtime worked, if it isn't greater then no overtime.

    But if F9 isn't blank, and then if the end time is greater than .75 then take the end time from .75 to give you the overtime worked, if it isn't greater then no overtime.

    Hope I've explained that enough?

  9. #9
    Registered User
    Join Date
    05-04-2007
    Posts
    13
    Very helpful, thank you very much.

    Regards
    Jennii

  10. #10
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Glad to help - thanks for the feedback

+ 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