A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Charts and Charting
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Graph where source data has different dates



 
 
Thread Tools Display Modes
  #1  
Old October 2nd, 2008, 12:35 AM posted to microsoft.public.excel.charting
chas
external usenet poster
 
Posts: 100
Default Graph where source data has different dates

I'm trying to do a comparision line graph with two series of data. The are
both tracked by date with the same range (from April 2008 to April 2009).
However one series has data monthly and the other has data weekly. When I
try to combine on a graph the dates just don't line up.

Is it possible to have these line up correctly. I've tried formatting the
axis to days instead of months but it appears to only line up data points.
So for the data reported monthly, it is graphed across the first 12 days.

Hopefully that makes sense. If not, just let me know & I'll try to clarify.

Thanks!
  #2  
Old October 2nd, 2008, 12:43 PM posted to microsoft.public.excel.charting
Jon Peltier
external usenet poster
 
Posts: 5,018
Default Graph where source data has different dates

Make the line chart with the first set of data, and set the X axis to use
days as the base unit. Add the second set of data, which produces a second
line series using the X values for the first series. Convert just this
series to an XY type, which breaks its dependence on the first set of X
values. Then, in Excel 2003 or earlier, you can move the XY series back to
the primary axis, and it will be aligned appropriately. In 2007 you have to
keep the XY on the secondary axis, and align all the scales yourself.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"Chas" wrote in message
...
I'm trying to do a comparision line graph with two series of data. The
are
both tracked by date with the same range (from April 2008 to April 2009).
However one series has data monthly and the other has data weekly. When I
try to combine on a graph the dates just don't line up.

Is it possible to have these line up correctly. I've tried formatting the
axis to days instead of months but it appears to only line up data points.
So for the data reported monthly, it is graphed across the first 12 days.

Hopefully that makes sense. If not, just let me know & I'll try to
clarify.

Thanks!



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:25 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.