#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 51
Default Line Graphs?

I have data that covers the whole year. I am trying to create a line graph
for which ever month is selected. The data is layed out as follows:

Col A date
Col E data
Cell D1 dropdown list with the months of the year.

What formular would I use in the source data of a graph to only show figures
for a particular month?
--
WH99
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6,582
Default Line Graphs?

You could filter the data source, because a chart only shows unhidden cells
by default.

Or you could define dynamic ranges that include only the month in question:

http://pubs.logicalexpressions.com/P...cle.asp?ID=246

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


"WH99" wrote in message
...
I have data that covers the whole year. I am trying to create a line graph
for which ever month is selected. The data is layed out as follows:

Col A date
Col E data
Cell D1 dropdown list with the months of the year.

What formular would I use in the source data of a graph to only show
figures
for a particular month?
--
WH99



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 51
Default Line Graphs?

Thank you Jon,
I shall first try the link you sent me then the filter one.
I shall let you know how I get on.
--
WH99


"Jon Peltier" wrote:

You could filter the data source, because a chart only shows unhidden cells
by default.

Or you could define dynamic ranges that include only the month in question:

http://pubs.logicalexpressions.com/P...cle.asp?ID=246

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


"WH99" wrote in message
...
I have data that covers the whole year. I am trying to create a line graph
for which ever month is selected. The data is layed out as follows:

Col A date
Col E data
Cell D1 dropdown list with the months of the year.

What formular would I use in the source data of a graph to only show
figures
for a particular month?
--
WH99




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 51
Default Line Graphs?

Jon,
I tried the dynamic chart and it works fine. Just one further question.
How do I add a trend line that marks from 0 to 48:00 hours in my graph.The
problem I am having on each graph the scale is different depending on how
many hours there are in a month. Is there a way to plot the same trend line
on different scale graphs?
--
WH99


"WH99" wrote:

Thank you Jon,
I shall first try the link you sent me then the filter one.
I shall let you know how I get on.
--
WH99


"Jon Peltier" wrote:

You could filter the data source, because a chart only shows unhidden cells
by default.

Or you could define dynamic ranges that include only the month in question:

http://pubs.logicalexpressions.com/P...cle.asp?ID=246

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


"WH99" wrote in message
...
I have data that covers the whole year. I am trying to create a line graph
for which ever month is selected. The data is layed out as follows:

Col A date
Col E data
Cell D1 dropdown list with the months of the year.

What formular would I use in the source data of a graph to only show
figures
for a particular month?
--
WH99




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6,582
Default Line Graphs?

Is your trendline not supposed to include all the plotted points? A
trendline uses all points in a series. If you want a trendline for only the
data between 0 and 48 hours, you need to add a series (which could be hidden
using no line and no markers) and apply the trendline to this series.

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



"WH99" wrote in message
...
Jon,
I tried the dynamic chart and it works fine. Just one further question.
How do I add a trend line that marks from 0 to 48:00 hours in my graph.The
problem I am having on each graph the scale is different depending on how
many hours there are in a month. Is there a way to plot the same trend
line
on different scale graphs?
--
WH99


"WH99" wrote:

Thank you Jon,
I shall first try the link you sent me then the filter one.
I shall let you know how I get on.
--
WH99


"Jon Peltier" wrote:

You could filter the data source, because a chart only shows unhidden
cells
by default.

Or you could define dynamic ranges that include only the month in
question:

http://pubs.logicalexpressions.com/P...cle.asp?ID=246

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


"WH99" wrote in message
...
I have data that covers the whole year. I am trying to create a line
graph
for which ever month is selected. The data is layed out as follows:

Col A date
Col E data
Cell D1 dropdown list with the months of the year.

What formular would I use in the source data of a graph to only show
figures
for a particular month?
--
WH99







  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 51
Default Line Graphs?

I have the plotted line on the graph but I wish to add a additional straight
line starting at zero and crossing the 48 hour line. This way I can monitor
through the month if we are on track or not to attchieve 48 hours by the end
of the month.
--
WH99


"Jon Peltier" wrote:

Is your trendline not supposed to include all the plotted points? A
trendline uses all points in a series. If you want a trendline for only the
data between 0 and 48 hours, you need to add a series (which could be hidden
using no line and no markers) and apply the trendline to this series.

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



"WH99" wrote in message
...
Jon,
I tried the dynamic chart and it works fine. Just one further question.
How do I add a trend line that marks from 0 to 48:00 hours in my graph.The
problem I am having on each graph the scale is different depending on how
many hours there are in a month. Is there a way to plot the same trend
line
on different scale graphs?
--
WH99


"WH99" wrote:

Thank you Jon,
I shall first try the link you sent me then the filter one.
I shall let you know how I get on.
--
WH99


"Jon Peltier" wrote:

You could filter the data source, because a chart only shows unhidden
cells
by default.

Or you could define dynamic ranges that include only the month in
question:

http://pubs.logicalexpressions.com/P...cle.asp?ID=246

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


"WH99" wrote in message
...
I have data that covers the whole year. I am trying to create a line
graph
for which ever month is selected. The data is layed out as follows:

Col A date
Col E data
Cell D1 dropdown list with the months of the year.

What formular would I use in the source data of a graph to only show
figures
for a particular month?
--
WH99






  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6,582
Default Line Graphs?

A line is defined by two points, right? Enter this into a range of cells in
your sheet (humor me and keep the top left cell blank):

Target
X1 Y1
X2 Y2

Copy the range, select the chart, and use Paste Special to add the data to
the chart as a new series. If necessary, change the added series to an XY
type, though for most purposes you probably should be using that chart type
already.

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


"WH99" wrote in message
...
I have the plotted line on the graph but I wish to add a additional
straight
line starting at zero and crossing the 48 hour line. This way I can
monitor
through the month if we are on track or not to attchieve 48 hours by the
end
of the month.
--
WH99


"Jon Peltier" wrote:

Is your trendline not supposed to include all the plotted points? A
trendline uses all points in a series. If you want a trendline for only
the
data between 0 and 48 hours, you need to add a series (which could be
hidden
using no line and no markers) and apply the trendline to this series.

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



"WH99" wrote in message
...
Jon,
I tried the dynamic chart and it works fine. Just one further question.
How do I add a trend line that marks from 0 to 48:00 hours in my
graph.The
problem I am having on each graph the scale is different depending on
how
many hours there are in a month. Is there a way to plot the same trend
line
on different scale graphs?
--
WH99


"WH99" wrote:

Thank you Jon,
I shall first try the link you sent me then the filter one.
I shall let you know how I get on.
--
WH99


"Jon Peltier" wrote:

You could filter the data source, because a chart only shows
unhidden
cells
by default.

Or you could define dynamic ranges that include only the month in
question:

http://pubs.logicalexpressions.com/P...cle.asp?ID=246

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


"WH99" wrote in message
...
I have data that covers the whole year. I am trying to create a
line
graph
for which ever month is selected. The data is layed out as
follows:

Col A date
Col E data
Cell D1 dropdown list with the months of the year.

What formular would I use in the source data of a graph to only
show
figures
for a particular month?
--
WH99








  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 51
Default Line Graphs?

Sorry Jon, I dont understand! is there another way to explain. Iv tried
following your instruction with no luck. I might have to be taken through
step by step.
.........................sorry!!!!
--
WH99


"Jon Peltier" wrote:

A line is defined by two points, right? Enter this into a range of cells in
your sheet (humor me and keep the top left cell blank):

Target
X1 Y1
X2 Y2

Copy the range, select the chart, and use Paste Special to add the data to
the chart as a new series. If necessary, change the added series to an XY
type, though for most purposes you probably should be using that chart type
already.

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


"WH99" wrote in message
...
I have the plotted line on the graph but I wish to add a additional
straight
line starting at zero and crossing the 48 hour line. This way I can
monitor
through the month if we are on track or not to attchieve 48 hours by the
end
of the month.
--
WH99


"Jon Peltier" wrote:

Is your trendline not supposed to include all the plotted points? A
trendline uses all points in a series. If you want a trendline for only
the
data between 0 and 48 hours, you need to add a series (which could be
hidden
using no line and no markers) and apply the trendline to this series.

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



