When you create a chart, sometimes you will find blank cells in rows. If you insert a line chart there your data won’t appear the way you intend. The chart will show no data at all.
In order to ignore blank cells, you have to do the following.
- From the table, select the range B2:B29, then while holding the Ctrl key, select the range D2:D29.
- Go to Insert >> Charts >> Insert Line or Area Chart >> Line.
- This is what the chart looks like.
- Right-click the chart and click Select Data. From the Select Data Source window, click Hidden and Empty cells.
- Now, you have some options here: Gaps, Zero, and Connect data points with line. The default position is Gaps. Change it to Zero and you will have the following chart.
- Choose Connect data points with line and you will get the chart with no gaps. Each data point will be connected to another.