ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   Cutting a line in a line chart when data series stops (https://www.excelbanter.com/charts-charting-excel/154152-cutting-line-line-chart-when-data-series-stops.html)

DannyS

Cutting a line in a line chart when data series stops
 
I have a series like so:

Jan 10
Feb 10
Mar 11
Apr 12
May
Jun
Jul

And so on - the rest of the year is blank. When I draw a line chart for the
full 12 months the series draws a line up to April, then plummets to zero in
May. I want the line to just stop at April. If I use a series as above and
genuine empty cells for the end of the year this ok, but since my May cell
reads =IF($A11<=$D$17,G11,"") the "" does not seem to get recognised as a
blank cell.

Please help!!

David Biddulph[_2_]

Cutting a line in a line chart when data series stops
 
Change your formula to =IF($A11<=$D$17,G11,NA())
--
David Biddulph

"DannyS" wrote in message
...
I have a series like so:

Jan 10
Feb 10
Mar 11
Apr 12
May
Jun
Jul

And so on - the rest of the year is blank. When I draw a line chart for
the
full 12 months the series draws a line up to April, then plummets to zero
in
May. I want the line to just stop at April. If I use a series as above
and
genuine empty cells for the end of the year this ok, but since my May cell
reads =IF($A11<=$D$17,G11,"") the "" does not seem to get recognised as a
blank cell.

Please help!!




DannyS

Cutting a line in a line chart when data series stops
 
Thanks David,

That works a treat for everything except area charts - I guess as they stack
they treat the N/As as 0's? Any idfeas for this case?

Much appreciated, Dan

"David Biddulph" wrote:

Change your formula to =IF($A11<=$D$17,G11,NA())
--
David Biddulph

"DannyS" wrote in message
...
I have a series like so:

Jan 10
Feb 10
Mar 11
Apr 12
May
Jun
Jul

And so on - the rest of the year is blank. When I draw a line chart for
the
full 12 months the series draws a line up to April, then plummets to zero
in
May. I want the line to just stop at April. If I use a series as above
and
genuine empty cells for the end of the year this ok, but since my May cell
reads =IF($A11<=$D$17,G11,"") the "" does not seem to get recognised as a
blank cell.

Please help!!






All times are GMT +1. The time now is 01:48 AM.

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