PC Review


Reply
Thread Tools Rate Thread

Excel cahrt do not want plotting of empty cells

 
 
roniaelm@hotmail.com
Guest
Posts: n/a
 
      11th Jul 2008
Hi,

I have a chart I am trying to create, however, i not want to plot the
empty ranges.
I have used the NA() option in my formulas so that it does not get
plotetd on my graphs but it is not working.

How can I fix this error?

 
Reply With Quote
 
 
 
 
Andy Pope
Guest
Posts: n/a
 
      11th Jul 2008
Hi,

What exactly does 'not working' mean? What type of chart?

The use of NA() in a line chart will only suppress the displaying of a data
marker. The line will be interpolated between real data points.
http://www.andypope.info/charts/brokenlines.htm

Cheers
Andy
--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
<(E-Mail Removed)> wrote in message
news:efead3f1-9ff3-4ea2-a542-(E-Mail Removed)...
> Hi,
>
> I have a chart I am trying to create, however, i not want to plot the
> empty ranges.
> I have used the NA() option in my formulas so that it does not get
> plotetd on my graphs but it is not working.
>
> How can I fix this error?
>


 
Reply With Quote
 
Ed Ferrero
Guest
Posts: n/a
 
      11th Jul 2008
Hi Andy,

I have sometimes felt that this should be labelled as a bug in Excel. Column
charts correctly leave gaps, but line and scatter charts do not. As you say,
only the markers are not plotted, but the lines are still there.

A possible workaround (which works only in Excel 2007) is to use a 3d line
chart with angles and perspective set to zero. This correctly leaves a gap
in the middle, and looks pretty close to a 2d line chart.

Ed Ferrero
www.edferrero.com

> Hi,
>
> What exactly does 'not working' mean? What type of chart?
>
> The use of NA() in a line chart will only suppress the displaying of a
> data marker. The line will be interpolated between real data points.
> http://www.andypope.info/charts/brokenlines.htm
>
> Cheers
> Andy
> --
>
> Andy Pope, Microsoft MVP - Excel


 
Reply With Quote
 
roniaelm@hotmail.com
Guest
Posts: n/a
 
      12th Jul 2008
On Jul 11, 8:44*pm, "Ed Ferrero" <ed@edferrero_remove_.com> wrote:
> Hi Andy,
>
> I have sometimes felt that this should be labelled as a bug in Excel. Column
> charts correctly leave gaps, but line and scatter charts do not. As you say,
> only the markers are not plotted, but the lines are still there.
>
> A possible workaround (which works only in Excel 2007) is to use a 3d line
> chart with angles and perspective set to zero. This correctly leaves a gap
> in the middle, and looks pretty close to a 2d line chart.
>
> Ed Ferrerowww.edferrero.com
>
>
>
> > Hi,

>
> > What exactly does 'not working' mean? What type of chart?

>
> > The use of NA() in a line chart will only suppress the displaying of a
> > data marker. The line will be interpolated between real data points.
> >http://www.andypope.info/charts/brokenlines.htm

>
> > Cheers
> > Andy
> > --

>
> > Andy Pope, Microsoft MVP - Excel- Hide quoted text -

>
> - Show quoted text -


Hi Andy,

I am trying to create a column graph.
I have made my formula to return NA() rather then a "" value if the
result is 0.
However, even though I am using NA() which supposedly shoul not plot
on a graph the data range is still plotting as 0.

Would you be able to help me with this, as I am trying to create a
dynamic set of charts and it is difficult to always manually select
the correct data ranges.

Thanks for your help!!
 
Reply With Quote
 
Andy Pope
Guest
Posts: n/a
 
      14th Jul 2008
Hi,

Sounds like you want the data point removed completely if it is NA.
As I said the NA only suppresses the data marker.

Easiest way to remove the data point from the chart is to hide the row. You
can use auto filter to do this.

Cheers
Andy

