+ Reply to Thread
Results 1 to 11 of 11

Work Schedule Timesheet

  1. #1
    Registered User
    Join Date
    12-19-2009
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    5

    Work Schedule Timesheet

    I have made a work schedule for my local business and have set up a series of formulas that will fill out time cards that I could print out directly onto the paper time cards. The formulas that I have work except that if there are two subsequent entries that later will not return a value and result in an error. If you could take a look at it that would be awesome. To use it you just need to type a name into the name column and a work time into the time column for that day. then in the other sheets( one for each worker ) it will set up the time card. The the error happens on Thursday, when Bob has an entry right after Fred. Then on Bobs sheet it gives me a #N/A. Why?

    This is the formula That I am using.
    Please Login or Register  to view this content.
    Where G$1 is the name of the worker, SundayWorkers is the array of workers for sunday, and SundayHours is the array of hours for sunday.
    Attached Files Attached Files

  2. #2
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Work Schedule Timesheet

    Hi Qin,

    Welcome to the forum!

    LOOKUP will fail if it's target is not sorted alphabetically.

    Try this formula instead:

    Please Login or Register  to view this content.
    Cheers,
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  3. #3
    Registered User
    Join Date
    12-19-2009
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Work Schedule Timesheet

    A second Question. What would I need to add to check if a worker has two entries on a single day? Because this will just return the first entry.
    Last edited by Qin; 12-19-2009 at 04:30 PM.

  4. #4
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Work Schedule Timesheet

    Use the COUNTIF function.

  5. #5
    Registered User
    Join Date
    12-19-2009
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Work Schedule Timesheet

    Thanks you so much for your help. I see one more complication though. What if I have someone working a split shift. I know I would need to split the time boxes into two parts to accommodate for this, but then how do I change the formula to pick up a second entry and also record the time. I re uploaded the new time sheet.
    Attached Files Attached Files

  6. #6
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Work Schedule Timesheet

    Hi Qin,

    You also may want to consider what happens if someone works through midnight, e.g. 22:00-06:00 hours.

    As you've surmised, at this point you might wish to revisit your data input page and re-configure the time entry column. If you split the time entry cell into three cells, ("Start", "End", "Hours Worked"), you should be able to use the SUMIF function to collect the employees' total time worked.

    Cheers,

  7. #7
    Registered User
    Join Date
    12-19-2009
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Work Schedule Timesheet

    We are only open until 12pm so that is not a problem.

    If you look at the updated time sheet I have fixed it up so that it will generate the start, stop, and total hours worked, but for only one entry of that person per day. Is there a way to make it work for multiple entries of the same person on one day. could it just be 'CONCATENATED'ed onto the end of the string?

  8. #8
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Work Schedule Timesheet

    Hi Qin,

    Note the hi-lited yellow changes in the attached.

    Cheers,
    Last edited by ConneXionLost; 01-03-2010 at 03:00 PM.

  9. #9
    Registered User
    Join Date
    12-19-2009
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Work Schedule Timesheet

    The Index Function searches from the top of the list to the bottom of the list. Is there a way to inverse this and search from the bottom to the top. I am trying to solve the problem of having a split shift. I would like to get the times start and end times of the person each time his name appears on the list.

  10. #10
    Registered User
    Join Date
    03-15-2010
    Location
    Rome, GA
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: Work Schedule Timesheet



    E8 is time in, F8 is time out for lunch, G8 is time back in from lunch and H8 is time out at end of day.

    I am looking for a formula that would give me total hours worked in I8, can someone please help me out on this?

  11. #11
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Work Schedule Timesheet

    Welcome to the forum.

    Please take a few minutes to read the forum rules, and then start your own thread.

    Thanks.
    Entia non sunt multiplicanda sine necessitate

+ 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