PC Review


Reply
Thread Tools Rate Thread

Automatic avoiding empty cell

 
 
Amag
Guest
Posts: n/a
 
      27th Jan 2006
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

 
Reply With Quote
 
 
 
 
Barb Reinhardt
Guest
Posts: n/a
 
      27th Jan 2006
put
=na()
in the cells

"Amag" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
>



 
Reply With Quote
 
Jon Peltier
Guest
Posts: n/a
 
      28th Jan 2006
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
>



 
Reply With Quote
 
Amag
Guest
Posts: n/a
 
      29th Jan 2006
quite complicated ... lemme try ..tks anyways /Amag

 
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
Avoiding empty continuous form rsosabusiness@aol.com Microsoft Access Forms 6 7th Feb 2007 02:43 PM
avoiding 31/12/1899 with empty dates RB Smissaert Microsoft Access 9 15th May 2006 02:20 AM
Avoiding empty cells in a DataList Nathan Sokalski Microsoft ASP .NET 1 22nd Sep 2005 10:27 AM
Avoiding empty cells in a DataList Nathan Sokalski Microsoft VB .NET 1 22nd Sep 2005 10:27 AM
avoiding #ERROR in an empty report Sharon Microsoft Access Reports 6 9th Oct 2004 05:01 PM


Features
 

Advertising
 

Newsgroups
 


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