View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.charting
John Mansfield John Mansfield is offline
external usenet poster
 
Posts: 235
Default 30 Day Moving Average on 30 Day Bar Chart

Charles,

Once you have your second series set up as bars, you can change the bars to
a line by doing the following:

Click once on any of the bars that make up the second series.
Choose "Chart" from the toolbar.
Go to "Chart Type".
Choose "line" and hit "OK".

--
John


"Charles in Iraq" wrote:

Okay, this sounds like a good idea - have a separate series to
plot the 30 day moving average and compute the values of
this series with the AVG function.

However, this still leave one problem: how to draw this second
series on the chart as a line instead of a bar. Is this possible?
Can I format one series on a chart as a bar while I format the
other as a line?

"Del Cotter" wrote:

On Fri, 30 Mar 2007, in microsoft.public.excel.charting,
Charles in Iraq said:
How can I use the last 60 days of data to compute this
trendline while only plotting the last 30 days as bars on
the chart?


The trick is to realise that, alone of all the possible calculations
that you can do with your data, trend lines are controlled at the chart.
This fools a lot of people into thinking they need to treat Excel as a
Chart program with a little cell-based data entry facility. It's not,
it's a spreadsheet with a little chart display facility.

Make your moving average in your spreadsheet using the AVERAGE()
function, and plot the thirty days of that, along with the thirty days
of data. Best to put a little text box note on the chart as well,
explaining to the reader of the chart what you did.

--
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.