Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.charting
|
|||
|
|||
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
Posted to microsoft.public.excel.charting
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Fixed length string of text | Excel Discussion (Misc queries) | |||
Zero-Length string vs Zero (also a valid value) | Excel Worksheet Functions | |||
Finding a string of unknown length in a string of unknown length, Help! | Excel Discussion (Misc queries) | |||
Finding cells of different string length. | Excel Discussion (Misc queries) | |||
String length | Excel Discussion (Misc queries) |