+ Reply to Thread
Results 1 to 6 of 6

Adding two vertical line graphs to a bar graph

  1. #1
    Registered User
    Join Date
    08-15-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Office 2016
    Posts
    15

    Adding two vertical line graphs to a bar graph

    Good day,

    I have a horizontal bar graph (values), and would like to add, ideally, two vertical line graphs (percentages) on top of the bar graph.

    I found an example at peltiertech.com - but cannot duplicate it.

    What I have also tried is graphing all three pieces of data as bar graphs, then selecting the other series and changing their chart style to an XY scatter. My main problem is that I cant seem to get a secondary horizontal axis on the top of the graph for the percentages.

    Is this possible with Excel 2010? Does anyone have any suggestions?

    Thanks,
    FF

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

    Re: Adding two vertical line graphs to a bar graph

    Should be possible.

    Post example of your workbook, data and chart
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    08-15-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Office 2016
    Posts
    15

    Re: Adding two vertical line graphs to a bar graph

    Andy,

    I've attached the data worksheet and chart.

    Thanks,
    FF
    Attached Files Attached Files

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

    Re: Adding two vertical line graphs to a bar graph

    You need to define the x and y values for the 2 xy-scatter series.

    The values in your table are the X values. You will need to create a set of Y values, where 0.5 is the center of the first bar and the increment between centers is 1.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    08-15-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Office 2016
    Posts
    15

    Re: Adding two vertical line graphs to a bar graph

    Andy,

    Thanks so much for the help! I knew I had to be missing something.

    Thanks,
    FF

  6. #6
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Adding two vertical line graphs to a bar graph

    @ futbolfan

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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