--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
<(E-Mail Removed)> wrote in message
news:20682f55-bc01-4c1d-805f-(E-Mail Removed)...
On Jul 11, 8:44 pm, "Ed Ferrero" <ed@edferrero_remove_.com> wrote:
> Hi Andy,
>
> I have sometimes felt that this should be labelled as a bug in Excel.
> Column
> charts correctly leave gaps, but line and scatter charts do not. As you
> say,
> only the markers are not plotted, but the lines are still there.
>
> A possible workaround (which works only in Excel 2007) is to use a 3d line
> chart with angles and perspective set to zero. This correctly leaves a gap
> in the middle, and looks pretty close to a 2d line chart.
>
> Ed Ferrerowww.edferrero.com
>
>
>
> > Hi,

>
> > What exactly does 'not working' mean? What type of chart?

>
> > The use of NA() in a line chart will only suppress the displaying of a
> > data marker. The line will be interpolated between real data points.
> >http://www.andypope.info/charts/brokenlines.htm

>
> > Cheers
> > Andy
> > --

>
> > Andy Pope, Microsoft MVP - Excel- Hide quoted text -

>
> - Show quoted text -


Hi Andy,

I am trying to create a column graph.
I have made my formula to return NA() rather then a "" value if the
result is 0.
However, even though I am using NA() which supposedly shoul not plot
on a graph the data range is still plotting as 0.

Would you be able to help me with this, as I am trying to create a
dynamic set of charts and it is difficult to always manually select
the correct data ranges.

Thanks for your help!!

 
Reply With Quote
 
roniaelm@hotmail.com
Guest
Posts: n/a
 
      15th Jul 2008
On Jul 14, 5:34*pm, "Andy Pope" <a...@andypope.info> wrote:
> Hi,
>
> Sounds like you want the data point removed completely if it is NA.
> As I said the NA only suppresses the data marker.
>
> Easiest way to remove the data point from the chart is to hide the row. You
> can use auto filter to do this.
>
> Cheers
> Andy
>
> --
>
> Andy Pope, Microsoft MVP - Excelhttp://www.andypope.info<ronia...@hotmail..com> wrote in message
>
> news:20682f55-bc01-4c1d-805f-(E-Mail Removed)...
> On Jul 11, 8:44 pm, "Ed Ferrero" <ed@edferrero_remove_.com> wrote:
>
>
>
>
>
> > Hi Andy,

>
> > I have sometimes felt that this should be labelled as a bug in Excel.
> > Column
> > charts correctly leave gaps, but line and scatter charts do not. As you
> > say,
> > only the markers are not plotted, but the lines are still there.

>
> > A possible workaround (which works only in Excel 2007) is to use a 3d line
> > chart with angles and perspective set to zero. This correctly leaves a gap
> > in the middle, and looks pretty close to a 2d line chart.

>
> > Ed Ferrerowww.edferrero.com

>
> > > Hi,

>
> > > What exactly does 'not working' mean? What type of chart?

>
> > > The use of NA() in a line chart will only suppress the displaying of a
> > > data marker. The line will be interpolated between real data points.
> > >http://www.andypope.info/charts/brokenlines.htm

>
> > > Cheers
> > > Andy
> > > --

>
> > > Andy Pope, Microsoft MVP - Excel- Hide quoted text -

>
> > - Show quoted text -

>
> Hi Andy,
>
> I am trying to create a column graph.
> I have made my formula to return NA() rather then a "" value if the
> result is 0.
> However, even though I am using NA() which supposedly shoul not plot
> on a graph the data range is still plotting as 0.
>
> Would you be able to help me with this, as I am trying to create a
> dynamic set of charts and it is difficult to always manually select
> the correct data ranges.
>
> Thanks for your help!!- Hide quoted text -
>
> - Show quoted text -


Hi Andy,

Thanks for your reply.
Is there any other way of doing this?
With the way the table is set up, is that the data point might be NA
in some columns but is a value in another.

For example:
Class 1 Class 2 Class 3

John 2 1 NA
Michelle 3 NA 6
Lisa NA 6 5

