Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
SDK SDK is offline
external usenet poster
 
Posts: 3
Default creating a mean line in a bar graph

I would like to create a mean line for a bar graph with a data series that
includes 5 categories. The trick is that I would like to create the mean line
using only 4 of the categories (the fifth is don't know). Any ideas of how I
can select only 4 of the 5 to create a mean reference line? Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 1,071
Default creating a mean line in a bar graph

Assuming the bar chart has vertical bars (i.e., it is what Excel considers a
column chart)...

In a column adjacent to the one containing your data, in the first row add
the formula to calculate the average (=AVERAGE({cell1:cell4}). In the next
row enter ={previous cell} Copy this down to the next 3 cells. Add this new
column to your chart. In the chart, select the new column, then select Chart
| Chart Type... | and select the first option in the Line chart category.

If you want the line to span the entire width of the chart, see Jon
Peltier's http://peltiertech.com/Excel/Charts/...orzSeries.html In
fact, he uses AVERAGE in his example so you can follow along as long as you
create the average by excluding the last point in your data set.

--

Tushar Mehta
http://www.tushar-mehta.com
Custom business solutions leveraging a multi-disciplinary approach
In Excel 2007 double-click to format may not work; right click and select
from the menu


"SDK" wrote:

I would like to create a mean line for a bar graph with a data series that
includes 5 categories. The trick is that I would like to create the mean line
using only 4 of the categories (the fifth is don't know). Any ideas of how I
can select only 4 of the 5 to create a mean reference line? Thanks.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating an"Average" Line in a Scatter Graph Chris Fearon Charts and Charting in Excel 2 March 11th 07 10:25 PM
Cluster stacked graph AND line combo graph? [email protected] Charts and Charting in Excel 6 October 14th 06 12:33 AM
Creating a graph similar to a stacked column graph Jonathan Charts and Charting in Excel 6 August 4th 06 04:23 PM
creating a regression line in a graph sirsoto Charts and Charting in Excel 1 November 10th 05 02:20 AM
Creating a line graph from 2 pivot tables? gmodi Charts and Charting in Excel 3 March 7th 05 02:09 PM


All times are GMT +1. The time now is 07:05 PM.

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

About Us

"It's about Microsoft Excel"