+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    11-13-2009
    Location
    Horsfield Bay, Australia
    MS-Off Ver
    Excel 2007
    Posts
    32

    2007: Making a graph to form Roster/Bar Lines

    Hey guys,
    Im in the middle of improving my excel spreadsheet which keeps track of what employees are rostered and when.

    At the moment, Employees are in Column A, then is goes MONDAY, Column B is start time, Column C in Finish time and Column D is how many hours that employee is working on that day (i.e. D = C - B).

    What I want to do it make a line graph where the X axis is the hours we are open (i.e. 11am - 11pm). The Y axis is the employees names and then there is a line for each employee. The line starts and finish with the employees Start Time and Finish time, and obviously it will be a straight line.

    If anyone can help me this would be really great!

    Thanks in advance,
    Regan

  2. #2
    Registered User
    Join Date
    11-13-2009
    Location
    Horsfield Bay, Australia
    MS-Off Ver
    Excel 2007
    Posts
    32

    Re: 2007: Making a graph to form Roster/Bar Lines

    I forgot to mention, after Column D, Column's E, F, G are repeated from columns B, C, D for Tuesday and the same repitition for Wednesday - Sunday. I would like to make it so I have a different graph for each of these days.

    Regan

  3. #3
    Registered User
    Join Date
    11-13-2009
    Location
    Horsfield Bay, Australia
    MS-Off Ver
    Excel 2007
    Posts
    32

    Re: 2007: Making a graph to form Roster/Bar Lines

    Attached is a sample of what I am working with.
    Attached Files Attached Files

  4. #4
    Forum Moderator teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    2003 & 2010
    Posts
    10,042

    Re: 2007: Making a graph to form Roster/Bar Lines

    See attached.

    Chart is a stacked bar chart. First series is the values in Start column, second series is the values in HR:MIN column. Hide first series by setting it to no fill, no line . Now the shift times float.

    The x axis is formatted to show 11 am (= 0.458333333) as the minimum and 11 pm (0.958333333) as the maximum, with steps of 1 hour (0.041666667)

    hth
    teylyn
    Microsoft MVP - Excel
    At Excelforum, you can say "Thank you!" by clicking the icon below the post.

    Avoid pie charts with more than two data points. Why? See here (pdf, 559 kb). The only acceptable pie chart is here.

  5. #5
    Registered User
    Join Date
    11-13-2009
    Location
    Horsfield Bay, Australia
    MS-Off Ver
    Excel 2007
    Posts
    32

    Re: 2007: Making a graph to form Roster/Bar Lines

    Hey
    Just had one quick question. Because I won't have all 20 of my crew on everyday, is there anyway to make only those who are working appear on the sheet?

  6. #6
    Forum Moderator teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    2003 & 2010
    Posts
    10,042

    Re: 2007: Making a graph to form Roster/Bar Lines

    teylyn
    Microsoft MVP - Excel
    At Excelforum, you can say "Thank you!" by clicking the icon below the post.

    Avoid pie charts with more than two data points. Why? See here (pdf, 559 kb). The only acceptable pie chart is here.

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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.2.0