Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 4
Default How do I set up formulas to update graphs dynamically

Hello,

I have the following information I need to graph


date Feb-08 Mar-08 Apr-08 May-08 Jun-08 Jul-08
burn 116 23 254
inventory 3035 3011 2757

The "date" is the x-axis label and the "burn" and "inventory" are the
values on the y-axis. If the values for burn and inventory are blank
for a particular date, I don't want the information plotted. As I add
values for each date, I would like the graph to be updated
automatically. I understand I need to define a named range and use it
in the graph, however, I have not been successful in doing this.
Also, even though the data is blank, there is still a formula there
and I want to make sure that does not cause any problems.

thanks in advance for your help, OS
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 52
Default How do I set up formulas to update graphs dynamically

Hi osfar

See if the article at
http://peltiertech.com/Excel/Charts/...html#DynColCht
does what you want.

Regards,
Pedro J.

Hello,

I have the following information I need to graph


date Feb-08 Mar-08 Apr-08 May-08 Jun-08 Jul-08
burn 116 23 254
inventory 3035 3011 2757

The "date" is the x-axis label and the "burn" and "inventory" are the
values on the y-axis. If the values for burn and inventory are blank
for a particular date, I don't want the information plotted. As I add
values for each date, I would like the graph to be updated
automatically. I understand I need to define a named range and use it
in the graph, however, I have not been successful in doing this.
Also, even though the data is blank, there is still a formula there
and I want to make sure that does not cause any problems.

thanks in advance for your help, OS

  #4   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default How do I set up formulas to update graphs dynamically

If the cells are not blank, they will not plot in a line or XY chart. If
they contain a formula that returns "", the cells are not blank, but instead
contain a formula that returns text, which Excel treats as zero. To change
this, use NA() instead of "". This produces the #N/A error in the cell, but
a line or XY chart will not plot a point. If you don't mind keeping all the
dates along the axis, this is all you need to do. If you only want to show
the dates where you have data, you need to use names.

This blog entry has some examples, including data in rows instead of
columns, which may confuse people.
http://peltiertech.com/WordPress/200...ynamic-charts/

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


wrote in message
...
Hello,

I have the following information I need to graph


date Feb-08 Mar-08 Apr-08 May-08 Jun-08 Jul-08
burn 116 23 254
inventory 3035 3011 2757

The "date" is the x-axis label and the "burn" and "inventory" are the
values on the y-axis. If the values for burn and inventory are blank
for a particular date, I don't want the information plotted. As I add
values for each date, I would like the graph to be updated
automatically. I understand I need to define a named range and use it
in the graph, however, I have not been successful in doing this.
Also, even though the data is blank, there is still a formula there
and I want to make sure that does not cause any problems.

thanks in advance for your help, OS



  #5   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 4
Default How do I set up formulas to update graphs dynamically

On Aug 5, 5:52*am, "Jon Peltier"
wrote:
If the cells are not blank, they will not plot in a line or XY chart. If
they contain a formula that returns "", the cells are not blank, but instead
contain a formula that returns text, which Excel treats as zero. To change
this, use NA() instead of "". This produces the #N/A error in the cell, but
a line or XY chart will not plot a point. If you don't mind keeping all the
dates along the axis, this is all you need to do. If you only want to show
the dates where you have data, you need to use names.

This blog entry has some examples, including data in rows instead of
columns, which may confuse people.http://peltiertech.com/WordPress/200...ynamic-charts/

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

wrote in message

...



Hello,


I have the following information I need to graph


date Feb-08 Mar-08 Apr-08 May-08 Jun-08 Jul-08
burn 116 23 254
inventory 3035 3011 2757


The "date" is the x-axis label and the "burn" and "inventory" are the
values on the y-axis. *If the values for burn and inventory are blank
for a particular date, I don't want the information plotted. *As I add
values for each date, I would like the graph to be updated
automatically. *I understand I need to define a named range and use it
in the graph, however, I have not been successful in doing this.
Also, even though the data is blank, there is still a formula there
and I want to make sure that does not cause any problems.


thanks in advance for your help, OS- Hide quoted text -


- Show quoted text -


Thank you for your help. I couldn't get it to work, though. I tried
reproducing the exact formula you had in the example in the link and
it doesn't work. There is a problem when entering the series formula
(and I did catch that it was on the wrong sheet).

thanks, OS


  #6   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 4
Default How do I set up formulas to update graphs dynamically

On Aug 5, 5:52*am, "Jon Peltier"
wrote:
If the cells are not blank, they will not plot in a line or XY chart. If
they contain a formula that returns "", the cells are not blank, but instead
contain a formula that returns text, which Excel treats as zero. To change
this, use NA() instead of "". This produces the #N/A error in the cell, but
a line or XY chart will not plot a point. If you don't mind keeping all the
dates along the axis, this is all you need to do. If you only want to show
the dates where you have data, you need to use names.

This blog entry has some examples, including data in rows instead of
columns, which may confuse people.http://peltiertech.com/WordPress/200...ynamic-charts/

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

wrote in message

...



Hello,


I have the following information I need to graph


date Feb-08 Mar-08 Apr-08 May-08 Jun-08 Jul-08
burn 116 23 254
inventory 3035 3011 2757


The "date" is the x-axis label and the "burn" and "inventory" are the
values on the y-axis. *If the values for burn and inventory are blank
for a particular date, I don't want the information plotted. *As I add
values for each date, I would like the graph to be updated
automatically. *I understand I need to define a named range and use it
in the graph, however, I have not been successful in doing this.
Also, even though the data is blank, there is still a formula there
and I want to make sure that does not cause any problems.


thanks in advance for your help, OS- Hide quoted text -


- Show quoted text -


I do want to only show the dates where I have data. I couldn't get
the defined names and the series formula to work but what I did was
take this into account in the excel formula. If there was no data
associated with the date, then I made the date also be #NA (my data
comes from a different sheet and I just referenced it on the sheet
where I am graphing so this was pretty easy to take into account). So
in essence, I have a static graph and not a dynamic one but it still
acts as a dynamic graph as data is entered.

thanks again for your help. I am still curious as to how it would
work the real, more sophisticated way.

take care
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
Automatically update graphs ChrisG Charts and Charting in Excel 25 February 12th 07 05:29 PM
How do I update graphs automatically with periodic data updates Infinitejest Charts and Charting in Excel 2 October 28th 06 09:02 PM
embedded presentation graphs in excel don't update, tables do sid Excel Worksheet Functions 0 October 4th 06 02:20 PM
excel graphs won't update ejfu Charts and Charting in Excel 0 July 6th 06 11:18 PM
Graphs in Other Files do not Update Dolphinv4 Excel Discussion (Misc queries) 0 October 21st 05 10:38 AM


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