Chart Question

tonguencheek

Board Regular
Joined
Apr 6, 2010
Messages
233
Hello. I am looking for a way to chart two sets of data with different dates, but use the dates from the one series as the labels for the x-axis

Here's an example.....say I have these two sets of data:


Code:
01/15/11         0.5
03/15/11         2
05/15/11         2.5
07/15/11         1.75
09/15/11         2.5
11/15/11          3.5

and I also have:

Code:
01/18/11        1
02/25/11        1.5
04/04/11        1.75
05/15/11         2.25
06/29/11        2.5
07/11/11        3
09/25/11       3.2
10/14/11        3.5
11/01/11         4

I would like two lines on the graph, one for each group and the x-axis labels to use the dates from the first group.

Right now when I try to do this I can't figure out how to specify that the data points for the second group have a corresponding set of dates.

Hope this all makes sense, and thanks in advance
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Hi,

I can't paste a copy of the chart I've created, but using this data....

Excel Workbook
ABCDE
1*Data1**Data2
215/01/20110.5*18/01/20111
315/03/20112*25/02/20111.5
415/05/20112.5*04/04/20111.75
515/07/20111.75*15/05/20112.25
615/09/20112.5*29/06/20112.5
715/11/20113.5*11/07/20113
8***25/09/20113.2
9***14/10/20113.5
10***01/11/20114
Sheet7


I have created a chart that has the dates along the bottom axis from the first data range. If that is what you require, in 2007, right click the axis, Format Axis, Text Axis.

I hope that works.

Ak
 
Upvote 0
I'm using 2003, I don't see that option when I go to format axis.

I do have the right date on the bottom, but the issue is that excel isn't recognizing that the second set of data corresponds to a different date. So for example, for the second line using the second group, it plots 1 on 01/15/11, 1.5 on 03/15/11 etc. instead of lining up the points to the dates I want
 
Upvote 0
Wow, thanks so much for taking the time to help!

Looks like the first chart (one in the top left) is the closest. The only issue is that the data points for "data2" aren't lining up to the dates that they correspond to. Instead, those points are plotted with the date from "data1". As an example 1.75 from data 2 is lining up to 05/15/11 instead of 04/04/11. The last three points aren't lining up to any date either.

Hope this makes sense
 
Upvote 0
No problem.
The more I can help the more I can learn, the more I can help.
Take a look at this file to see if it does what you want...


tonguencheek.xls

If this doesn't work then I'm sorry, I'm all out of ideas.

Fingers crossed.

Ak
 
Upvote 0
Unfortunately that doesn't seem to work either as the dates along the x axis aren't in order.

I would be fine with a constant scale on the x axis - say the 15th of every month, but I need to have two lines on the graph that use points on different dates.
 
Upvote 0
Hi,

This is my last offering on this, sorry, I'm all out of ideas, unless you can provide a link to a file that I can view.


Excel Workbook
ABCDEF
1Data1Data2
215/01/201115/01/20110.518/01/20111
315/02/201115/03/2011225/02/20111.5
415/03/201115/05/20112.504/04/20111.75
515/04/201115/07/20111.7515/05/20112.25
615/05/201115/09/20112.529/06/20112.5
715/06/201115/11/20113.511/07/20113
815/07/201125/09/20113.2
915/08/201114/10/20113.5
1015/09/201101/11/20114
1115/10/2011
1215/11/2011
1315/12/2011
Sheet7


Add a new column of dates and use that as your date range.


tonguencheek.xls

I'm sorry if that doesn't work for you.

Ak
 
Upvote 0

Forum statistics

Threads
1,224,508
Messages
6,179,188
Members
452,893
Latest member
denay

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top