+ Reply to Thread
Results 1 to 6 of 6

Staff Scheduler

  1. #1
    Registered User
    Join Date
    07-12-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    22

    Staff Scheduler

    Hi,

    I'm trying to make a scheduler that will count the number of staff in a given hour, including those who fall in overlapping schedules. Sheet1 will calculate the number of staff in a given 1 hour interval whose schedule is listed in sheet2. if it can be done in VBA, it would be much better. Please help.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    09-25-2011
    Location
    Eastbourne, England
    MS-Off Ver
    Excel 2010
    Posts
    1,089

    Re: Staff Scheduler

    Hi Baldowsky

    I am trying to think of a way of doing this (but don't let that stop anyone else finding a solution!)

    How do you want part hours shown? If someone works 4:30 - 13:30 will that person appear in both the time slot commencing 4:00 and the one commencing 13:00? (they will then be in 10 hourly slots for 9 hours worked). An alternative would be to only record them if they are present at the beginning (or the end) of a time slot.

    A more logical way might be to have the time slots starting on the half hour.

    Regards
    Alastair

  3. #3
    Registered User
    Join Date
    07-12-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: Staff Scheduler

    Quote Originally Posted by aydeegee View Post
    Hi Baldowsky

    I am trying to think of a way of doing this (but don't let that stop anyone else finding a solution!)

    How do you want part hours shown? If someone works 4:30 - 13:30 will that person appear in both the time slot commencing 4:00 and the one commencing 13:00? (they will then be in 10 hourly slots for 9 hours worked). An alternative would be to only record them if they are present at the beginning (or the end) of a time slot.

    A more logical way might be to have the time slots starting on the half hour.

    Regards
    Alastair
    I have to agree with what you said, it is more logical to have a half hour interval.

  4. #4
    Registered User
    Join Date
    07-12-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: Staff Scheduler

    I've found a solution from this forum http://www.excelforum.com/excel-form...each-hour.html, but the challenge now is how to calculate the data for schedules that has overlapping days. (ex. Sunday evening to Monday morning)

    Please see attached document
    Attached Files Attached Files
    Last edited by Baldowsky; 01-07-2014 at 05:02 PM.

  5. #5
    Valued Forum Contributor
    Join Date
    09-25-2011
    Location
    Eastbourne, England
    MS-Off Ver
    Excel 2010
    Posts
    1,089

    Re: Staff Scheduler

    Hi Baldowsky

    Sorry for the delay in getting back to you - I have had some hardware problems - but all is now well.

    I looked at the solution and decided to do my own thing! It is often easier.

    Working of having the schedule based on the hour (rather than our agreed more logical half hour) I have worked on the assumption that if the person works 4:30 - 13:30 the will not appear in the 4:00 starting slot (because they were not there at the beginning of the time slot) but will appear in the 13:00 time slot. (Note that this does give an interesting result for those starting at 23:30 as they are not recorded until the next day.

    I did not understand your comment
    (ex. Sunday evening to Monday morning)
    so I ignored it . Your example shows Saturdays and Sundays - so I have.

    You will note that I have run a check (in green) to ensure that all hours are carried across.

    Let me know if this works for you.

    Regards
    Alastair
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    07-12-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: Staff Scheduler

    Hi Alastair,

    This is awsome. thanks a lot.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Providing how many times staff members have been late by staff ID
    By SG56001235 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-18-2013, 10:47 PM
  2. Running Excel from task scheduler. Scheduler doesn't end
    By tony h in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-31-2013, 09:49 PM
  3. Staff Planner - How To Set Up UserForm to Generate Data into Staff & Date Spreadsheet
    By Marie Snell in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-19-2013, 11:04 PM
  4. [SOLVED] Staff Scheduler one more issue
    By Motoxboi26 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-31-2013, 09:04 AM
  5. [SOLVED] Staff Scheduler.....can't quite get it right
    By Motoxboi26 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-08-2013, 08:26 PM

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