+ Reply to Thread
Results 1 to 7 of 7

Two sets of data with different dates in one chart

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    11-13-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    279

    Two sets of data with different dates in one chart

    Hi,

    I have attacked a file. I would like chart that has the dates of both series on one x-axis in excel 2010. I would have thought it easy but cant manage myself.
    help gratefully received.
    thanks
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,432

    Re: Two sets of data with different dates in one chart

    What chart type are you using? I find that this is very easy on an XY scatter chart, but much more difficult on other chart types.
    1) Create an XY scatter chart from one of the data series.
    2) Go into the "select data" dialog (chart design group) and add the 2nd data series (both x and y values).
    3) Format chart as desired.

    The main drawback to using a scatter plot is that a scatter plot does not support the "date" axis that many prefer when the x values are dates. If simplicity overrides this drawback, this is probably the easiest approach.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Forum Contributor
    Join Date
    11-13-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    279

    Re: Two sets of data with different dates in one chart

    Thanks but unfortunately I need one of the data series to be a column chart, and the other a line chart.
    Thanks,

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,432

    Re: Two sets of data with different dates in one chart

    Is it necessary to be on the same axis system?

    One way I can create this combination is to add the secondary axis system. Starting with an XY scatter so that I can readily add the two data series (steps 1 and 2 above)
    3) Select series 2 -> format -> plot on secondary axis be sure the secondary x axis also shows up (https://support.office.com/en-us/art...8-e1a2e14dd5a9 I believe that 2010 is similar)
    4) change the chart type of series 2 to a line chart
    5) change the chart type of series 1 to a column chart
    6) Format chart as desired
    6a) You will likely want to manually format the secondary axis system so that it matches up with the primary axis system (Axis format dialog -> set min and max values as desired).
    6b) If seeing the secondary axis system is bothersome, format the secondary axes so they are less visible or invisible.

  5. #5
    Forum Contributor
    Join Date
    11-13-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    279

    Re: Two sets of data with different dates in one chart

    Hi Mr Shorty,

    I have taken your advice but I still can't do it. This seems a bit ridiculous but is there any chance you could do it for me in the attached? I honestly don't know what I am doing wrong! If you scroll down to the bottom of column F for series2...those values are nowhere to be seen on the chart!!

    Thanks so much
    Attached Files Attached Files

  6. #6
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,432

    Re: Two sets of data with different dates in one chart

    It appears to me that you neglected one important step -- the step to add the secondary horizontal category/x axis. In the attachment, all I have done is select chart -> Chart tools -> Axes -> Secondary Horizontal Axis -> Show left to right axis. You will probably want to find this command so you can access it in the future. You will probably also still want to format the axes so that the dates match up closer between the primary and secondary horizontal axis.
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    11-13-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    279

    Re: Two sets of data with different dates in one chart

    Thanks very much. I have now hidden the secondary axis (i.e. without labels) so it is attractive, and made the start and end dates the same so that the two charts match up. Thanks very much,

+ 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] Plotting two sets of data with different dates on same line chart (Excel 2010)
    By archedjumpshot in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 01-29-2015, 01:05 PM
  2. Replies: 2
    Last Post: 05-21-2014, 09:32 AM
  3. HELP: Plotting 3 sets of different dates on same chart
    By teatree0526 in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 01-20-2014, 12:52 PM
  4. Plot 3 sets of data in scatter chart and area chart in one
    By geoffs52 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 12-24-2009, 04:42 AM
  5. Plotting a line chart with 2 sets of values and dates?
    By shockeroo in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 10-08-2008, 05:02 AM
  6. [SOLVED] How to chart 3 sets of data?
    By plsntn_rules in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 12-17-2005, 10:45 AM
  7. [SOLVED] Two sets of data on one chart
    By AYakos in forum Excel General
    Replies: 3
    Last Post: 03-06-2005, 01:06 AM

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