Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting,microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default How to display a chart where number of periods vary

Hello All

I have the following Excel report layout:

Value Period Actual YTD Budget YTD Variance YTD
================================================== =============================
Net sales 001 xxxx xxx xxx
Net Sales 002 xxxx xxx xxx
Net sales 003 xxxx xxx xxx
Net sales 004 xxxx xxx xxx
Net sales 005 xxxx xxx xxx
Net sales 006 xxxx xxx xxx
COGS 001 xxxx xxx xxx
COGS 002 xxxx xxx xxx
COGS 003 xxxx xxx xxx
COGS 004 xxxx xxx xxx
COGS 005 xxxx xxx xxx
COGS 006 xxxx xxx xxx
Prod Mar 001 xxxx xxx xxx
Prod Mar 002 xxxx xxx xxx
Prod Mar 003 xxxx xxx xxx
Prod Mar 004 xxxx xxx xxx
Prod Mar 005 xxxx xxx xxx
Prod Mar 006 xxxx xxx xxx

Now I want to have one chart to display the Net sales and one more to
display COGS and one more for Product Margin.

But my problem is the number of periods can be 3 periods or 5 periods
or 8 periods or 12 periods. When my range is changing everytime the
user runs a report how do I create a chart with such a variable range
can any of you please throw light how I can implement a chart with a
varying range as above.

Thanks
Belinda
  #3   Report Post  
Posted to microsoft.public.excel.charting,microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default How to display a chart where number of periods vary

Right idea, but she would have to dynamically determine the anchor cell and
the count would have to be conditional.

--
Regards,
Tom Ogilvy

"Don Guillett" wrote in message
...
insertnamedefine
Use a defined name for your chart series such as
netsales
=offset($A$2,0,0,counta($a:$a),1)
now your source would be =sheet1!netsales
--
Don Guillett
SalesAid Software

"Belinda" wrote in message
om...
Hello All

I have the following Excel report layout:

Value Period Actual YTD Budget YTD Variance YTD


================================================== ==========================
===
Net sales 001 xxxx xxx xxx
Net Sales 002 xxxx xxx xxx
Net sales 003 xxxx xxx xxx
Net sales 004 xxxx xxx xxx
Net sales 005 xxxx xxx xxx
Net sales 006 xxxx xxx xxx
COGS 001 xxxx xxx xxx
COGS 002 xxxx xxx xxx
COGS 003 xxxx xxx xxx
COGS 004 xxxx xxx xxx
COGS 005 xxxx xxx xxx
COGS 006 xxxx xxx xxx
Prod Mar 001 xxxx xxx xxx
Prod Mar 002 xxxx xxx xxx
Prod Mar 003 xxxx xxx xxx
Prod Mar 004 xxxx xxx xxx
Prod Mar 005 xxxx xxx xxx
Prod Mar 006 xxxx xxx xxx

Now I want to have one chart to display the Net sales and one more to
display COGS and one more for Product Margin.

But my problem is the number of periods can be 3 periods or 5 periods
or 8 periods or 12 periods. When my range is changing everytime the
user runs a report how do I create a chart with such a variable range
can any of you please throw light how I can implement a chart with a
varying range as above.

Thanks
Belinda





  #4   Report Post  
Posted to microsoft.public.excel.charting,microsoft.public.excel.programming
external usenet poster
 
Posts: 115
Default How to display a chart where number of periods vary

I was thinking Pivot Table, three of them in fact, each based on the
same data. Each PT uses a different Value field in its Page area. Each
PT has a Pivot Chart based on it, or a regular chart that's driven by
defined names, as Don suggests. Change the data sheet, and everything
else updates.

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

Don Guillett wrote:

insertnamedefine
Use a defined name for your chart series such as
netsales
=offset($A$2,0,0,counta($a:$a),1)
now your source would be =sheet1!netsales


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
How can I vary the row number or column alphabet depending on my n Tigerxxx Excel Discussion (Misc queries) 7 December 26th 07 06:46 PM
2-4 stacked bar graphs, two variables each, Y's vary same chart Writer on Path Charts and Charting in Excel 1 October 22nd 07 08:11 PM
Vary colors in area chart by x-axis value Deirdre M. Charts and Charting in Excel 1 October 12th 05 10:09 PM
How to vary color in an area chart between negative or positive d. Gulf Stream Charts and Charting in Excel 3 February 10th 05 05:12 PM
sorting rows wich can vary in number Bart Excel Discussion (Misc queries) 4 December 14th 04 06:59 AM


All times are GMT +1. The time now is 07:32 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"