Draw a line betwee points separated by 0

Gildasl

New Member
Joined
Mar 29, 2012
Messages
22
Hi,

I am trying to draw a line between points that are separated by some 0. These point are on X axis and represent Quarter.
Each time I tried to use the Excel line, Excel considers an empty cell as o and I do not want the line passing by the 0.

[TABLE="width: 832"]
<colgroup><col style="width:48pt" span="13" width="64"> </colgroup><tbody>[TR]
[TD="width: 64"][/TD]
[TD="class: xl63, width: 64"]Q1-2010[/TD]
[TD="class: xl63, width: 64"]Q2-2010[/TD]
[TD="class: xl63, width: 64"]Q3-2010[/TD]
[TD="class: xl63, width: 64"]Q4-2010[/TD]
[TD="class: xl63, width: 64"]Q1-2011[/TD]
[TD="class: xl63, width: 64"]Q2-2011[/TD]
[TD="class: xl63, width: 64"]Q3-2011[/TD]
[TD="class: xl63, width: 64"]Q4-2011[/TD]
[TD="class: xl63, width: 64"]Q1-2012[/TD]
[TD="class: xl63, width: 64"]Q2-2012[/TD]
[TD="class: xl63, width: 64"]Q3-2012[/TD]
[TD="class: xl63, width: 64"]Q4-2012[/TD]
[/TR]
[TR]
[TD="class: xl64"]GA[/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl65, align: right"]148[/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl65, align: right"]201[/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl66"] [/TD]
[/TR]
</tbody>[/TABLE]

Any trick?

Thanks,
Gildas
 
Set your empty cells to an error type like #N/A. You can do this with a formula. For example =IF(A1=0,NA(),A1) Excel won't graph this error. Therefore you will have a break in your line.
 
Upvote 0
Hi,

I am trying to draw a line between points that are separated by some 0. These point are on X axis and represent Quarter.
Each time I tried to use the Excel line, Excel considers an empty cell as o and I do not want the line passing by the 0.

[TABLE="width: 832"]
<tbody>[TR]
[TD="width: 64"][/TD]
[TD="class: xl63, width: 64"]Q1-2010[/TD]
[TD="class: xl63, width: 64"]Q2-2010[/TD]
[TD="class: xl63, width: 64"]Q3-2010[/TD]
[TD="class: xl63, width: 64"]Q4-2010[/TD]
[TD="class: xl63, width: 64"]Q1-2011[/TD]
[TD="class: xl63, width: 64"]Q2-2011[/TD]
[TD="class: xl63, width: 64"]Q3-2011[/TD]
[TD="class: xl63, width: 64"]Q4-2011[/TD]
[TD="class: xl63, width: 64"]Q1-2012[/TD]
[TD="class: xl63, width: 64"]Q2-2012[/TD]
[TD="class: xl63, width: 64"]Q3-2012[/TD]
[TD="class: xl63, width: 64"]Q4-2012[/TD]
[/TR]
[TR]
[TD="class: xl64"]GA[/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65, align: right"]148[/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65, align: right"]201[/TD]
[TD="class: xl65"][/TD]
[TD="class: xl66"][/TD]
[/TR]
</tbody>[/TABLE]

Any trick?

Thanks,
Gildas

I found it. Select the lines, right click-> select "Select data" and THEN click on button "Hidden and empty Cells", it dialog box will propose you what you want to do with the empty cells :)
 
Upvote 0
I found it. Select the lines, right click-> select "Select data" and THEN click on button "Hidden and empty Cells", it dialog box will propose you what you want to do with the empty cells :)

That's even better. I forgot about that one. Good job.
 
Upvote 0

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