+ Reply to Thread
Results 1 to 9 of 9

Timesheet different taking hours for different shifts from time sheet

  1. #1
    Registered User
    Join Date
    02-10-2012
    Location
    ireland
    MS-Off Ver
    Excel 2002
    Posts
    8

    Timesheet different taking hours for different shifts from time sheet

    Hi Guys wondering if you could help me

    i need to create a time sheet where by hours from 7 am to 18:00(6pm) get placed in one area and then hours after this get placed in another area to work out how many hours worked on on morning shift and then in the evening. as sometimes we only work 2 hours between 7-18 and then 8 after that your help would be greatly appreciatedTimeSheet.xls

  2. #2
    Registered User
    Join Date
    02-10-2012
    Location
    ireland
    MS-Off Ver
    Excel 2002
    Posts
    8

    Re: Timesheet different taking hours for different shifts from time sheet

    Bump anyone willing to help?

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Timesheet different taking hours for different shifts from time sheet

    Didn't I give you formulas for this on another forum somewhere? Do you have the link to that so we have a starting point, at least?
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Timesheet different taking hours for different shifts from time sheet

    If I understood yoyur request correctly, I think the attached SS has what you need. You were not too clear on what constituted "Night" hours, so I did not include anything for that.

    Let me know if this is what you wanted, or if there is anything else I can add for you
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Registered User
    Join Date
    02-10-2012
    Location
    ireland
    MS-Off Ver
    Excel 2002
    Posts
    8

    Re: Timesheet different taking hours for different shifts from time sheet

    FDibbins thanks m8 thats exactly what i needed, yeah sorry i did not provide the times for night as i figured if i got what i need for evening i could modify it myself. i will work on it and if i can't get your help again. JBeaucaire i dont think so i posted on one forum of a related nature but was requested to start my own thread. thanks for the help though

  6. #6
    Registered User
    Join Date
    02-10-2012
    Location
    ireland
    MS-Off Ver
    Excel 2002
    Posts
    8

    Re: Timesheet different taking hours for different shifts from time sheet

    Hi FDibbins no i can't figure out how to get it to use past 00:00, The night shift would be from 00:00(midnight) untill 07:00 could you help me out one last time i think this is way beyond my basic programming ability. i will be eternally grateful

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Timesheet different taking hours for different shifts from time sheet

    I have updated the formulas and streamlined them. I think it gives you wnat you want for all 3 categories. I made a table with range names to simplify the formulas, do not delete the table or the formylas will not work. You can either move it elsewhere, of hide the columns it is in.

    Let me know if you need anything else

  8. #8
    Registered User
    Join Date
    02-10-2012
    Location
    ireland
    MS-Off Ver
    Excel 2002
    Posts
    8

    Re: Timesheet different taking hours for different shifts from time sheet

    you my friend are a legend thanks so much makes my life a million times easier

  9. #9
    Registered User
    Join Date
    02-10-2012
    Location
    ireland
    MS-Off Ver
    Excel 2002
    Posts
    8

    Re: Timesheet different taking hours for different shifts from time sheet

    Hey one more question i have found that i get some errors if i dont enter any time for 7 -18 00 so say i start at 21:30 and finish at 02:00 then it will not work? any ideas

+ 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