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  

Stop chart lines going to zero



 
 
Thread Tools Display Modes
  #1  
Old March 3rd, 2006, 10:34 PM posted to microsoft.public.excel.charting
external usenet poster
 
Posts: n/a
Default Stop chart lines going to zero

Chart lines drop to zero on last point unless cell is highlighted and delete
key pressed, which is no good if there is a formulae in the cell. Anybody
know how to cure this ??

  #2  
Old March 4th, 2006, 12:23 AM posted to microsoft.public.excel.charting
external usenet poster
 
Posts: n/a
Default Stop chart lines going to zero

In article , =?Utf-8?B?
VG9tIEg=?= Tom says...
Chart lines drop to zero on last point unless cell is highlighted and delete
key pressed, which is no good if there is a formulae in the cell. Anybody
know how to cure this ??


Replace the "" in the formula with NA()

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions
  #3  
Old March 4th, 2006, 02:36 AM posted to microsoft.public.excel.charting
external usenet poster
 
Posts: n/a
Default Stop chart lines going to zero

Thanks for the quick reply Tushar, but this didn't fix the problem.
The formulae I am using is:- =IF(H110="","",SUM(K110/H110))

Regards Tom H


"Tushar Mehta" wrote:

In article , =?Utf-8?B?
VG9tIEg=?= Tom says...
Chart lines drop to zero on last point unless cell is highlighted and delete
key pressed, which is no good if there is a formulae in the cell. Anybody
know how to cure this ??


Replace the "" in the formula with NA()

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions

  #4  
Old March 4th, 2006, 02:43 AM posted to microsoft.public.excel.charting
external usenet poster
 
Posts: n/a
Default Stop chart lines going to zero

Good guess, though, considering there was no formula in the original post.
Try this:

=IF(H110="",NA(),SUM(K110/H110))

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services - Tutorials and Custom Solutions -
http://PeltierTech.com/
2006 Excel User Conference, 19-21 April, Atlantic City, NJ
http://peltiertech.com/Excel/ExcelUserConf06.html
_______

"Tom H" wrote in message
...
Thanks for the quick reply Tushar, but this didn't fix the problem.
The formulae I am using is:- =IF(H110="","",SUM(K110/H110))

Regards Tom H


"Tushar Mehta" wrote:

In article ,
=?Utf-8?B?
VG9tIEg=?= Tom says...
Chart lines drop to zero on last point unless cell is highlighted and
delete
key pressed, which is no good if there is a formulae in the cell.
Anybody
know how to cure this ??


Replace the "" in the formula with NA()

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions



  #5  
Old March 4th, 2006, 02:55 AM posted to microsoft.public.excel.charting
external usenet poster
 
Posts: n/a
Default Stop chart lines going to zero

Jon, Have tried this again and still doesn't work.

Regards Tom H

"Jon Peltier" wrote:

Good guess, though, considering there was no formula in the original post.
Try this:

=IF(H110="",NA(),SUM(K110/H110))

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services - Tutorials and Custom Solutions -
http://PeltierTech.com/
2006 Excel User Conference, 19-21 April, Atlantic City, NJ
http://peltiertech.com/Excel/ExcelUserConf06.html
_______

"Tom H" wrote in message
...
Thanks for the quick reply Tushar, but this didn't fix the problem.
The formulae I am using is:- =IF(H110="","",SUM(K110/H110))

Regards Tom H


"Tushar Mehta" wrote:

In article ,
=?Utf-8?B?
VG9tIEg=?= Tom says...
Chart lines drop to zero on last point unless cell is highlighted and
delete
key pressed, which is no good if there is a formulae in the cell.
Anybody
know how to cure this ??


Replace the "" in the formula with NA()

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions




  #6  
Old March 4th, 2006, 11:37 AM posted to microsoft.public.excel.charting
external usenet poster
 
Posts: n/a
Default Stop chart lines going to zero

Tom,

I had this same problem when I tested the suggested change in a formula I was
using. The problem was I only changed one cell as a test and the chart line
still dropped to zero due to the subsequent cells having "" instead of NA().

You have to apply this formula to all cells in the column otherwise the first
cell with "" instead of NA() will cause the chart line to drop to zero.

JC

On Fri, 3 Mar 2006 18:55:27 -0800, Tom H wrote:

Jon, Have tried this again and still doesn't work.

Regards Tom H

"Jon Peltier" wrote:

Good guess, though, considering there was no formula in the original post.
Try this:

=IF(H110="",NA(),SUM(K110/H110))

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services - Tutorials and Custom Solutions -
http://PeltierTech.com/
2006 Excel User Conference, 19-21 April, Atlantic City, NJ
http://peltiertech.com/Excel/ExcelUserConf06.html
_______

"Tom H" wrote in message
...
Thanks for the quick reply Tushar, but this didn't fix the problem.
The formulae I am using is:- =IF(H110="","",SUM(K110/H110))

Regards Tom H


"Tushar Mehta" wrote:

In article ,
=?Utf-8?B?
VG9tIEg=?= Tom says...
Chart lines drop to zero on last point unless cell is highlighted and
delete
key pressed, which is no good if there is a formulae in the cell.
Anybody
know how to cure this ??


