Hide zero values on an X Y scatter graph

Posted on 2009-12-21
Medium Priority
Last Modified: 2012-06-21
I have a dynamic XY chart.

Dates in COL A  and the values are in whatever column I offset to.   Some values are Zero.  I do not want to show the value on the chart as zero if there is no value.

I have tried using a custom # format.
I have tried using a formula  (probably didn't do this one correct)

How can I do this.  I want to show the gap in the line not have it drawn on the X axis as Zero.

thanks experts.

Question by:skillilea

Author Comment

ID: 26100145
Think I found a possible one.

IF(A1 = 0 , #N/A, A1)

any better ways so I don't have to add another IF in my formula.

LVL 85

Accepted Solution

Rory Archibald earned 2000 total points
ID: 26100264
Not really - the only guaranteed solution is a truly blank cell. Using NA() will give you an interpolated value if it's in the middle of your data, whereas a blank cell will give a break in your line. It depends what you actually want plotted.

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
Windows Explorer lets you open cabinet (cab) files like any other folder. In VBA you can easily handle normal files and folders, but opening and indeed creating cabinet files takes a lot more - and that's you'll find here.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question