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  

How to eliminate zero values on graphs when formula calculates 0?



 
 
Thread Tools Display Modes
  #1  
Old September 20th, 2009, 09:17 PM posted to microsoft.public.excel.charting
sjgolfer
external usenet poster
 
Posts: 2
Default How to eliminate zero values on graphs when formula calculates 0?

I'm setting up a graph of data that is calculated with an "if" function over
a series of days of input data including future days. When the input data
cell is blank I would like the calculated value to not show a zero value on
the graph. If the cell were blank, the plot would not show a zero value.
The problem is that at the end of the line graph the line always falls off to
zero.

  #2  
Old September 20th, 2009, 09:26 PM posted to microsoft.public.excel.charting
David Biddulph
external usenet poster
 
Posts: 8,714
Default How to eliminate zero values on graphs when formula calculates 0?

=IF(A1="",NA(),your_formula)
--
David Biddulph

"sjgolfer" wrote in message
...
I'm setting up a graph of data that is calculated with an "if" function
over
a series of days of input data including future days. When the input data
cell is blank I would like the calculated value to not show a zero value
on
the graph. If the cell were blank, the plot would not show a zero value.
The problem is that at the end of the line graph the line always falls off
to
zero.



  #3  
Old September 20th, 2009, 09:57 PM posted to microsoft.public.excel.charting
sjgolfer
external usenet poster
 
Posts: 2
Default How to eliminate zero values on graphs when formula calculates

Thanks David. That does make the cell blank but unfortunately it still plots
as a zero on the graph.
SJgolfer

"David Biddulph" wrote:

=IF(A1="",NA(),your_formula)
--
David Biddulph

"sjgolfer" wrote in message
...
I'm setting up a graph of data that is calculated with an "if" function
over
a series of days of input data including future days. When the input data
cell is blank I would like the calculated value to not show a zero value
on
the graph. If the cell were blank, the plot would not show a zero value.
The problem is that at the end of the line graph the line always falls off
to
zero.




  #4  
Old September 20th, 2009, 10:19 PM posted to microsoft.public.excel.charting
Bernard Liengme[_2_]
external usenet poster
 
Posts: 1,027
Default How to eliminate zero values on graphs when formula calculates

A value of #N/A (coming from the NA() function) is ignored by the chart
engine
Want to send me a sample file to check? Get me email from my website
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"sjgolfer" wrote in message
...
Thanks David. That does make the cell blank but unfortunately it still
plots
as a zero on the graph.
SJgolfer

"David Biddulph" wrote:

=IF(A1="",NA(),your_formula)
--
David Biddulph

"sjgolfer" wrote in message
...
I'm setting up a graph of data that is calculated with an "if" function
over
a series of days of input data including future days. When the input
data
cell is blank I would like the calculated value to not show a zero
value
on
the graph. If the cell were blank, the plot would not show a zero
value.
The problem is that at the end of the line graph the line always falls
off
to
zero.





  #5  
Old September 21st, 2009, 07:26 PM posted to microsoft.public.excel.charting
Bernard Liengme[_2_]
external usenet poster
 
Posts: 1,027
Default How to eliminate zero values on graphs when formula calculates

Problem solved. The cell were no empty but contained zeros and the
worksheet was formatted not to show zeros!
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"sjgolfer" wrote in message
...
Thanks David. That does make the cell blank but unfortunately it still
plots
as a zero on the graph.
SJgolfer

"David Biddulph" wrote:

=IF(A1="",NA(),your_formula)
--
David Biddulph

"sjgolfer" wrote in message
...
I'm setting up a graph of data that is calculated with an "if" function
over
a series of days of input data including future days. When the input
data
cell is blank I would like the calculated value to not show a zero
value
on
the graph. If the cell were blank, the plot would not show a zero
value.
The problem is that at the end of the line graph the line always falls
off
to
zero.





 




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


All times are GMT +1. The time now is 11:23 AM.


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