+ Reply to Thread
Results 1 to 4 of 4

Thread: Stacked Bar Graph with Average Line

  1. #1
    Registered User
    Join Date
    03-24-2009
    Location
    Ormond Beach, FL
    MS-Off Ver
    Excel 2003
    Posts
    2

    Stacked Bar Graph with Average Line

    Please help. We are trying to create a stacked bar graph with an average line. Each time we try to add in the average data to the graph it adds it to the stacked bar. The stacked bar should represent the inpatient & outpatient cases at a hospital for the current year (months showing across the as columns). The line should represent the previous 2-yr average total. Anyone have an idea how to add a line to the stacked bar graph? It has us stumped. Thanks!
    Last edited by VBA Noob; 04-02-2009 at 02:17 PM.

  2. #2
    Valued Forum Contributor mdbct's Avatar
    Join Date
    11-11-2005
    Location
    CT
    MS-Off Ver
    2003 & 2007
    Posts
    844

    Re: Stacked Bar Graph with Average Line

    Add your average data (allow it to be added to the stack). Right click on the data series for the average line and choose Chart Type.... Choose the line type you want to use and format accordingly.

  3. #3
    Valued Forum Contributor mdbct's Avatar
    Join Date
    11-11-2005
    Location
    CT
    MS-Off Ver
    2003 & 2007
    Posts
    844

    Re: Stacked Bar Graph with Average Line

    I neglected to mention that you need to create the stacked portion first then add the average line a a second data series.

  4. #4
    Registered User
    Join Date
    03-24-2009
    Location
    Ormond Beach, FL
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Stacked Bar Graph with Average Line

    Worked perfectly!! Thanks for letting us know the secret.

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