ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   I don't want to graph "null" values? (https://www.excelbanter.com/charts-charting-excel/234395-i-dont-want-graph-null-values.html)

jfinney

I don't want to graph "null" values?
 
I am plotting values over time using Excel's graphing feature. The graph
takes data from an adjacent worksheet. I have defined the graph to take data
from a large range in the work sheet but not all cells have data in them. I
add one piece of data each day to the spreadsheet. The new point is graphed
each day. However, all of the null cells following my last point are also
plotted as zero. These cells have a "null" value in them not the number
zero. How can I stop my plotted graph with the last numerical value?
Thanks, Jim

Luke M

I don't want to graph "null" values?
 
Go to Tools - Options - Chart.
Select: Plot empty cells as "Not Plotted (leave gaps)"

Note that if your blank cells are actually formulas, you need to have the
formula return NA() instead of "".
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"jfinney" wrote:

I am plotting values over time using Excel's graphing feature. The graph
takes data from an adjacent worksheet. I have defined the graph to take data
from a large range in the work sheet but not all cells have data in them. I
add one piece of data each day to the spreadsheet. The new point is graphed
each day. However, all of the null cells following my last point are also
plotted as zero. These cells have a "null" value in them not the number
zero. How can I stop my plotted graph with the last numerical value?
Thanks, Jim



All times are GMT +1. The time now is 11:27 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com