ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   data series and axis labels (https://www.excelbanter.com/charts-charting-excel/142367-data-series-axis-labels.html)

cdwinlib

data series and axis labels
 
I will try my best to ask this question in a way that makes sense-

I have a line chart showing monthly sales. My X axis is labeled Jan - Dec
and my data series is the sales by month. I have figures for Jan Feb Mar and
Apr but since May - Dec are at $0 my chart currently shows a straight line
down from Apr to May.

Is it possible to stop the line at April yet keep the axis showing Jan - Dec?

Thanks!



Del Cotter

data series and axis labels
 
On Thu, 10 May 2007, in microsoft.public.excel.charting,
cdwinlib said:
I have a line chart showing monthly sales. My X axis is labeled Jan - Dec
and my data series is the sales by month. I have figures for Jan Feb Mar and
Apr but since May - Dec are at $0 my chart currently shows a straight line
down from Apr to May.

Is it possible to stop the line at April yet keep the axis showing Jan - Dec?


Yes, but I think you'll have to make the sales cells for May to December
really actually blank to stop the line appearing. Fill the cells in as
the year goes on with the real sales figures.

If you are using the same data to present a table, and the table has to
have actual zeroes, then have a separate table display from the graph
data.

There are other ways to achieve this (for instance, named ranges and the
ever-useful OFFSET function) but they're a bit fiddly and not very
time-efficient for busy people who just need to present a sales graph
each month.

--
Del Cotter
NB Personal replies to this post will send email to ,
which goes to a spam folder-- please send your email to del3 instead.

David Biddulph[_2_]

data series and axis labels
 
Fill your May to December cells with =NA(), rather than blank or zero, then
they won't show up as zeroes on the chart. If you don't want the N/A# to
show up on your sheet, you can hide them with conditional formatting (set
font colour the same as the background colour).
--
David Biddulph

"cdwinlib" wrote in message
...
I will try my best to ask this question in a way that makes sense-

I have a line chart showing monthly sales. My X axis is labeled Jan - Dec
and my data series is the sales by month. I have figures for Jan Feb Mar
and
Apr but since May - Dec are at $0 my chart currently shows a straight line
down from Apr to May.

Is it possible to stop the line at April yet keep the axis showing Jan -
Dec?

Thanks!






All times are GMT +1. The time now is 04:20 PM.

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