+ Reply to Thread
Results 1 to 3 of 3

Secondary vertical axis trouble

  1. #1
    Registered User
    Join Date
    01-16-2014
    Location
    92665859
    MS-Off Ver
    Excel 2010
    Posts
    8

    Secondary vertical axis trouble

    Hello,

    I am having trouble creating a secondary vertical axis with a stacked chart.

    My data is like this:

    Location / Revenue / Profit
    Phoenix / 3,000 / 500
    Dallas / 2,200 / 400
    Boise / 900 / 125

    I've created a stacked chart with one vertical axis showing a stack for Revenue and a second stack for Profit (each stack including each of the 3 locations).

    Would like to have the Profit data plotted along a secondary vertical axis. Instructions on office.microsoft.com say to "click the arrow in the Chart Elements box, and then click the data series that you want to plot along a secondary vertical axis."

    The problem is that the series are Phoenix, Dallas and Boise. I don't want one of them plotted on the secondary axis. I want the Profit number for each series (in other words, the second stack in my existing chart) to plot along the secondary vertical axis.

    Would appreciate any advice on how to make this happen.

    Thanks!
    Joey

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,623

    Re: Secondary vertical axis trouble

    In such case, I'd probably prepare helper table for graphing (or change original one) to look like:
    PHP Code: 
    Location   Revenue  Profit
    Phoenix      3000    
    Dallas       2200    
    Boise        900    
    Phoenix1               500
    Dallas1                400
    Boise1                 125 
    after that you end up with 6 series - 3 for primary and 3 for secondary axes)
    I added 1 at end of names to make it easier to spot in Chart Elements list

    After moving to secondary axis you probably will change bar colors to duplicate these from primary, and then remove unwanted legend entries (or whole legend?)

    small trick - how to quickly remove single entry from legend:
    - click on Phoenix1 in legend
    whole legent will be selected
    - click on it again (not doubleclick here!)
    only this single legend entry will be selected
    - press Delete (or rightclick and choose Delete)

    See attached file
    3 stages:
    1) as created
    2) 3 series moved to secondary axis
    3) color formatting and legend correction.

    Enjoy!
    Attached Files Attached Files
    Best Regards,

    Kaper

  3. #3
    Registered User
    Join Date
    01-16-2014
    Location
    92665859
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Secondary vertical axis trouble

    Thanks, Kaper. That's what I needed to know!

+ 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. Secondary vertical axis and labeling
    By slildersftp in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 04-04-2013, 08:28 PM
  2. Replies: 0
    Last Post: 06-13-2011, 11:11 AM
  3. Replies: 6
    Last Post: 12-07-2010, 02:54 PM
  4. Changing secondary vertical axis values
    By KINNEY0201 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-14-2010, 07:34 PM
  5. Replies: 0
    Last Post: 07-13-2005, 05:05 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