Prevent Line Chart dropping to zero

eoinymc

Board Regular
Joined
Jan 29, 2009
Messages
203
Hi there guys,

A question for you on this fine day!

I have a line chart for a number of years, but there may not be a figure for a certain year.

So, if I have year 2009-2014, in 2011, there may be no figure.

I don't want the chart to drop to zero (which it does if I put in a zero). I also don't want the chart to just continue along from 2010 to 2012 forgetting about 2011 (which it does if I put in a NA#)

Has anybody got any ideas on how I would just stop the line at 2010 and then it can pick up again in 2012?

Thanks,

Eoin
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Hi Eoin

As far as I know you'd have to clear the cell. Any value in the cell will cause the chart to display something, either the value or interpolate or drop to zero.
 
Upvote 0
Well, that sucks! I don't want to have to put VBA in my spreadsheet, but I suppose I'll do it....stupid excel!

Thanks guys
 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,694
Members
448,979
Latest member
DET4492

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top