A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Charts and Charting
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Automatic avoiding empty cell



 
 
Thread Tools Display Modes
  #1  
Old January 27th, 2006, 05:01 PM posted to microsoft.public.excel.charting
external usenet poster
 
Posts: n/a
Default Automatic avoiding empty cell

Hi,

I am making templates to draw chart (scatter charts and bar charts).
Scatter charts also have trendlines in them. At times I dont have value
for some of the items which are used to make these (scatter)charts.
This doesnot give a correct trendline since it assumes value as zero.
As such I have to manually change the data source and exclude items for
which i donot have a value.

Is there a solution such that the excel automaticallty doesnot take the
item (which doesnot have a value) to draw the chart.

e.g.
Margin
Company A 14%
Company B 18%
Company C 9%
Company D N/A or 0
Company E 18%

I would like excel not to take Company D in drawing the chart next time
it can be Company C since these values are coming from some other
sheet. There are a number of such charts in the template. Plz suggest
if it can be automized.

TIA/Amag

  #2  
Old January 27th, 2006, 10:33 PM posted to microsoft.public.excel.charting
external usenet poster
 
Posts: n/a
Default Automatic avoiding empty cell

put
=na()
in the cells

"Amag" wrote in message
oups.com...
Hi,

I am making templates to draw chart (scatter charts and bar charts).
Scatter charts also have trendlines in them. At times I dont have value
for some of the items which are used to make these (scatter)charts.
This doesnot give a correct trendline since it assumes value as zero.
As such I have to manually change the data source and exclude items for
which i donot have a value.

Is there a solution such that the excel automaticallty doesnot take the
item (which doesnot have a value) to draw the chart.

e.g.
Margin
Company A 14%
Company B 18%
Company C 9%
Company D N/A or 0
Company E 18%

I would like excel not to take Company D in drawing the chart next time
it can be Company C since these values are coming from some other
sheet. There are a number of such charts in the template. Plz suggest
if it can be automized.

TIA/Amag



  #3  
Old January 28th, 2006, 01:46 AM posted to microsoft.public.excel.charting
external usenet poster
 
Posts: n/a
Default Automatic avoiding empty cell

So if D has no value, you want your categories to be A-B-C-E. Here are a
couple of old posts which describe macros that skip zeros and blanks in a
chart's source data range:

http://groups.google.com/group/micro...0c111832fb3337

http://groups.google.com/group/micro...209f1f0600a526

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

"Amag" wrote in message
oups.com...
Hi,

I am making templates to draw chart (scatter charts and bar charts).
Scatter charts also have trendlines in them. At times I dont have value
for some of the items which are used to make these (scatter)charts.
This doesnot give a correct trendline since it assumes value as zero.
As such I have to manually change the data source and exclude items for
which i donot have a value.

Is there a solution such that the excel automaticallty doesnot take the
item (which doesnot have a value) to draw the chart.

e.g.
Margin
Company A 14%
Company B 18%
Company C 9%
Company D N/A or 0
Company E 18%

I would like excel not to take Company D in drawing the chart next time
it can be Company C since these values are coming from some other
sheet. There are a number of such charts in the template. Plz suggest
if it can be automized.

TIA/Amag



  #4  
Old January 29th, 2006, 05:37 AM posted to microsoft.public.excel.charting
external usenet poster
 
Posts: n/a
Default Automatic avoiding empty cell

quite complicated ... lemme try ..tks anyways /Amag

 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Textbox.caption to cell if empty, how? WTG General Discussion 2 February 27th, 2005 04:03 AM
When is an empty cell not really empty? prlaba Worksheet Functions 2 August 13th, 2004 05:54 PM
Copy cell down with automatic updating from cell above raehippychick New Users 1 April 30th, 2004 12:56 PM
filling empty cell if not empty keep its content!? Norman Harker Worksheet Functions 3 February 23rd, 2004 08:48 AM
Do you have what it takes... Frank Kabel Worksheet Functions 1 February 22nd, 2004 08:30 PM


All times are GMT +1. The time now is 03:55 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.