+ Reply to Thread
Results 1 to 11 of 11

Secondary Axis without overlapping bars

  1. #1
    Forum Contributor
    Join Date
    06-12-2007
    Posts
    144

    Secondary Axis without overlapping bars

    I have a bar chart with 2 series of data using separate axis
    But I cant seem to get the bars to be side by side, they are always overlapping.

    Sorry but my chart is embedded inside a PowerPoint presentation, i cant seem to get it back out.

    Hope you can help
    Attached Files Attached Files
    Last edited by treva26; 03-17-2010 at 08:16 PM.

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: Secondary Axis without overlapping bars

    If you post your data and chart as an Excel file or as an editable table in Powerpoint, I can show you how to fix it. But I'm not going to re-type your values to create the chart.

  3. #3
    Forum Contributor
    Join Date
    06-12-2007
    Posts
    144

    Re: Secondary Axis without overlapping bars

    ___see below___
    Last edited by treva26; 03-17-2010 at 03:20 AM.

  4. #4
    Forum Contributor
    Join Date
    06-12-2007
    Posts
    144

    Re: Secondary Axis without overlapping bars

    Oh I managed to extract it...
    Attached Files Attached Files

  5. #5
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: Secondary Axis without overlapping bars

    working off the data in your original attachment (because I did not see the subsequent posts before I prepared my reply)

    attached Excel sheet shows how to prepare the data so the two data series plot side by side. Important points to note:

    - set series overlap to 0%
    - create two dummy columns with zero values for each series, to make room for the series on the other axis (columns C and D in the attached file).

    This will muck up the automatic data table display in the chart, so you will have to trick this by copying and pasting. I have prepared the source data to show the helper columns in light gray. Format them as white text on white background and reduce the column width to a minimum. Do not hide the columns, as that will make the series in the chart disappear. Just resize them to minimum acceptable width, set the cell borders accordingly, to encapsulate the two columns for each series in a thick border, then take a screen shot of the data table and splice it into your slide.

    cheers

  6. #6
    Forum Contributor
    Join Date
    06-12-2007
    Posts
    144

    Re: Secondary Axis without overlapping bars

    Awesome thank you!

  7. #7
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: Secondary Axis without overlapping bars

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

  8. #8
    Registered User
    Join Date
    10-02-2011
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    1

    Re: Secondary Axis without overlapping bars

    Hello, I've downloaded your chart and trying to replicate it using mine and your data but having difficulty. Any chance of a step by step?

    At the moment: Two dummy series as set up in your example, whited out, reduced to min width. Then I create a column chart, but unable to select the percentage series as it's too small to select, so adding the secondary axis on the total series and they appear OK, but slightly overlapped and different width columns and not sure how to rectify that - Gap width 150%, Overlap 0% as your charts are. Any help is appreciated. Thanks very much.

  9. #9
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: Secondary Axis without overlapping bars

    Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread.

  10. #10
    Registered User
    Join Date
    04-12-2012
    Location
    Edinburgh, Scotland
    MS-Off Ver
    2010
    Posts
    24

    Re: Secondary Axis without overlapping bars

    The number of people looking for a solution to this, only to have to implement a messy work around, suggests that MS should have fixed this issue a long time. It's a pretty basic feature to have sorted out at some point in the last 10 years...

  11. #11
    Registered User
    Join Date
    03-18-2021
    Location
    Mexico
    MS-Off Ver
    365
    Posts
    2

    Re: Secondary Axis without overlapping bars

    Helpful! Thank you.

+ 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.6.0 RC 1