"WH99" wrote in message
...
Jon,
I tried the dynamic chart and it works fine. Just one further question.
How do I add a trend line that marks from 0 to 48:00 hours in my
graph.The
problem I am having on each graph the scale is different depending on
how
many hours there are in a month. Is there a way to plot the same trend
line
on different scale graphs?
--
WH99


"WH99" wrote:

Thank you Jon,
I shall first try the link you sent me then the filter one.
I shall let you know how I get on.
--
WH99


"Jon Peltier" wrote:

You could filter the data source, because a chart only shows
unhidden
cells
by default.

Or you could define dynamic ranges that include only the month in
question:

http://pubs.logicalexpressions.com/P...cle.asp?ID=246

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


"WH99" wrote in message
...
I have data that covers the whole year. I am trying to create a
line
graph
for which ever month is selected. The data is layed out as
follows:

Col A date
Col E data
Cell D1 dropdown list with the months of the year.

What formular would I use in the source data of a graph to only
show
figures
for a particular month?
--
WH99









  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6,582
Default Line Graphs?

Here is the procedure to add a horizontal line to a chart:

http://peltiertech.com/Excel/Charts/...orzSeries.html

It sounds like you want a sloped line, so your two points need different Y
as well as X values.

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


"WH99" wrote in message
...
Sorry Jon, I dont understand! is there another way to explain. Iv tried
following your instruction with no luck. I might have to be taken through
step by step.
........................sorry!!!!
--
WH99


"Jon Peltier" wrote:

A line is defined by two points, right? Enter this into a range of cells
in
your sheet (humor me and keep the top left cell blank):

Target
X1 Y1
X2 Y2

Copy the range, select the chart, and use Paste Special to add the data
to
the chart as a new series. If necessary, change the added series to an XY
type, though for most purposes you probably should be using that chart
type
already.

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


"WH99" wrote in message
...
I have the plotted line on the graph but I wish to add a additional
straight
line starting at zero and crossing the 48 hour line. This way I can
monitor
through the month if we are on track or not to attchieve 48 hours by
the
end
of the month.
--
WH99


"Jon Peltier" wrote:

Is your trendline not supposed to include all the plotted points? A
trendline uses all points in a series. If you want a trendline for
only
the
data between 0 and 48 hours, you need to add a series (which could be
hidden
using no line and no markers) and apply the trendline to this series.

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



"WH99" wrote in message
...
Jon,
I tried the dynamic chart and it works fine. Just one further
question.
How do I add a trend line that marks from 0 to 48:00 hours in my
graph.The
problem I am having on each graph the scale is different depending
on
how
many hours there are in a month. Is there a way to plot the same
trend
line
on different scale graphs?
--
WH99


"WH99" wrote:

Thank you Jon,
I shall first try the link you sent me then the filter one.
I shall let you know how I get on.
--
WH99


"Jon Peltier" wrote:

You could filter the data source, because a chart only shows
unhidden
cells
by default.

Or you could define dynamic ranges that include only the month in
question:

http://pubs.logicalexpressions.com/P...cle.asp?ID=246

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


"WH99" wrote in message
...
I have data that covers the whole year. I am trying to create a
line
graph
for which ever month is selected. The data is layed out as
follows:

Col A date
Col E data
Cell D1 dropdown list with the months of the year.

What formular would I use in the source data of a graph to only
show
figures
for a particular month?
--
WH99











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
For graphs how do i put a line of best fit? watevva New Users to Excel 3 April 21st 07 06:17 PM
Y Axis and line graphs Gupta A. Charts and Charting in Excel 0 January 2nd 07 06:16 AM
How do you select line or columns in "Line-Column on 2 axes" graphs? mizterbusy Excel Discussion (Misc queries) 0 September 19th 06 06:48 AM
Q about Line Graphs Stacey Charts and Charting in Excel 2 June 16th 05 02:50 AM
Line Graphs and Bar Graphs Christopher Anderson Excel Discussion (Misc queries) 1 December 3rd 04 06:16 PM


All times are GMT +1. The time now is 07:55 AM.

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

About Us

"It's about Microsoft Excel"