To create a line chart, execute the following steps.
- Select the range A1: D7.
- On the Insert tab, in the Charts group, click the Line symbol.
- Click Line with Markers.
- Result:
Note: Only if you have numeric labels, empty cell A1 before you create the line chart. By doing this, Excel does not recognize the numbers in column A as a data series and automatically places these numbers on the horizontal (category) axis. After creating the chart, you can enter the text Year into cell A1 if you like.