ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   Hide data points prior to a certain date (https://www.excelbanter.com/charts-charting-excel/186771-hide-data-points-prior-certain-date.html)

Rachel Garrett

Hide data points prior to a certain date
 
I have a line chart with three series over time. One series represents
actual values. For future dates, I made a formula return "#N/A" so
that they won't be plotted.

For one of the other lines, I would like to do something similar for
*past* dates up to March 2008. When I change the source data to start
at the March 2008 value, of course this skews the graph and puts the
March 2008 value where the graph starts, at November 2007. I can't do
the #N/A trick, since other data depends on these values.

I would be happy to just right-click and hide the November through
March data points manually. However, the three data series overlap at
many places, and it's impossible to just pick out the ones I want.

Any suggestions?

Thanks,
Rachel

Andy Pope

Hide data points prior to a certain date
 
Hi,

Sounds like you need another column of data that uses the NA() approach
for past data so the line beings in March 2008 even though the axis
begins November 2007. Then the other series can use the past data.
Then change the data used for that series to the new helper column.

Cheers
Andy

Rachel Garrett wrote:
I have a line chart with three series over time. One series represents
actual values. For future dates, I made a formula return "#N/A" so
that they won't be plotted.

For one of the other lines, I would like to do something similar for
*past* dates up to March 2008. When I change the source data to start
at the March 2008 value, of course this skews the graph and puts the
March 2008 value where the graph starts, at November 2007. I can't do
the #N/A trick, since other data depends on these values.

I would be happy to just right-click and hide the November through
March data points manually. However, the three data series overlap at
many places, and it's impossible to just pick out the ones I want.

Any suggestions?

Thanks,
Rachel


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info


All times are GMT +1. The time now is 05:23 PM.

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