Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Clear zeros from a graphic


Hello
I have built a graphic with some data that comes from a condition.
When a condition is true I dont want to have any value in the graphic but
the if() condition writes a zero in the cell and the graphic display a zero
instead of nothing.

We have built a macro, but is there another way to do it.

Thank you very much,

Vicente Mateos (Spain)
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 772
Default Clear zeros from a graphic

What formula are you using? typically its something like
If(test=1,0,"True")
that zero tells what to place in the cell when the test does not = 1
changing the zero to "" will return a blank instead.
Correct me if i misunderstand what you are trying to do.
--
-John
Please rate when your question is answered to help us and others know what
is helpful.


"Vicente Mateos" wrote:


Hello
I have built a graphic with some data that comes from a condition.
When a condition is true I dont want to have any value in the graphic but
the if() condition writes a zero in the cell and the graphic display a zero
instead of nothing.

We have built a macro, but is there another way to do it.

Thank you very much,

Vicente Mateos (Spain)

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,489
Default Clear zeros from a graphic

Hi,

Instead of zero use NA()

So if your formula is structure like this,

IF( <test , <value , 0 )

change to

IF( <test , <value , NA() )

If the chart type is Line the point will not be displayed but the line will
interpolate between points.

Cheers
Andy

--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
"Vicente Mateos" <Vicente wrote in message
...

Hello
I have built a graphic with some data that comes from a condition.
When a condition is true I dont want to have any value in the graphic but
the if() condition writes a zero in the cell and the graphic display a
zero
instead of nothing.

We have built a macro, but is there another way to do it.

Thank you very much,

Vicente Mateos (Spain)


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6,582
Default Clear zeros from a graphic

The cell isn't blank, it only looks blank. The chart treats the pseudo-blank
the way it treats any text, as a zero. Andy's suggestion to use NA() is the
way to attack this problem.

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


"John Bundy" (remove) wrote in message
...
What formula are you using? typically its something like
If(test=1,0,"True")
that zero tells what to place in the cell when the test does not = 1
changing the zero to "" will return a blank instead.
Correct me if i misunderstand what you are trying to do.
--
-John
Please rate when your question is answered to help us and others know what
is helpful.


"Vicente Mateos" wrote:


Hello
I have built a graphic with some data that comes from a condition.
When a condition is true I dont want to have any value in the graphic but
the if() condition writes a zero in the cell and the graphic display a
zero
instead of nothing.

We have built a macro, but is there another way to do it.

Thank you very much,

Vicente Mateos (Spain)



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Clear zeros from a graphic

Thank you very much Jon Peltier, it works...





"Vicente Mateos" wrote:


Hello
I have built a graphic with some data that comes from a condition.
When a condition is true I dont want to have any value in the graphic but
the if() condition writes a zero in the cell and the graphic display a zero
instead of nothing.

We have built a macro, but is there another way to do it.

Thank you very much,

Vicente Mateos (Spain)

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
how do I hide zeros in a graphic? FLF Charts and Charting in Excel 4 February 7th 08 08:47 PM
when i megre cells that begin with zeros , I lose the zeros RDC Excel Discussion (Misc queries) 1 November 16th 07 03:31 PM
clear the clear the web page email attachment lines MCrider Excel Discussion (Misc queries) 0 November 11th 07 10:05 PM
Insert Decimal Places and Clear Zeros Gladys Excel Discussion (Misc queries) 2 May 5th 06 08:59 PM
save text field w/ leading zeros in .csv format & not lose zeros? Ques Excel Discussion (Misc queries) 1 May 4th 05 06:21 PM


All times are GMT +1. The time now is 06:52 PM.

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"