+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Forum Contributor
    Join Date
    06-12-2007
    Posts
    129

    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 09:16 PM.

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

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

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

    Re: Secondary Axis without overlapping bars

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

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

    Re: Secondary Axis without overlapping bars

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

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

    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
    Attached Files Attached Files
    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.

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

    Re: Secondary Axis without overlapping bars

    Awesome thank you!

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

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

  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 Moderator teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    2003 & 2010
    Posts
    10,042

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

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