Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 1
Default Formula returns empty; chart plots zero; I want to skip

I am using formulas to populate the source data area for a chart. I am using
percentages, so when the total (divide by) is zero, I want to have an empty
cell. This will distinguish it from a real zero where the numerator is zero.
I am doing the division in another cell as =IF A2=0,"",A1/A2. In the cell I
am plotting from (source data), I am using =Sheet1!A3, where Sheet1!A3 is
where the previous formula is.
When I look at the cell in the source data, it is empty. If I copy and paste
special values, it still looks empty, but plots a zero.
If I delete the cell, then it leaves a gap the way I have it set up in the
Options.
How can I get this cell with the formula to skip in the chart instead of
plotting a zero?
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 560
Default Formula returns empty; chart plots zero; I want to skip

On Tue, 6 Feb 2007, in microsoft.public.excel.charting,
bluegar said:
How can I get this cell with the formula to skip in the chart instead of
plotting a zero?


The short answer is that we would all like to be able to do that, but
Microsoft sez "tough luck!" There is no substitute for an actually blank
cell.

The frustrating thing is that functions like AVERAGE() are completely
capable of evaluating FALSE as "do not count this point" and not as
zero, so that AVERAGE({2,4,FALSE,6}) is 4, not 3. If only chart series
had been designed to do the same thing, or even designed to offer that
as an option in the Tools.. Options.. Chart dialogue.

--
Del Cotter
NB Personal replies to this post will send email to ,
which goes to a spam folder-- please send your email to del3 instead.
  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default Formula returns empty; chart plots zero; I want to skip

If the formula returns NA() instead of "", there will be no point plotted in
a line or XY series. You don't get an actual gap; if the series has lines
connecting the points, a line segment connects the points on either side of
the gap. There are workarounds, which involve raw poultry parts and chants
at full moon.

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


"Del Cotter" wrote in message
...
On Tue, 6 Feb 2007, in microsoft.public.excel.charting,
bluegar said:
How can I get this cell with the formula to skip in the chart instead of
plotting a zero?


The short answer is that we would all like to be able to do that, but
Microsoft sez "tough luck!" There is no substitute for an actually blank
cell.

The frustrating thing is that functions like AVERAGE() are completely
capable of evaluating FALSE as "do not count this point" and not as zero,
so that AVERAGE({2,4,FALSE,6}) is 4, not 3. If only chart series had been
designed to do the same thing, or even designed to offer that as an option
in the Tools.. Options.. Chart dialogue.

--
Del Cotter
NB Personal replies to this post will send email to
,
which goes to a spam folder-- please send your email to del3 instead.



  #4   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 26
Default Formula returns empty; chart plots zero; I want to skip

I am working with a stacked column chart, & when I use the NA()

It actually adds #NA to the graph.

Am I SOL? or is there a way to get rid of the NA (or 0) values

"Jon Peltier" wrote:

If the formula returns NA() instead of "", there will be no point plotted in
a line or XY series. You don't get an actual gap; if the series has lines
connecting the points, a line segment connects the points on either side of
the gap. There are workarounds, which involve raw poultry parts and chants
at full moon.

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


"Del Cotter" wrote in message
...
On Tue, 6 Feb 2007, in microsoft.public.excel.charting,
bluegar said:
How can I get this cell with the formula to skip in the chart instead of
plotting a zero?


The short answer is that we would all like to be able to do that, but
Microsoft sez "tough luck!" There is no substitute for an actually blank
cell.

The frustrating thing is that functions like AVERAGE() are completely
capable of evaluating FALSE as "do not count this point" and not as zero,
so that AVERAGE({2,4,FALSE,6}) is 4, not 3. If only chart series had been
designed to do the same thing, or even designed to offer that as an option
in the Tools.. Options.. Chart dialogue.

--
Del Cotter
NB Personal replies to this post will send email to
,
which goes to a spam folder-- please send your email to del3 instead.




  #5   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 560
Default Formula returns empty; chart plots zero; I want to skip

It does? So it does; that's annoying. Maybe there's something you can do
with custom number formats, although a couple of minutes trying didn't
produce anything for me. Here's Jon's format hints page:

http://peltiertech.com/Excel/NumberFormats.html

Otherwise you may have to just manually select the one label by single
clicking twice, then deleting.

On Mon, 19 Mar 2007, in microsoft.public.excel.charting,
tmirelle said:

I am working with a stacked column chart, & when I use the NA()

It actually adds #NA to the graph.

Am I SOL? or is there a way to get rid of the NA (or 0) values

"Jon Peltier" wrote:

If the formula returns NA() instead of "", there will be no point plotted in
a line or XY series. You don't get an actual gap; if the series has lines
connecting the points, a line segment connects the points on either side of
the gap. There are workarounds, which involve raw poultry parts and chants
at full moon.


--
Del Cotter
NB Personal replies to this post will send email to ,
which goes to a spam folder-- please send your email to del3 instead.


  #6   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 26
Default Formula returns empty; chart plots zero; I want to skip

Found the solution in case it is helpful to others...

set data label format to:

General;;;

Thanks everyone for your help!

"Del Cotter" wrote:

It does? So it does; that's annoying. Maybe there's something you can do
with custom number formats, although a couple of minutes trying didn't
produce anything for me. Here's Jon's format hints page:

http://peltiertech.com/Excel/NumberFormats.html

Otherwise you may have to just manually select the one label by single
clicking twice, then deleting.

On Mon, 19 Mar 2007, in microsoft.public.excel.charting,
tmirelle said:

I am working with a stacked column chart, & when I use the NA()

It actually adds #NA to the graph.

Am I SOL? or is there a way to get rid of the NA (or 0) values

"Jon Peltier" wrote:

If the formula returns NA() instead of "", there will be no point plotted in
a line or XY series. You don't get an actual gap; if the series has lines
connecting the points, a line segment connects the points on either side of
the gap. There are workarounds, which involve raw poultry parts and chants
at full moon.


--
Del Cotter
NB Personal replies to this post will send email to ,
which goes to a spam folder-- please send your email to del3 instead.

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
Chart formula style depends on number of sheets.... [email protected] Charts and Charting in Excel 1 December 5th 06 02:55 PM
Prevent Excel chart flicker,when plots are linked to DDE data Cliff Allen Charts and Charting in Excel 1 September 20th 06 04:14 AM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
How do I remove empty chart plots from linked worksheet charts Lee IT Charts and Charting in Excel 3 January 31st 05 04:31 PM


All times are GMT +1. The time now is 08:19 AM.

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"