I have 3 charts, one for Class 1 one for Class 2 and one for Class 3.
For example for class 1 John would be plotted with 2, and Michelle
with 3 and I would not want a data point at all for Lisa.
I can't exactly hide Lisa's row as she is participating in Class 2 and
Class 3 that need to be plotted on their respective graphs.

It would be difficult to separate this table to separate tables as in
reality this table is huge and it would not be practical to have 3
tables rather then 1.

Do you know another solution to this as hiding rows will not work??

Thanks again for all of your help!!

 
Reply With Quote
 
Andy Pope
Guest
Posts: n/a
 
      17th Jul 2008

You would need to re-create the tables using formula such that the NA
entries where excluded or outputted at the end. Then use dynamic names for
the data source of each chart.
I do something similar, although only for 1 chart in this example.
http://www.andypope.info/charts/piezeros.htm

Cheers
Andy

--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
<(E-Mail Removed)> wrote in message
news:7dd36d15-1c22-447e-8f29-(E-Mail Removed)...
On Jul 14, 5:34 pm, "Andy Pope" <a...@andypope.info> wrote:
> Hi,
>
> Sounds like you want the data point removed completely if it is NA.
> As I said the NA only suppresses the data marker.
>
> Easiest way to remove the data point from the chart is to hide the row.
> You
> can use auto filter to do this.
>
> Cheers
> Andy
>
> --
>
> Andy Pope, Microsoft MVP -
> Excelhttp://www.andypope.info<ronia...@hotmail.com> wrote in message
>
> news:20682f55-bc01-4c1d-805f-(E-Mail Removed)...
> On Jul 11, 8:44 pm, "Ed Ferrero" <ed@edferrero_remove_.com> wrote:
>
>
>
>
>
> > Hi Andy,

>
> > I have sometimes felt that this should be labelled as a bug in Excel.
> > Column
> > charts correctly leave gaps, but line and scatter charts do not. As you
> > say,
> > only the markers are not plotted, but the lines are still there.

>
> > A possible workaround (which works only in Excel 2007) is to use a 3d
> > line
> > chart with angles and perspective set to zero. This correctly leaves a
> > gap
> > in the middle, and looks pretty close to a 2d line chart.

>
> > Ed Ferrerowww.edferrero.com

>
> > > Hi,

>
> > > What exactly does 'not working' mean? What type of chart?

>
> > > The use of NA() in a line chart will only suppress the displaying of a
> > > data marker. The line will be interpolated between real data points.
> > >http://www.andypope.info/charts/brokenlines.htm

>
> > > Cheers
> > > Andy
> > > --

>
> > > Andy Pope, Microsoft MVP - Excel- Hide quoted text -

>
> > - Show quoted text -

>
> Hi Andy,
>
> I am trying to create a column graph.
> I have made my formula to return NA() rather then a "" value if the
> result is 0.
> However, even though I am using NA() which supposedly shoul not plot
> on a graph the data range is still plotting as 0.
>
> Would you be able to help me with this, as I am trying to create a
> dynamic set of charts and it is difficult to always manually select
> the correct data ranges.
>
> Thanks for your help!!- Hide quoted text -
>
> - Show quoted text -


Hi Andy,

Thanks for your reply.
Is there any other way of doing this?
With the way the table is set up, is that the data point might be NA
in some columns but is a value in another.

For example:
Class 1 Class 2 Class 3

John 2 1 NA
Michelle 3 NA 6
Lisa NA 6 5

I have 3 charts, one for Class 1 one for Class 2 and one for Class 3.
For example for class 1 John would be plotted with 2, and Michelle
with 3 and I would not want a data point at all for Lisa.
I can't exactly hide Lisa's row as she is participating in Class 2 and
Class 3 that need to be plotted on their respective graphs.

It would be difficult to separate this table to separate tables as in
reality this table is huge and it would not be practical to have 3
tables rather then 1.

Do you know another solution to this as hiding rows will not work??

Thanks again for all of your help!!

 
Reply With Quote
 
