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  

Zero length string on chart



 
 
Thread Tools Display Modes
  #1  
Old May 6th, 2010, 03:12 PM posted to microsoft.public.excel.charting
Joe M.
external usenet poster
 
Posts: 168
Default Zero length string on chart

Hi. I am trying to create some "MARKERS" at the top of a line chart. I'm
using a series as a line to mark the top of the graph. The purpose of the
markers are to indicate if a certain event took place in a particular month.
There are other series plotted on other lines below for actual data. i.e. if
my vert axis highest value is 200 then the values I'm setting for my marker
is 190 so that the marker appears close to the top. I've made the line the
same color as the graph background so that only the markers appear. If i
leave the cell blank then there is no marker in the column which is what I
want. But I don't want the user to enter a value to indicate the event.
Instead I would like them to enter an X. So I'm using a formula create a
value or zero length string for the marker. The X is to be placed in col B,
with the formula given values for my markers in col C. The list of values
where I'm getting the max value is in col D. So my formula is:
=if(b2"",MAX(D213),""). The problem is if the cell in col B is blank, the
marker still appears but at the bottom of the graph. If I erase the formula
then the marker dissapears. Should i set the false condition to something
else?

Thanks!
Joe M.
  #2  
Old May 6th, 2010, 03:16 PM posted to microsoft.public.excel.charting
Luke M[_4_]
external usenet poster
 
Posts: 451
Default Zero length string on chart

Set the false condition to NA() (which is ignored by line charts)

=if(b2"",MAX(D213),NA())

--
Best Regards,

Luke M
"Joe M." wrote in message
...
Hi. I am trying to create some "MARKERS" at the top of a line chart. I'm
using a series as a line to mark the top of the graph. The purpose of the
markers are to indicate if a certain event took place in a particular
month.
There are other series plotted on other lines below for actual data. i.e.
if
my vert axis highest value is 200 then the values I'm setting for my
marker
is 190 so that the marker appears close to the top. I've made the line the
same color as the graph background so that only the markers appear. If i
leave the cell blank then there is no marker in the column which is what I
want. But I don't want the user to enter a value to indicate the event.
Instead I would like them to enter an X. So I'm using a formula create a
value or zero length string for the marker. The X is to be placed in col
B,
with the formula given values for my markers in col C. The list of values
where I'm getting the max value is in col D. So my formula is:
=if(b2"",MAX(D213),""). The problem is if the cell in col B is blank,
the
marker still appears but at the bottom of the graph. If I erase the
formula
then the marker dissapears. Should i set the false condition to something
else?

Thanks!
Joe M.



 




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 03:51 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.