+ Reply to Thread
Results 1 to 8 of 8

Help with designing timesheet for work

  1. #1
    Registered User
    Join Date
    01-10-2007
    Posts
    16

    Thumbs up Help with designing timesheet for work

    I am trying to design a time sheet that auto calculates hours worked by putting in start and end time for each day of the week.
    The formula I tried is -
    =SUM(C4-B4)+(E4-D4)+(G4-F4)+(I4-H4)+(K4-J4)+(M4-L4)+(O4-N4)

    This doesn't seem to be working properly and also it wont allow me to enter text in a box for say a "day off" or a "sick day" without the formula causing an error, is there a way round this?

    I'm relatively new to excel and what I have learnt is been self taught, so I would be grateful for any help
    Attached Files Attached Files
    Last edited by pbraid; 01-11-2007 at 03:29 PM. Reason: attacment supplied

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Here's some sample Timesheets which should help

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

    http://www.j-walk.com/ss/excel/files/timesht.htm

    http://www.vertex42.com/ExcelLinks/cat/popular.html


    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Registered User
    Join Date
    01-10-2007
    Posts
    16

    thanks

    Thanks for your quick reply.

    However i'm a bit lost with the code.

    I have attached a screenshot for ppl to look at. I want to add start time with end time for each day, I don't need lunch in or out and if possible it would be good to be able to input text without the formula erroring

    thanks again.

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    If you add the sheet someone will take a look

    VBA Noob

  5. #5
    Registered User
    Join Date
    01-10-2007
    Posts
    16

    help designing timesheet for work

    I have added the timesheet for some kind person to look at and see where i'm going wrong.

    thanks.
    Attached Files Attached Files

  6. #6
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Hi,

    Does this help

    VBA Noob
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    01-10-2007
    Posts
    16

    thanks again

    that seemed to work great however if i have inputed mon-sat and try to input sunday it doesn't add this also for some reason?

    thanks once again for all your help

  8. #8
    Registered User
    Join Date
    01-10-2007
    Posts
    16

    nearly works

    it almost works however does not seem to calculate all days for some reason.

    thanks again for your help.


+ 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