Gordon McLaughlin
Guest
Posts: n/a
 
      11th Nov 2009
One way to achieve this result is to use filters.
After you have the table created as you have shown, and you have the charts created that use it, turn on filters.
Filter, for example, the Class 1 column to exclude $N/A. The chart will then not include Lisa.
Clear filters and filter Class 2 and the chart will not include Michelle.

You could use a simple macro to set and clear the filters for the number of columns and copy/paste the resulting charts to PPT if that is what you need.



roniael wrote:

Re: Excel cahrt do not want plotting of empty cells
17-Jul-08

On Jul 14, 5:34=A0pm, "Andy Pope" <a...@andypope.info> wrote
o
..com> wrote in messag
in
ga


Hi Andy

Thanks for your reply
Is there any other way of doing this
With the way the table is set up, is that the data point might be N
in some columns but is a value in another

For example
Class 1 Class 2 Class

John 2 1 N
Michelle 3 NA
Lisa NA 6

I have 3 charts, one for Class 1 one for Class 2 and one for Class 3
For example for class 1 John would be plotted with 2, and Michell
with 3 and I would not want a data point at all for Lisa
I can't exactly hide Lisa's row as she is participating in Class 2 an
Class 3 that need to be plotted on their respective graphs

It would be difficult to separate this table to separate tables as i
reality this table is huge and it would not be practical to have
tables rather then 1

Do you know another solution to this as hiding rows will not work?

Thanks again for all of your help!!

Previous Posts In This Thread:

On Friday, July 11, 2008 3:37 AM
Andy Pope wrote:

Hi,What exactly does 'not working' mean? What type of chart?
Hi

What exactly does 'not working' mean? What type of chart

The use of NA() in a line chart will only suppress the displaying of a data
marker. The line will be interpolated between real data points
http://www.andypope.info/charts/brokenlines.ht

Cheer
And
--

Andy Pope, Microsoft MVP - Exce
http://www.andypope.inf
<(E-Mail Removed)> wrote in message
news:efead3f1-9ff3-4ea2-a542-(E-Mail Removed)...

On Friday, July 11, 2008 6:44 AM
Ed Ferrero wrote:

Hi Andy,I have sometimes felt that this should be labelled as a bug in Excel.
Hi Andy

I have sometimes felt that this should be labelled as a bug in Excel. Column
charts correctly leave gaps, but line and scatter charts do not. As you say,
only the markers are not plotted, but the lines are still there

A possible workaround (which works only in Excel 2007) is to use a 3d line
chart with angles and perspective set to zero. This correctly leaves a gap
in the middle, and looks pretty close to a 2d line chart

Ed Ferrer
www.edferrero.com

On Monday, July 14, 2008 3:34 AM
Andy Pope wrote:

Hi,Sounds like you want the data point removed completely if it is NA.
Hi

Sounds like you want the data point removed completely if it is NA
As I said the NA only suppresses the data marker

Easiest way to remove the data point from the chart is to hide the row. You
can use auto filter to do this

Cheer
And

--

Andy Pope, Microsoft MVP - Exce
http://www.andypope.inf
<(E-Mail Removed)> wrote in message
news:20682f55-bc01-4c1d-805f-(E-Mail Removed)..
On Jul 11, 8:44 pm, "Ed Ferrero" <ed@edferrero_remove_.com> wrote

Hi Andy

I am trying to create a column graph
I have made my formula to return NA() rather then a "" value if th
result is 0
However, even though I am using NA() which supposedly shoul not plo
on a graph the data range is still plotting as 0

Would you be able to help me with this, as I am trying to create
dynamic set of charts and it is difficult to always manually selec
the correct data ranges

Thanks for your help!!

On Monday, July 14, 2008 5:28 AM
roniael wrote:

Excel cahrt do not want plotting of empty cells
Hi

I have a chart I am trying to create, however, i not want to plot th
empty ranges.
I have used the NA() option in my formulas so that it does not get
plotetd on my graphs but it is not working.

How can I fix this error?

