I'm doing a weekly log for some athletes with some data and I want to chart it as they fill it in during the week. The only issue is that for days in the week where the data hasn't been entered yet, the formula produces a result of zero, which gets included in the chart, throwing the scatter graph off. How can I get the chart to stop plotting zeros?
-
superuser.com/questions/654279/…– user387876Commented Dec 22, 2014 at 23:35
-
@Tyler - that link covers a different issue (the appearance of labels). This question is about a scatter chart and blank values being plotted as data points with a value of zero.– fixer1234Commented Dec 23, 2014 at 0:38
Add a comment
|
1 Answer
Adjust your formula so that if the input is blank, it returns NA(). Something like this:
=IF(LEN(A2)>0,your-formula-here,NA())
This puts #N/A into the cell, which may look strange, but an XY chart ignores #N/A, without plotting a point. If the chart has lines connecting the markers, the line will pass over where the #N/A point would have gone, connecting the points on either side.