#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 13
Default Graph questions

I have a bar graph that shows revenue by week, for week 1 thru week
52. Each week the graph pulls in the current week results. Is there
a way to have the graph only show results for week 1 thru the current
week, without me having to adjust the data source range each week.

Also, I have a bar graph that shows year-to-date revenue that is
updated each week. Is there a way that the scale can be automatically
updated to fit the data, without me having to manually adjust each
week.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6,582
Default Graph questions

1. Use dynamic ranges to populate the chart series:

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

2. Set the axis scale parameters to Auto (double click the axis, click the
Scale tab, check all the Auto boxes).

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


"glenlee" wrote in message
...
I have a bar graph that shows revenue by week, for week 1 thru week
52. Each week the graph pulls in the current week results. Is there
a way to have the graph only show results for week 1 thru the current
week, without me having to adjust the data source range each week.

Also, I have a bar graph that shows year-to-date revenue that is
updated each week. Is there a way that the scale can be automatically
updated to fit the data, without me having to manually adjust each
week.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 13
Default Graph questions

Thanks for the input. Dynamic Ranges work great when the source data
cells contain values. But I can't get it to work when the source data
cells contain formulas that equal -0-. Those weeks appear in my graph
with no results. I think using the Counta function, counts those
weeks even though there is no data for them.

On Thu, 5 Apr 2007 07:56:35 -0400, "Jon Peltier"
wrote:

1. Use dynamic ranges to populate the chart series:

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

2. Set the axis scale parameters to Auto (double click the axis, click the
Scale tab, check all the Auto boxes).

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


"glenlee" wrote in message
...
I have a bar graph that shows revenue by week, for week 1 thru week
52. Each week the graph pulls in the current week results. Is there
a way to have the graph only show results for week 1 thru the current
week, without me having to adjust the data source range each week.

Also, I have a bar graph that shows year-to-date revenue that is
updated each week. Is there a way that the scale can be automatically
updated to fit the data, without me having to manually adjust each
week.




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6,582
Default Graph questions

COUNTA counts non-blank cells; note that a cell with a formula that returns
"" is not blank, because it contains a formula. COUNT counts cells with
numerical values.

If you use formulas that return zero when a linked cell is blank, you should
change the formula to return something else:

=IF(LEN(A1)0,A1,"")
looks nice, looks like a blank, plotted as zero

=IF(LEN(A1)0,A1,"blank")
descriptive, plotted as zero

=IF(LEN(A1)0,A1,NA())
ugly #N/A error (hide with conditional formatting), not plotted in a line or
XY chart

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


"glenlee" wrote in message
...
Thanks for the input. Dynamic Ranges work great when the source data
cells contain values. But I can't get it to work when the source data
cells contain formulas that equal -0-. Those weeks appear in my graph
with no results. I think using the Counta function, counts those
weeks even though there is no data for them.

On Thu, 5 Apr 2007 07:56:35 -0400, "Jon Peltier"
wrote:

1. Use dynamic ranges to populate the chart series:

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

2. Set the axis scale parameters to Auto (double click the axis, click the
Scale tab, check all the Auto boxes).

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


"glenlee" wrote in message
...
I have a bar graph that shows revenue by week, for week 1 thru week
52. Each week the graph pulls in the current week results. Is there
a way to have the graph only show results for week 1 thru the current
week, without me having to adjust the data source range each week.

Also, I have a bar graph that shows year-to-date revenue that is
updated each week. Is there a way that the scale can be automatically
updated to fit the data, without me having to manually adjust each
week.






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
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
Powerpoint Graph- Shading in between two linear graph lines TerenYoung Charts and Charting in Excel 1 June 15th 06 09:29 AM
Hyperlinkage of one graph with another graph or Drill down graph Sanjay Kumar Singh Charts and Charting in Excel 1 January 3rd 06 12:22 PM
Graph Series Questions Me Charts and Charting in Excel 2 December 6th 05 03:40 PM


All times are GMT +1. The time now is 11:24 PM.

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"