A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Charts and Charting
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

line chart with NA() values



 
 
Thread Tools Display Modes
  #1  
Old October 18th, 2005, 10:06 PM
grime
external usenet poster
 
Posts: n/a
Default line chart with NA() values


12 month line chart, with some values being 0.

I am using an if statement that turns any 0 values to #N/A so they do
not show on the graph (which is what I want).

My problem arises when the 0 values fall in the middle of my data.

So for example:
1) data for all months (Jan-Dec), the line shows across all 12
months;
2) I have data for only 6 months (Jul-Dec), the line starts in Jul and
ends in Dec (perfect);
3) When I have data from Jan-Mar, and Oct-Dec, the line connects
between Mar and Oct. I want 2 distinct lines with no line where there
is no data (#N/A).

Any suggestions?


--
grime
------------------------------------------------------------------------
grime's Profile: http://www.excelforum.com/member.php...o&userid=19227
View this thread: http://www.excelforum.com/showthread...hreadid=477328

  #2  
Old October 19th, 2005, 03:09 AM
Jerry W. Lewis
external usenet poster
 
Posts: n/a
Default line chart with NA() values

There is not cell value that behaves exactly like an empty cell. You
can delete the cell formulas (if a dynamic chart you could write a macro
to delete or restore the formula as apprpriate).

Jerry

grime wrote:

12 month line chart, with some values being 0.

I am using an if statement that turns any 0 values to #N/A so they do
not show on the graph (which is what I want).

My problem arises when the 0 values fall in the middle of my data.

So for example:
1) data for all months (Jan-Dec), the line shows across all 12
months;
2) I have data for only 6 months (Jul-Dec), the line starts in Jul and
ends in Dec (perfect);
3) When I have data from Jan-Mar, and Oct-Dec, the line connects
between Mar and Oct. I want 2 distinct lines with no line where there
is no data (#N/A).

Any suggestions?


  #3  
Old October 19th, 2005, 08:40 AM
Andy Pope
external usenet poster
 
Posts: n/a
Default line chart with NA() values

Hi,

This work around might suffice.
http://www.andypope.info/charts/brokenlines.htm

Cheers
Andy

grime wrote:
12 month line chart, with some values being 0.

I am using an if statement that turns any 0 values to #N/A so they do
not show on the graph (which is what I want).

My problem arises when the 0 values fall in the middle of my data.

So for example:
1) data for all months (Jan-Dec), the line shows across all 12
months;
2) I have data for only 6 months (Jul-Dec), the line starts in Jul and
ends in Dec (perfect);
3) When I have data from Jan-Mar, and Oct-Dec, the line connects
between Mar and Oct. I want 2 distinct lines with no line where there
is no data (#N/A).

Any suggestions?



--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
  #4  
Old October 19th, 2005, 01:56 PM
grime
external usenet poster
 
Posts: n/a
Default line chart with NA() values


Awesome workaround, and good additional information there. Thanks for
passing this one along!


--
grime
------------------------------------------------------------------------
grime's Profile: http://www.excelforum.com/member.php...o&userid=19227
View this thread: http://www.excelforum.com/showthread...hreadid=477328

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to hide zero values on line chart MikeM Charts and Charting 2 October 7th, 2005 01:59 PM
Line Chart Randy K. Setting Up & Running Reports 0 November 14th, 2004 07:09 PM
Manually setting Y-axis values in line chart chris w Worksheet Functions 2 June 11th, 2004 08:20 PM
chart with date/time values Gaetano D'Aquila Charts and Charting 5 May 5th, 2004 01:51 PM
Plotting a datapoint on an existing Line chart Tushar Mehta Charts and Charting 0 November 23rd, 2003 01:08 AM


All times are GMT +1. The time now is 11:42 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.