Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.charting
|
|||
|
|||
![]()
Hi,
I have a line chart with 2 data series. One for actual balance and one for budgeted balance. The y-axis is $ amount, the x-axis is month. There are 12 points on the x-axis. (Jan to Dec). I have 12 data points for the budgeted balance. I'm using a dynamically named range for the # of data points for the actual balance series based on the current accounting month. (Jan shows 1 point, Feb shows 2 points etc.) I'm trying to add a 3rd series for Projected balance which would start where the actual balance stops. I have another dynamically names range as the data source. I have already calculated figures for the Projected balance. My problem is that it correctly plots the May $ amount but it plots in January on the x-axis. Is there an offset somewhere that will allow me to move the starting point for the Projected series line? -- TIA Chuck M. |
#2
![]()
Posted to microsoft.public.excel.charting
|
|||
|
|||
![]()
On Fri, 1 Jun 2007, in microsoft.public.excel.charting,
Chuck M said: I have a line chart with 2 data series. One for actual balance and one for budgeted balance. The y-axis is $ amount, the x-axis is month. There are 12 points on the x-axis. (Jan to Dec). I have 12 data points for the budgeted balance. I'm using a dynamically named range for the # of data points for the actual balance series based on the current accounting month. (Jan shows 1 point, Feb shows 2 points etc.) I'm trying to add a 3rd series for Projected balance which would start where the actual balance stops. I have another dynamically names range as the data source. I have already calculated figures for the Projected balance. My problem is that it correctly plots the May $ amount but it plots in January on the x-axis. Is there an offset somewhere that will allow me to move the starting point for the Projected series line? It sounds like you have a Line chart style, but you're expecting the series to behave like an XY (Scatter) chart style. Line charts all share the same X axis range, and the nth value of the series always lines up with the nth value of the single X range. This is true even with the "Time-scale" axis type. If you want to stick with the Line chart style, then make your third series have as many spaces in the front as necessary so that the right value for the series has the right X-value. If you want to keep the series as it is, then change the style of the chart to XY (Scatter), and ensure that the months are numeric values, e.g. 1-12. Then each series can have its own X-range that works with that series. -- Del Cotter NB Personal replies to this post will send email to , which goes to a spam folder-- please send your email to del3 instead. |
#3
![]()
Posted to microsoft.public.excel.charting
|
|||
|
|||
![]()
Hi,
Since you are using dynamic range names then here is what you can do: 1. Set up a dynamic range name formula like: =IF(MATCH(E2,C5:C16,0)+ROW(C4)<ROW(C5:C16),1,0)*E5 :E16 In this example the Months are listed in the range C5:C16, the current month is in E2, and the ROW(C4) just adjust for the fact that the match start on row 5. You could modify to eliminate that. The range E5:E16 contains the Projected values. With this the Projected column can contain values in all the cells or just in the cells after the current month. Also, depending on how you are treating the current month you may want to change the < to <=. Cheers, Shane Devenshire "Chuck M" wrote in message ... Hi, I have a line chart with 2 data series. One for actual balance and one for budgeted balance. The y-axis is $ amount, the x-axis is month. There are 12 points on the x-axis. (Jan to Dec). I have 12 data points for the budgeted balance. I'm using a dynamically named range for the # of data points for the actual balance series based on the current accounting month. (Jan shows 1 point, Feb shows 2 points etc.) I'm trying to add a 3rd series for Projected balance which would start where the actual balance stops. I have another dynamically names range as the data source. I have already calculated figures for the Projected balance. My problem is that it correctly plots the May $ amount but it plots in January on the x-axis. Is there an offset somewhere that will allow me to move the starting point for the Projected series line? -- TIA Chuck M. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Data Series Question | Charts and Charting in Excel | |||
2nd Axes - primary series data of only 1 series disappears! | Charts and Charting in Excel | |||
how do I plot a data series against two series | Charts and Charting in Excel | |||
chart data series -- plot a table as a single series | Charts and Charting in Excel | |||
QUESTION- Simpler Way to Add a Data Series to Other Graphs? | Excel Discussion (Misc queries) |