+ Reply to Thread
Results 1 to 6 of 6

Staffing Volume Graph

  1. #1
    Registered User
    Join Date
    06-14-2012
    Location
    Ohio
    MS-Off Ver
    Microsoft 365
    Posts
    76

    Staffing Volume Graph

    We are trying to make a staffing overview to show us how many employees are on-site on each half hour by the day. We have a table of Employee, Shift Start Time, Shift End Time, Total Shift Hours. Example: Bob Smith works 8:30am to 5:00pm for a total of 8.5 hours. We have over 50 employees in one department, so, we're trying to find a charting system (graph, pivot, etc.) where we can easily plug in the employees information into a table and the charting system shows us how many employees are there by the hour/half-hour, as well as, apply a red/yellow/green conditioning format to show the higher volume times. Clear as mud? I've attached a sample of a manual process that we're currently using.
    Attached Files Attached Files

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Staffing Volume Graph

    OK here is my shot at it. It depends on named ranges and offsets.

    The first named range is T_0700 =INDIRECT('Contol Panel'!$B$2 & "!$B$3:$BA$3") - This is the row associated with 7 AM for the sheet selected in cell B2.

    Once we know this range, we can define other ranges from it. For example 7:30 AM is T_0730 =OFFSET(T_0700,1,0) - this means the same range as T_0700, only a row lower. I had a program generate the other 23 ranges.

    Here is more information on named ranges: http://www.utteraccess.com/wiki/Offs...Dynamic_Ranges.

    Once the ranges are established, then it was simply a matter of summing up how many 1's there were in each row and then plotting that.

    As an extra feature, I threw in some data validation in cell B2, so you can select the day of the week from the drop down list to assure you always spell it correctly.
    Attached Files Attached Files
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Registered User
    Join Date
    06-14-2012
    Location
    Ohio
    MS-Off Ver
    Microsoft 365
    Posts
    76

    Re: Staffing Volume Graph

    Thank you so much for taking a stab at it! What I'm wanting to do is eliminate the need to have a manual schedule with 1's listed throughout their shift time (by the half hour). What I had attached is the current manual process (which is daunting when you're looking at 100 employees). Here's an example of a staffing table that I'm looking at. I know there's a way to take this data and turn it into a Gantt view (which I have); I just don't know how to take this data and show me my staffing volume by the half hour (so I can see my high volume hours of the day). I can easily pop in a Pivot Table but that only shows me how many people I have starting and ending on the listed hours; it doesn't give any data of the in-between hours.

    Employee Shift Start Time Shift End Time Total Shift Hours
    A 8:00AM 4:30PM 8.5
    B 8:00AM 4:30PM 8.5
    C 7:00AM 7:00PM 12.0
    D 9:00AM 6:00PM 9.5
    E 9:30AM 7:00PM 10.5
    F 8:30AM 5:00PM 8.5
    I appreciate any and all help on this so thank you very much!!

  4. #4
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Staffing Volume Graph

    OK, try this. In columns A:C you have the employees and what shifts they are in. This is an excel table, so as you add or delete records from it, the formulas in column F will adjust automatically. Column F is a COUNTIFS to check if the time in column E is between the start and end times.

    To clear the data in the table, highlight all the rows in any column(s) in the table, right click and select Delete -> Table Rows.

    Then you can copy / paste your data into cell A2. Make sure the start times and end times are actually numeric and not strings that look like times. If they are strings, you'll have to do some "conversion."

    Once the data is copied in, everything else happens automatically.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    06-14-2012
    Location
    Ohio
    MS-Off Ver
    Microsoft 365
    Posts
    76

    Re: Staffing Volume Graph

    This is PERFECT!! Thank you so much! Now our next step is to figure out how to incorporate timed lunch breaks into our Gantt view...Might be another post about that

    I appreciate you!!

  6. #6
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Staffing Volume Graph

    Maybe another two columns to show start and end of the breaks. You may need 4 columns if the person's shift is long enough to need two breaks. Use the same kind of logic to total up this time except subtract it from the gross figure. Having blank times in the break columns (meaning no second or for that matter, first break) should not be an issue. If it is there should be a way to "escape" those rows.

+ 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. Organize Data in Worksheet as shown on Graph to Calculate Volume
    By clb09 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-14-2013, 06:23 PM
  2. How to calculate volume of a 3d graph
    By Coaster in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 04-17-2012, 10:08 AM
  3. macro for call volume forecasting and staffing
    By angelo0921 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-19-2010, 11:02 PM
  4. Drawing a graph from a large volume of unusual data
    By mems555 in forum Excel General
    Replies: 6
    Last Post: 02-01-2006, 02:20 PM
  5. How do I prepare a cost-volume-profit (CVP) graph using EXCEL?
    By Jane in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 10-17-2005, 08:05 AM
  6. [SOLVED] Staffing bar chart for restaurant staffing
    By KMo5 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-23-2005, 10:06 AM

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