PC Review


Reply
Thread Tools Rate Thread

How to display a chart where number of periods vary

 
 
Belinda
Guest
Posts: n/a
 
      30th Apr 2004
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
 
Reply With Quote
 
 
 
 
Don Guillett
Guest
Posts: n/a
 
      30th Apr 2004
insert>name>define
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
(E-Mail Removed)
"Belinda" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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



 
Reply With Quote
 
Tom Ogilvy
Guest
Posts: n/a
 
      30th Apr 2004
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> insert>name>define
> 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
> (E-Mail Removed)
> "Belinda" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > 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

>
>



 
Reply With Quote
 
Jon Peltier
Guest
Posts: n/a
 
      30th Apr 2004
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:

> insert>name>define
> 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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
2-4 stacked bar graphs, two variables each, Y's vary same chart =?Utf-8?B?V3JpdGVyIG9uIFBhdGg=?= Microsoft Excel Charting 1 22nd Oct 2007 08:11 PM
Vary colors in area chart by x-axis value =?Utf-8?B?RGVpcmRyZSBNLg==?= Microsoft Excel Charting 1 12th Oct 2005 10:09 PM
How to vary color in an area chart between negative or positive d. =?Utf-8?B?R3VsZiBTdHJlYW0=?= Microsoft Excel Charting 3 10th Feb 2005 05:12 PM
How to display a chart where number of periods vary Belinda Microsoft Excel Programming 3 30th Apr 2004 04:27 PM
Re: Vary colors on a bar chart in the same series Frank Kabel Microsoft Excel Charting 0 20th Apr 2004 07:01 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:22 PM.