+ Reply to Thread
Results 1 to 2 of 2

Adding a categorical series that is dependent on an already existing series

  1. #1
    Registered User
    Join Date
    06-19-2017
    Location
    Columbus, Ohio
    MS-Off Ver
    2016
    Posts
    1

    Adding a categorical series that is dependent on an already existing series

    I am trying to create a clustered bar chart. The x axis is service area (zip code) and the y axis is percentage of patients. I have two bars for each zip code corresponding to a source facility and a receiving facility. I would also like to demonstrate if the zip code is part of the facility's primary or secondary service area. In my table, "1" is primary and "0" is secondary. I want to create another series, but I don't want to create another bar. I'd just like the already existing bars to have a solid fill if primary and pattern fill if secondary.

    I know I can just do this manually, but I will be creating a tool for others to use so I'm trying to find a way for the chart to automatically generate when the data is entered. Additionally, for the attached data, the primary and secondary service areas are identical for both facilities; however, not all cases are like this.

    Any feedback or additional resources are appreciated! Thank you
    Attached Files Attached Files

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,438

    Re: Adding a categorical series that is dependent on an already existing series

    Add 2 more series and move both to secondary axis.

    Format original columns to be shaded.
    The 2 new series will have solid fill.
    Delete secondary vertical axis.
    Remove 1st for series from legend, unless you want the shaded legend entries displayed.

    The data for the 2 new series will be based on formula that only display data if the site is a primary one.
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

+ 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. [SOLVED] Adding 1 series of data in 234 charts were 3 series already exist
    By Joachimjr in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 07-10-2014, 01:56 AM
  2. =SERIES and charts (adding two cells in a series formula)
    By benmmaddog in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-11-2013, 09:52 PM
  3. Need help, adding data series to existing chart using SeriesCollection.Add Method?
    By ath1337 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-05-2012, 05:29 PM
  4. Excel 2007 : Dependent Chart Series
    By HangMan in forum Excel General
    Replies: 2
    Last Post: 07-12-2011, 06:57 AM
  5. Adding Series to my existing VBA Macro
    By dan_hibiki in forum Excel Charting & Pivots
    Replies: 8
    Last Post: 05-24-2010, 05:54 AM
  6. Adding Series to an Existing Graph
    By ebachenh in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-16-2006, 06:41 PM
  7. [SOLVED] series graph -- one series being added to another series
    By rich zielinski via OfficeKB.com in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 03-30-2005, 02:06 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