On Monday, July 14, 2008 5:28 AM
roniael wrote:

Re: Excel cahrt do not want plotting of empty cells
On Jul 11, 8:44=A0pm, "Ed Ferrero" <ed@edferrero_remove_.com> wrote:
umn
ay,
e
p

Hi Andy,

I am trying to create a column graph.
I have made my formula to return NA() rather then a "" value if the
result is 0.
However, even though I am using NA() which supposedly shoul not plot
on a graph the data range is still plotting as 0.

Would you be able to help me with this, as I am trying to create a
dynamic set of charts and it is difficult to always manually select
the correct data ranges.

Thanks for your help!!

On Thursday, July 17, 2008 7:22 AM
Andy Pope wrote:

You would need to re-create the tables using formula such that the NAentries
You would need to re-create the tables using formula such that the NA
entries where excluded or outputted at the end. Then use dynamic names for
the data source of each chart.
I do something similar, although only for 1 chart in this example.
http://www.andypope.info/charts/piezeros.htm

Cheers
Andy

--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
<(E-Mail Removed)> wrote in message
news:7dd36d15-1c22-447e-8f29-(E-Mail Removed)...
On Jul 14, 5:34 pm, "Andy Pope" <a...@andypope.info> wrote:

Hi Andy,

Thanks for your reply.
Is there any other way of doing this?
With the way the table is set up, is that the data point might be NA
in some columns but is a value in another.

For example:
Class 1 Class 2 Class 3

John 2 1 NA
Michelle 3 NA 6
Lisa NA 6 5

I have 3 charts, one for Class 1 one for Class 2 and one for Class 3.
For example for class 1 John would be plotted with 2, and Michelle
with 3 and I would not want a data point at all for Lisa.
I can't exactly hide Lisa's row as she is participating in Class 2 and
Class 3 that need to be plotted on their respective graphs.

It would be difficult to separate this table to separate tables as in
reality this table is huge and it would not be practical to have 3
tables rather then 1.

Do you know another solution to this as hiding rows will not work??

Thanks again for all of your help!!

On Thursday, July 17, 2008 10:35 PM
roniael wrote:

Re: Excel cahrt do not want plotting of empty cells
On Jul 14, 5:34=A0pm, "Andy Pope" <a...@andypope.info> wrote:
ou
..com> wrote in message
ine
gap
a

Hi Andy,

Thanks for your reply.
Is there any other way of doing this?
With the way the table is set up, is that the data point might be NA
in some columns but is a value in another.

For example:
Class 1 Class 2 Class 3

John 2 1 NA
Michelle 3 NA 6
Lisa NA 6 5

I have 3 charts, one for Class 1 one for Class 2 and one for Class 3.
For example for class 1 John would be plotted with 2, and Michelle
with 3 and I would not want a data point at all for Lisa.
I can't exactly hide Lisa's row as she is participating in Class 2 and
Class 3 that need to be plotted on their respective graphs.

It would be difficult to separate this table to separate tables as in
reality this table is huge and it would not be practical to have 3
tables rather then 1.

Do you know another solution to this as hiding rows will not work??

Thanks again for all of your help!!

EggHeadCafe - Software Developer Portal of Choice
Migration 2003-2007 Project Server details
http://www.eggheadcafe.com/tutorials...007-proje.aspx
 
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
How to Prevent Blank Cells from plotting in Excel Charts? Ashish Jain Microsoft Excel Charting 0 18th Jan 2011 10:12 AM
How do I eliminate empty cells from plotting on chart T. Duprex Microsoft Excel New Users 1 2nd Jan 2009 12:21 PM
Can I avoid plotting 'non-empty' cells germullen Microsoft Excel Charting 2 11th Apr 2006 03:49 PM
plotting "empty" cells that contain a formula that has returned a blank bob farey Microsoft Excel Charting 6 2nd Jul 2004 08:25 PM
Re: Plotting Empty Cells - HELP! Jon Peltier Microsoft Excel Charting 4 25th Sep 2003 09:00 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:41 AM.