+ Reply to Thread
Results 1 to 8 of 8

Would like to automate creating new 3 shift pattern

  1. #1
    Registered User
    Join Date
    01-11-2012
    Location
    Kent, England
    MS-Off Ver
    Excel 2010
    Posts
    96

    Would like to automate creating new 3 shift pattern

    Hi

    I have been dumped with the task of maintaining our departments shift patterns and would like to be able to automate it so I could create and new pattern and calendar without having to make a new sheet from scratch each time. I have attached the shift spreadsheet (which I inherited from my manager. Any help greatly appreciated
    Attached Files Attached Files
    Last edited by rosshkerr; 08-19-2012 at 04:24 PM.
    Cheers

    Ross

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,718

    Re: Would like to automate creating new 3 shift pattern

    Hi Ross,

    I looked at this for you some time ago, but didn't get chance to progress very far with it. This time I hope I'll be able to stick with it, but it will take some time to build the necessary formulae, so don't hold your breath !!

    Presumably you want to specify the year somewhere and the starting shift in the first week of January and then everything else will slot into place automatically?

    I'll give it a go and get back to you - but, my daughters are visiting this weekend from tomorrow, so it is likely to be next week at the earliest.

    Pete

  3. #3
    Registered User
    Join Date
    01-11-2012
    Location
    Kent, England
    MS-Off Ver
    Excel 2010
    Posts
    96

    Re: Would like to automate creating new 3 shift pattern

    Hi Pete,

    Yes to your question and any help would be appreciated, whenever you get the time. Have a great weekend with your daughters

    Thanks

    Ross

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,718

    Re: Would like to automate creating new 3 shift pattern

    Hi Ross,

    I see that you have posted the file as an .xls file, although your Excel version is 2007. Is there any chance that this file is likely to be used by someone with XL2003 or earlier? This affects the number of conditional formats that are allowed in each cell.

    Pete

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,718

    Re: Would like to automate creating new 3 shift pattern

    Hi Ross,

    the womenfolk went out looking for wedding dresses today, so I was able to get stuck in and have finished it off.

    Before I release it, though, can you explain what the shaded areas of the calendar represent around Christmas and New Year? Are you closed during these dates, and if so what are the rules that govern your closure? On your attachment you seem to be closed from 24th Dec onwards, but is this always the case? When do you return in the New Year, and does the shift pattern pick up from where it got to when you closed?

    Pete

  6. #6
    Registered User
    Join Date
    01-11-2012
    Location
    Kent, England
    MS-Off Ver
    Excel 2010
    Posts
    96

    Re: Would like to automate creating new 3 shift pattern

    Hi Pete

    Sorry for the delayed reply, very busy. To answer your questions:

    I doubt if anyone will be using anything other than 2007
    The shaded areas are indeed a christmas shutdown
    We tend to shut down as close to Christmas eve as we can
    We usually return as soon after 1st Jan as possible
    And yes, the shift pattern follows on from the previous year

  7. #7
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,718

    Re: Would like to automate creating new 3 shift pattern

    Hi Ross,

    thanks for getting back to me. I've attached the file that I completed last week, as I haven't done any more work on it since then. The auto-calendar sheet is protected to prevent any accidental over-writing of the formulae, but there is no password so you can easily un-protect it if you need to. You will notice that I have changed the layout, so that the days of the week are aligned rather than the day number - I think this is easier to follow, and is more like a standard planning chart.

    To use the file all you need to do is select the appropriate year in cell U1 (from the drop-down or by typing the year directly), and then specify in cell H6 (the first Friday in January) which shift occurs in the mornings that week - this cell is coloured red until you enter a value of 1, 2 or 3. The calendar will automatically adjust to the year, and display your shift patterns once the first shift is identified.

    You will notice if you do a Print Preview that there is enough room on a standard A4 printout to display the first month of the following year, and this is why I asked about the Christmas arrangements. I've not tried to implement those as I have only just seen your response, but the pattern continues at the moment as if there were no shut-down. If I don't get chance to do anymore work on it, you could just delete those bottom few rows if they cause confusion, so that you just have a single year displayed.

    Anyway, hope this helps - I'm sure you know what to do if you think this solves your problem.

    Pete
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    01-11-2012
    Location
    Kent, England
    MS-Off Ver
    Excel 2010
    Posts
    96

    Re: Would like to automate creating new 3 shift pattern

    Hi Pete

    I have only just got in from a day at the beach and downloaded the file but it looks superb, just what I was after. Thanks very much and hope the wedding goes well.

+ 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