Replace the "" in the formula with NA()

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions




  #7  
Old March 4th, 2006, 12:29 PM posted to microsoft.public.excel.charting
external usenet poster
 
Posts: n/a
Default Stop chart lines going to zero

Another point: the NA() only prevents Line chart and XY chart points from
displaying. Other chart types will display a zero value for NA(). For a
column or bar chart it usually doesn't matter, since a zero value usually
just doesn't show because it's the minimum height of the axis (although
you'll get a #N/A data label if you are showing values). But an area chart
will display this drop from the last nonzero point to zero.

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

"JC" wrote in message
...
Tom,

I had this same problem when I tested the suggested change in a formula I
was
using. The problem was I only changed one cell as a test and the chart
line
still dropped to zero due to the subsequent cells having "" instead of
NA().

You have to apply this formula to all cells in the column otherwise the
first
cell with "" instead of NA() will cause the chart line to drop to zero.

JC

On Fri, 3 Mar 2006 18:55:27 -0800, Tom H
wrote:

Jon, Have tried this again and still doesn't work.

Regards Tom H

"Jon Peltier" wrote:

Good guess, though, considering there was no formula in the original
post.
Try this:

=IF(H110="",NA(),SUM(K110/H110))

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services - Tutorials and Custom Solutions -
http://PeltierTech.com/
2006 Excel User Conference, 19-21 April, Atlantic City, NJ
http://peltiertech.com/Excel/ExcelUserConf06.html
_______

"Tom H" wrote in message
...
Thanks for the quick reply Tushar, but this didn't fix the problem.
The formulae I am using is:- =IF(H110="","",SUM(K110/H110))

Regards Tom H


"Tushar Mehta" wrote:

In article ,
=?Utf-8?B?
VG9tIEg=?= Tom says...
Chart lines drop to zero on last point unless cell is highlighted
and
delete
key pressed, which is no good if there is a formulae in the cell.
Anybody
know how to cure this ??


Replace the "" in the formula with NA()

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions






  #8  
Old March 4th, 2006, 09:48 PM posted to microsoft.public.excel.charting
external usenet poster
 
Posts: n/a
Default Stop chart lines going to zero

Unfortunately this still doesn't work, even with formulae applied to all
cells, perhaps there is a way with conditional formating to switch the line
chart off ?

"Jon Peltier" wrote:

Another point: the NA() only prevents Line chart and XY chart points from
displaying. Other chart types will display a zero value for NA(). For a
column or bar chart it usually doesn't matter, since a zero value usually
just doesn't show because it's the minimum height of the axis (although
you'll get a #N/A data label if you are showing values). But an area chart
will display this drop from the last nonzero point to zero.

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

"JC" wrote in message
...
Tom,

I had this same problem when I tested the suggested change in a formula I
was
using. The problem was I only changed one cell as a test and the chart
line
still dropped to zero due to the subsequent cells having "" instead of
NA().

You have to apply this formula to all cells in the column otherwise the
first
cell with "" instead of NA() will cause the chart line to drop to zero.

JC

On Fri, 3 Mar 2006 18:55:27 -0800, Tom H
wrote:

Jon, Have tried this again and still doesn't work.

Regards Tom H

"Jon Peltier" wrote:

Good guess, though, considering there was no formula in the original
post.
Try this:

=IF(H110="",NA(),SUM(K110/H110))

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services - Tutorials and Custom Solutions -
http://PeltierTech.com/
2006 Excel User Conference, 19-21 April, Atlantic City, NJ
http://peltiertech.com/Excel/ExcelUserConf06.html
_______

"Tom H" wrote in message
...
Thanks for the quick reply Tushar, but this didn't fix the problem.
The formulae I am using is:- =IF(H110="","",SUM(K110/H110))

Regards Tom H


"Tushar Mehta" wrote:

In article ,
=?Utf-8?B?
VG9tIEg=?= Tom says...
Chart lines drop to zero on last point unless cell is highlighted
and
delete
key pressed, which is no good if there is a formulae in the cell.
Anybody
know how to cure this ??


Replace the "" in the formula with NA()

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions







  #9  
Old March 4th, 2006, 11:06 PM posted to microsoft.public.excel.charting
external usenet poster
 
Posts: n/a
Default Stop chart lines going to zero

Okay, I suspect something wasn't adequately communicated. What's the data
look like? What range is it in? What does the series formula look like. What
does the formula in the worksheet look like? What cells is it in? What do
the results of the formula look like.

If you can't get this to work, you won't be able to get any conditional
formatting to work in the chart either, because conditional formatting in a
chart is based on similar formulas incorporating NA().

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

"Tom H" wrote in message
...
Unfortunately this still doesn't work, even with formulae applied to all
cells, perhaps there is a way with conditional formating to switch the
line
chart off ?

"Jon Peltier" wrote:

Another point: the NA() only prevents Line chart and XY chart points from
displaying. Other chart types will display a zero value for NA(). For a
column or bar chart it usually doesn't matter, since a zero value usually
just doesn't show because it's the minimum height of the axis (although
you'll get a #N/A data label if you are showing values). But an area
chart
will display this drop from the last nonzero point to zero.

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

"JC" wrote in message
...
Tom,

I had this same problem when I tested the suggested change in a formula
I
was
using. The problem was I only changed one cell as a test and the chart
line
still dropped to zero due to the subsequent cells having "" instead of
NA().

You have to apply this formula to all cells in the column otherwise the
first
cell with "" instead of NA() will cause the chart line to drop to zero.

JC

On Fri, 3 Mar 2006 18:55:27 -0800, Tom H

wrote:

Jon, Have tried this again and still doesn't work.

Regards Tom H

"Jon Peltier" wrote:

Good guess, though, considering there was no formula in the original
post.
Try this:

=IF(H110="",NA(),SUM(K110/H110))

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services - Tutorials and Custom Solutions -
http://PeltierTech.com/
2006 Excel User Conference, 19-21 April, Atlantic City, NJ
http://peltiertech.com/Excel/ExcelUserConf06.html
_______

"Tom H" wrote in message
...
Thanks for the quick reply Tushar, but this didn't fix the problem.
The formulae I am using is:- =IF(H110="","",SUM(K110/H110))

Regards Tom H


"Tushar Mehta" wrote:

In article ,
=?Utf-8?B?
VG9tIEg=?= Tom says...
Chart lines drop to zero on last point unless cell is highlighted
and
delete
key pressed, which is no good if there is a formulae in the cell.
Anybody
know how to cure this ??


Replace the "" in the formula with NA()

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions









  #10  
Old March 5th, 2006, 12:54 AM posted to microsoft.public.excel.charting
external usenet poster
 
Posts: n/a
Default Stop chart lines going to zero

Jon,

Went back through all the formulaes upsteam of the empty cells and found one
that still had the old formulae in - Now works fine on the graph, but #N/A
shows in the data cells that don't have a result in. Is there a way to stop
the #N/A from showing, as this is also interfering with other formulaes -
Thanks.

"Jon Peltier" wrote:

Okay, I suspect something wasn't adequately communicated. What's the data
look like? What range is it in? What does the series formula look like. What
does the formula in the worksheet look like? What cells is it in? What do
the results of the formula look like.

If you can't get this to work, you won't be able to get any conditional
formatting to work in the chart either, because conditional formatting in a
chart is based on similar formulas incorporating NA().

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

"Tom H" wrote in message
...
Unfortunately this still doesn't work, even with formulae applied to all
cells, perhaps there is a way with conditional formating to switch the
line
chart off ?

"Jon Peltier" wrote:

Another point: the NA() only prevents Line chart and XY chart points from
displaying. Other chart types will display a zero value for NA(). For a
column or bar chart it usually doesn't matter, since a zero value usually
just doesn't show because it's the minimum height of the axis (although
you'll get a #N/A data label if you are showing values). But an area
chart
will display this drop from the last nonzero point to zero.

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

"JC" wrote in message
...
Tom,

I had this same problem when I tested the suggested change in a formula
I
was
using. The problem was I only changed one cell as a test and the chart
line
still dropped to zero due to the subsequent cells having "" instead of
NA().

You have to apply this formula to all cells in the column otherwise the
first
cell with "" instead of NA() will cause the chart line to drop to zero.

JC

On Fri, 3 Mar 2006 18:55:27 -0800, Tom H

wrote:

Jon, Have tried this again and still doesn't work.

Regards Tom H

"Jon Peltier" wrote:

Good guess, though, considering there was no formula in the original
post.
Try this:

=IF(H110="",NA(),SUM(K110/H110))

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services - Tutorials and Custom Solutions -
http://PeltierTech.com/
2006 Excel User Conference, 19-21 April, Atlantic City, NJ
http://peltiertech.com/Excel/ExcelUserConf06.html
_______

"Tom H" wrote in message
...
Thanks for the quick reply Tushar, but this didn't fix the problem.
The formulae I am using is:- =IF(H110="","",SUM(K110/H110))

Regards Tom H


"Tushar Mehta" wrote:

In article ,
=?Utf-8?B?
VG9tIEg=?= Tom says...
Chart lines drop to zero on last point unless cell is highlighted
and
delete
key pressed, which is no good if there is a formulae in the cell.
Anybody
know how to cure this ??


Replace the "" in the formula with NA()

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions










 




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
Vertical Lines on the Lines on 2 Axes Chart [email protected] Charts and Charting 3 March 3rd, 2006 04:14 AM
Using drop lines with XY scatter chart SMACS03 Charts and Charting 1 February 8th, 2006 03:47 AM
Want to combine columns and horizontal lines in complex chart - Can it be Done?! James Hobart Charts and Charting 3 February 18th, 2005 02:23 AM
Chart menu visible property Sandy V Charts and Charting 8 May 17th, 2004 01:39 PM
'Closing' chart window *and* removing chart using VBA Marc R. Bertrand Charts and Charting 7 December 17th, 2003 04:30 PM


All times are GMT +1. The time now is 10:02 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.