Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 97
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(D2:D13),""). 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   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 457
Default Zero length string on chart

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

=if(b2<"",MAX(D2:D13),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(D2:D13),""). 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.



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
Fixed length string of text MWysack Excel Discussion (Misc queries) 7 March 21st 13 12:05 AM
Zero-Length string vs Zero (also a valid value) [email protected] Excel Worksheet Functions 2 January 24th 09 02:18 PM
Finding a string of unknown length in a string of unknown length, Help! Hankjam[_2_] Excel Discussion (Misc queries) 8 July 3rd 08 06:49 PM
Finding cells of different string length. kingie Excel Discussion (Misc queries) 5 March 13th 08 12:31 AM
String length jxbeeman Excel Discussion (Misc queries) 1 January 10th 08 07:01 PM


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