Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
marika1981
 
Posts: n/a
Default overcoming zero values in line graph

I have a 12-month line graph where some of the earliest and most recent data
is still zero.

Is there a way to have Excel not plot zero values - to avoid the big rises
and drop offs they cause - and, rather, just have the graph start and end
wherever there is positive data?

(NOTE: for multiple reasons, I can't erase the formulae in the cells
yielding the zero values, or have them display the N/A message....)

Thanks!!!

Marika :)

  #3   Report Post  
John Harris
 
Posts: n/a
Default

From the data set you can use the IF command to make it read NA when the
response is zero. If you are inputting the numbers, you can also do a page
format for anything less than or equal to 0 is "NA" and that should leave it
unplotted.

=IF(A1=0, "NA", A1/A2) or something to that extent


"marika1981" wrote in message
...
I have a 12-month line graph where some of the earliest and most recent
data
is still zero.

Is there a way to have Excel not plot zero values - to avoid the big rises
and drop offs they cause - and, rather, just have the graph start and end
wherever there is positive data?

(NOTE: for multiple reasons, I can't erase the formulae in the cells
yielding the zero values, or have them display the N/A message....)

Thanks!!!

Marika :)



  #4   Report Post  
Jon Peltier
 
Posts: n/a
Default

Debra Dalgleish shows how to hide those errors with conditional formatting:

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

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

marika1981 wrote:

I have a 12-month line graph where some of the earliest and most recent data
is still zero.

Is there a way to have Excel not plot zero values - to avoid the big rises
and drop offs they cause - and, rather, just have the graph start and end
wherever there is positive data?

(NOTE: for multiple reasons, I can't erase the formulae in the cells
yielding the zero values, or have them display the N/A message....)

Thanks!!!

Marika :)

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 to ignore zero values when plotting a graph Phil Lavis Charts and Charting in Excel 4 May 14th 23 07:43 PM
Line and Column Graph Nikki Charts and Charting in Excel 3 February 4th 05 05:42 AM
Missing values in Excel Line Chart mw55309 Charts and Charting in Excel 1 January 19th 05 01:10 PM
Can you have a vertical line graph in Excel 2003 smithers2002 Charts and Charting in Excel 3 January 12th 05 02:27 PM
Bar graph values keep changing Mike82j2000 Charts and Charting in Excel 1 January 6th 05 02:27 PM


All times are GMT +1. The time now is 05:37 PM.

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

About Us

"It's about Microsoft Excel"