+ Reply to Thread
Results 1 to 7 of 7

Work Rota

  1. #1
    Registered User
    Join Date
    03-25-2010
    Location
    Hastings, England
    MS-Off Ver
    Excel 2003
    Posts
    9

    Work Rota

    Hey, I have just taken over the responsibility of completing the rotas for staff at work and I'm trying to work from the old system as much a possible.

    I want it to calculate the number of hours worked per week for each individual and put it into the subtotal section without changing the format massively is this possible.

    Here is a link to what im working with http://tinypic.com/r/ae2zw3/5

  2. #2
    Registered User
    Join Date
    03-25-2010
    Location
    Hastings, England
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Work Rota

    Sorry for double post just realised i could attach an example workbook
    Attached Files Attached Files

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Work Rota

    If it's as simple as establishing working days then perhaps:

    =8*SUM(COUNTIF(C3:C9,{"COURSE","*-*"}))

    If the shift length varies from 8 hours (not so in your file) then things become a little more complex.

    Let us know.

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Work Rota

    Whilst I'm around I figure I'd post a solution to cater for possibility of non 8 hour shifts, eg:

    =SUM(IF(ISNUMBER(--LEFT(C$3:C$9)),MOD(REPLACE(C$3:C$9,1,FIND("-",C$3:C$9),"")-LEFT(C$3:C$9,FIND("-",C$3:C$9)-1),12)))+8*COUNTIF(C$3:C$9,"Course")
    confirmed with CTRL + SHIFT + ENTER

    Note the point about the above requiring Array entry... note that for COURSE an 8 hour day is assumed.

  5. #5
    Registered User
    Join Date
    03-25-2010
    Location
    Hastings, England
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Work Rota

    That has worked perfect thankyou so much!

    One more thing would it be possibe to have it show up red if i have booked in a late to an early like shown in the example
    Attached Files Attached Files

  6. #6
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Work Rota

    Using your sample file...

    If you highlight range C12:J12 (selecting C12 first), set the default fill to Green, then apply the following Conditional Formatting Formula rule of:

    Please Login or Register  to view this content.
    set format for this condition to be Red

  7. #7
    Registered User
    Join Date
    03-25-2010
    Location
    Hastings, England
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Work Rota

    You my friend are amazing thankyou so much!

+ 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