Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How do I ignore Graphs zero values.

21,990 views
Skip to first unread message

fishy

unread,
Aug 24, 2006, 7:26:02 AM8/24/06
to
I have a variety of tables in excel that sum approx 20 sheets but
occasionally these have a zero value.

The graphs link off these tables and show drops to zero on these occurences.
How do I get the graph to ignore the zero values.

The source table formula is too long to put an if arguement in.

R..VENKATARAMAN

unread,
Aug 24, 2006, 7:35:02 AM8/24/06
to
select the chart.
goto tools options and check plot empty cells as any of the three chices
given there.


"fishy" <fi...@discussions.microsoft.com> wrote in message
news:96CA651F-D05F-4211...@microsoft.com...

Andy Pope

unread,
Aug 24, 2006, 7:51:36 AM8/24/06
to
Hi,

That will not work is the cells actually contain zero because by
definition containing zero is NOT empty.

The zeros will either need to be removed from the cells or replaced with
NA().

=IF(SUM(myrange)=0,NA(),SUM(myrange))

Use conditional formating to hide the #N/A

Cheers
Andy

--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info

fishy

unread,
Aug 24, 2006, 8:19:02 AM8/24/06
to
Working thanks - as you said, already tried the first suggestion but as it
was a formulae, it still showed.

AR

unread,
Jan 29, 2007, 10:07:00 PM1/29/07
to
I have tried doing a conditional format on the #N/A but it does not seem to
work. What do you need to specifically put in the conditional format. I have
tried #N/A, NA(), N/A ?

Jon Peltier

unread,
Jan 29, 2007, 10:24:22 PM1/29/07
to
Use the Is Formula option, and this formula, where the active cell is A1

=ISNA(A1)

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


"AR" <A...@discussions.microsoft.com> wrote in message
news:C82EDFFD-1097-4CAD...@microsoft.com...

AR

unread,
Jan 30, 2007, 12:23:01 AM1/30/07
to
Jon

I have done this but in an earlier discussion Andy suggested after doing the
formula you: " Use conditional formating to hide the #N/A". THis is the part
I cannot get to work. Whatever version of N/A I use I cannot fomat it.

David Biddulph

unread,
Jan 30, 2007, 3:20:47 AM1/30/07
to
I suggest you read Jon's answer again. He's told you exactly how to do it.
--
David Biddulph

"AR" <A...@discussions.microsoft.com> wrote in message

news:19019DE4-4429-49F7...@microsoft.com...


> Jon
>
> I have done this but in an earlier discussion Andy suggested after doing
> the
> formula you: " Use conditional formating to hide the #N/A". THis is the
> part
> I cannot get to work. Whatever version of N/A I use I cannot fomat it.

> "Jon Peltier" wrote:
>
>> Use the Is Formula option, and this formula, where the active cell is A1
>>
>> =ISNA(A1)

>> "AR" <A...@discussions.microsoft.com> wrote in message


>> news:C82EDFFD-1097-4CAD...@microsoft.com...
>> >I have tried doing a conditional format on the #N/A but it does not seem
>> >to
>> > work. What do you need to specifically put in the conditional format. I
>> > have
>> > tried #N/A, NA(), N/A ?

>> > "fishy" wrote:
>> >
>> >> Working thanks - as you said, already tried the first suggestion but
>> >> as
>> >> it
>> >> was a formulae, it still showed.

>> >> "Andy Pope" wrote:
>> >> > Hi,
>> >> >
>> >> > That will not work is the cells actually contain zero because by
>> >> > definition containing zero is NOT empty.
>> >> >
>> >> > The zeros will either need to be removed from the cells or replaced
>> >> > with
>> >> > NA().
>> >> >
>> >> > =IF(SUM(myrange)=0,NA(),SUM(myrange))
>> >> >
>> >> > Use conditional formating to hide the #N/A

...


Jon Peltier

unread,
Jan 30, 2007, 11:57:59 AM1/30/07
to
Here's Debra Dalgleish's explanation:

http://contextures.com/xlCondFormat03.html#Errors

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


"AR" <A...@discussions.microsoft.com> wrote in message

news:19019DE4-4429-49F7...@microsoft.com...

AR

unread,
Jan 31, 2007, 8:45:00 PM1/31/07
to
Thanks Jon for the How To Conditional Format. I wasn't using Formula Is I was
using Cell Is

MCC

unread,
Aug 12, 2009, 11:06:01 AM8/12/09
to
Really important because it is NOT obvious through the prior instructions in
this change: you have to set the conditional formatting for a single cell as
decribed and then copy the format with the paintbrush to all the other cells.
You can NOT select a range of cells and set the formula based conditional
formatting for them all at the same time.

Sarah Martin

unread,
Aug 14, 2020, 2:18:46 PM8/14/20
to
Sorry for rehashing a really old topic, but I've got that conditional formatting set on the ranges of cells I'm graphing, but the graphs still show the empty categories:

Screenshot of data tables: https://www.dropbox.com/s/ckt2tx7j6zg2i5n/data.JPG?dl=0
Screenshot of graphs: https://www.dropbox.com/s/gctgh55yhpdnklu/graphs.JPG?dl=0

Is there any way to make those automatically not show if their value is 0?

-Sarah M
0 new messages