+ Reply to Thread
Results 1 to 34 of 34

Creating a timesheet formular

  1. #1
    Registered User
    Join Date
    11-12-2011
    Location
    stanley, durham
    MS-Off Ver
    Excel 2010
    Posts
    21

    Creating a timesheet formular

    Hi

    Thanks for looking, I am wanting to get some help with a formular please.

    I am wanting to be able to input my start and finish time into my time sheet and it automatically fill in fields for hours worked.

    My problem is any hours worked outside 07:00 and 19:00 need to go in a seperate colulmn and if it is less than 11 hours a 30 minute break deducted and 12 hours a 1 hour break deducted

    I have attached a sample of my timesheet

    Any help appreciated

    Tom

  2. #2
    Registered User
    Join Date
    11-12-2011
    Location
    stanley, durham
    MS-Off Ver
    Excel 2010
    Posts
    21

    Re: Creating a timesheet formular

    Hi

    Thanks for looking, I am wanting to get some help with a formular please.

    I am wanting to be able to input my start and finish time into my time sheet and it automatically fill in fields for hours worked.

    My problem is any hours worked outside 07:00 and 19:00 need to go in a seperate colulmn and if it is less than 11 hours a 30 minute break deducted and 12 hours a 1 hour break deducted

    I have attached a sample of my timesheet

    Any help appreciated

    Tom
    Attached Files Attached Files

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Creating a timesheet formular

    Is this what you wanted?
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  4. #4
    Registered User
    Join Date
    11-12-2011
    Location
    stanley, durham
    MS-Off Ver
    Excel 2010
    Posts
    21

    Re: Creating a timesheet formular

    Hi Glenn almost, the figure in cell E6 should be 1 hour (6am till 7am) also was faced with another problem when the shift goes into the following day.

    Thanks for looking.

    Tom

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Creating a timesheet formular

    Hi it is showing 0:30, because I deducted a 30 minute break, as you had specified. Maybe I misunderstood your request:

    "and if it is less than 11 hours a 30 minute break deducted"

    Can you explain exactly what your requirement is regarding breaks...

  6. #6
    Registered User
    Join Date
    11-12-2011
    Location
    stanley, durham
    MS-Off Ver
    Excel 2010
    Posts
    21

    Re: Creating a timesheet formular

    Apollogies should have said meal break to come out of 'normal hours'. I have also had a play and realised if I put 24:30 instead of 00:30 it then calculates. Sorry for the confusion

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Creating a timesheet formular

    I'll have another look at this - to sort out the break...

  8. #8
    Registered User
    Join Date
    11-12-2011
    Location
    stanley, durham
    MS-Off Ver
    Excel 2010
    Posts
    21

    Re: Creating a timesheet formular

    Thanks you are a star!

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Creating a timesheet formular

    If the TOTAL time is less than 11 hours, 30 min break; if the TOTAL time is less than 12 hours, a 1 hour break?? Please clarify... Bak in 20 mins. BtW there was a mistake in my first sheet. This doesn't address the break time, yet. So it's not finished, but the mistake is gone!
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    11-12-2011
    Location
    stanley, durham
    MS-Off Ver
    Excel 2010
    Posts
    21

    Re: Creating a timesheet formular

    Sorry meant over 12 hours then a 1hr break

  11. #11
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Creating a timesheet formular

    OK. Got it. Is this nearer the desired result?
    Attached Files Attached Files

  12. #12
    Registered User
    Join Date
    11-12-2011
    Location
    stanley, durham
    MS-Off Ver
    Excel 2010
    Posts
    21

    Re: Creating a timesheet formular

    Yes, however just tried changing the times (08:00 to 20:00) and the outside normal hours come up with ########

    oh and over 11 hours not 12 as stated previously, over 11 hours we get a 1 hour unpaid meal break.
    Last edited by bufftom; 09-14-2014 at 08:56 AM.

  13. #13
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Creating a timesheet formular

    Im out for a while. I'll sort it ASAP.

  14. #14
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Creating a timesheet formular

    Sorry about the #############. Sorted.

    So...... If the total hours are 11 hours or less, 30 mins are taken off the normal hours. If the total hours are more than 11 hours, 60 mins are taken off the normal hours.
    Attached Files Attached Files

  15. #15
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Creating a timesheet formular

    I have noticed that you make no mention of minimum hours needed in order to get the 30 minutes break. Are the start time fixed and does starting before or after a given start time come into play for determining any of the hour calculations? For example, if the start is 9:00 and end is 21:00 is that the same as 7:00 start and 19:00 end? Are your shifts really 12 hours with 1 hour taken for meals and is the 30 minutes also subtracted?
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  16. #16
    Registered User
    Join Date
    11-12-2011
    Location
    stanley, durham
    MS-Off Ver
    Excel 2010
    Posts
    21

    Re: Creating a timesheet formular

    Yes thats correct, had a look at it and it works fine unless there is a figure outside the 07:00-19:00, ie 20:00-08:00. I really do appreciate the time and help you have given me. I work for the ambulance service so some shifts are not 'regular' hours.

  17. #17
    Registered User
    Join Date
    11-12-2011
    Location
    stanley, durham
    MS-Off Ver
    Excel 2010
    Posts
    21

    Re: Creating a timesheet formular

    Quote Originally Posted by newdoverman View Post
    I have noticed that you make no mention of minimum hours needed in order to get the 30 minutes break. Are the start time fixed and does starting before or after a given start time come into play for determining any of the hour calculations? For example, if the start is 9:00 and end is 21:00 is that the same as 7:00 start and 19:00 end? Are your shifts really 12 hours with 1 hour taken for meals and is the 30 minutes also subtracted?
    Yes its the same, minimum to get a meal break is 6 hours however minimum shift is 8 so not worth adding into the equation, and yes 12 hour shift with 2x 30 mins or by negotiation 1 60 min break.

    Thanks for looking

  18. #18
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Creating a timesheet formular

    OK... One last bit of information is needed. If the shift is 20:00 to 08:00, am I correct in assuming that ALL of that time is classified as Non-normal hours, and should appear in column E? How are the breaks dealt with? If there are no normal hours, they cannot be subtracted from normal hours.

    If the shift partially overlaps with the normal day (e.g. 22:00 to 10:00 the following day), what is the desired result for normal hours (9:00, minus 60 min for a break??) and for extra hours (3:00). If not that, then what?

  19. #19
    Registered User
    Join Date
    11-12-2011
    Location
    stanley, durham
    MS-Off Ver
    Excel 2010
    Posts
    21

    Re: Creating a timesheet formular

    Hi, yes all bar 1 hour would be non normal ours, anything after 19:00 hours and before 07:00 is outside of normal hours in the event of say a shift which is 19:00 to 07:00 meal break would come out of the non normal hours coloumn.

  20. #20
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Creating a timesheet formular

    *%$£ this is getting a bit complicated.... Maybe it's just me. Sometimes I do over-complicate things a bit

    Another final question. If an 11:30 shift overlaps with normal hours by 30 min (say from 20:00 to 07:30), a 1 hour break is due. Does half come from normal hours and half from non-normal hours?

  21. #21
    Registered User
    Join Date
    11-12-2011
    Location
    stanley, durham
    MS-Off Ver
    Excel 2010
    Posts
    21

    Re: Creating a timesheet formular

    It does get slightly more complicated but going to leave that for now (sat and sun are outside normal hours) either for the meal break

  22. #22
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Creating a timesheet formular

    Let's try this out. For now, just ignore my "workings out" at the right. see if the main Table is OK.
    Attached Files Attached Files

  23. #23
    Registered User
    Join Date
    11-12-2011
    Location
    stanley, durham
    MS-Off Ver
    Excel 2010
    Posts
    21

    Re: Creating a timesheet formular

    Yes that is it thank you, I know it is quite simple (but been working for 24 out of the last 40 hours and brain is puddled) but how would I put that/those formulas into the rest of the month?

    Rep has already been added as you are great!

  24. #24
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Creating a timesheet formular

    Enjoying a beer now. I'll add the last bit once my glass is empty!

  25. #25
    Registered User
    Join Date
    11-12-2011
    Location
    stanley, durham
    MS-Off Ver
    Excel 2010
    Posts
    21

    Re: Creating a timesheet formular

    Cheers doing the same now lol

  26. #26
    Registered User
    Join Date
    11-12-2011
    Location
    stanley, durham
    MS-Off Ver
    Excel 2010
    Posts
    21

    Re: Creating a timesheet formular

    Just to add a slightly different problem into this, can it be inserted into a word document, namely the attached?
    Attached Files Attached Files

  27. #27
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Creating a timesheet formular

    The spread sheet is now in a final form. I'll look at the other bit (word doc) in the morning. Time for another beer.
    Attached Files Attached Files

  28. #28
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Creating a timesheet formular

    Short answer: No. Longer answer: You can insert the sheet as a workbook in Excel; but it would be a total bo**** to use.This would be the computing equivalent of tying a sack of potatoes round Usain Bolt's waist and expecting him to win races...

    Design all the "other stuff" into your Excel sheet..

  29. #29
    Registered User
    Join Date
    11-12-2011
    Location
    stanley, durham
    MS-Off Ver
    Excel 2010
    Posts
    21

    Re: Creating a timesheet formular

    Thanks I have done just that. However somehow in the editing I have lost the formula from the 1st row tried copying and pasting the formula from original but it says something is missing.
    Attached Files Attached Files

  30. #30
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Creating a timesheet formular

    I don't know what happened when you did that - but it looks OK now.
    Attached Files Attached Files

  31. #31
    Registered User
    Join Date
    11-12-2011
    Location
    stanley, durham
    MS-Off Ver
    Excel 2010
    Posts
    21

    Re: Creating a timesheet formular

    Brilliant thank you big time!

  32. #32
    Registered User
    Join Date
    11-12-2011
    Location
    stanley, durham
    MS-Off Ver
    Excel 2010
    Posts
    21

    Re: Creating a timesheet formular

    Just out of curiosity how difficult would it be to put say a tick box on all the dates (or anywhere else if easier) so that when it is ticked it recognises it all as 'outside normal hours' for weekends

  33. #33
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Creating a timesheet formular

    Oh yea... you did mention that earlier. Leave it with me; I think that it'll not be that difficult.

  34. #34
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Creating a timesheet formular

    Try to break this. Month and year are selected via a dropdown box. The weekends then shade a very pale green. On weekends, all hours count as non-normal... Anything else?
    Attached Files Attached Files

+ 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. Creating a timesheet with rather complicated overtime calculations
    By montywest in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-02-2014, 08:21 AM
  2. [SOLVED] Creating a Timesheet
    By Jennifer in forum Tips and Tutorials
    Replies: 33
    Last Post: 05-14-2007, 04:03 PM
  3. I need help creating formula(s) for timesheet
    By joliveira in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 02-23-2007, 06:16 PM
  4. [SOLVED] Creating a Timesheet
    By Judy in forum Tips and Tutorials
    Replies: 6
    Last Post: 08-23-2005, 12:28 PM
  5. Creating a Timesheet/Calculating Time
    By mgarcia1234 in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 02-25-2005, 11:47 AM

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