Line Graph in Excel (Plot, Fit and Overlay)

How to Plot Line Graph with Single Line in Excel

The sample dataset contains Sales by a company for the year 2018.

dataset for line graph

  • Select the data range B5:C16.
  • From the Insert tab click on the Insert Line or Area Chart option.
  • Select the Line chart.

Inserting line chart in excel

  • A single-line graph is returned as shown in the following image.

line graph with single line


How to Make a Line Graph with Multiple Lines in Excel

  • Two more data columns for sales from 2019 and 2020 are added to the sample.

dataset for line graph with multiple lines

  • Select the data range B6:E17.
  • Go to Insert >> Insert Line or Area Chart and select the Line chart.

line chart for multiple lines

  • A graph with multiple lines is returned as shown in the following image.

line graph with multiple lines in Excel


Insert Line Graph from Recommended Charts

  • Select the data range B5:E17 (including the table heading).
  • Click on the Recommended Charts option on the Insert tab.

line graph from recommended charts

  • Select the preferred line chart option and press OK.

choosing line graph from recommended charts

 

result after plotting line graph from recommended charts option

Read More: How to Make a Single Line Graph in Excel


Insert Line Chart Using 2D Line Graph Option

 

  • Select the data range B6:E17.
  • From the Insert tab, select the Line chart.

inserting 2d line chart

  • This will return a 2D Line graph as shown in the following image.

2d line graph in excel


Create Line Graph with Stacked Line

The Stacked line stacks different data series on top of each other. This type of graph is useful to show each data series’ contribution to the total amount. We are using the same data table for this procedure.

  • Select the data range B6:E17.
  • Select the Stacked Line chart from the Insert tab.

inserting 2d stacked line chart

  • A Stacked Line Graph with multiple lines is returned as shown in the following image.
  • The total sale value is also included so that the user has a better understanding of the stacked chart.

2d stacked line graph in excel


Make Line Graph with 100% Stacked Line

The 100% Stacked Line graph is quite similar to the Staked Line graph but stacks all data series by percentages.

  • Select the data range.
  • Select the 100% Stacked Line from the Insert tab.

inserting 100% stacked line chart

  • A 100% Stacked Line Graph with multiple lines is returned as shown in the following image.

100% stacked line graph in excel

Read More: How to Make a Percentage Line Graph in Excel


Create Line Graph with Marker

  • Select the data range and go to the Insert tab.
  • Select the Line with Markers chart.

inserting line chart with markers

  • A Line Graph with Markers is returned as shown in the following image.

line graph in excel with markers

  • The process is the same for Stacked Line with Markers and 100% Stacked Line with Markers graphs.

inserting stacked line chart with markers

  • This will give a stacked line chart with markers as shown in the following image.

stacked line graph with markers

 

inserting 100% stacked line chart with markers

 

100% stacked line graph with markers


3D Line Graph in Excel

The 3D line chart will give you a line graph in three dimensions.

  • Select the data range.
  • Go to the Insert tab and select the 3D Line chart as shown in the following image.

inserting 3d line chart

  • A 3D Line Graph with multiple lines is returned as shown in the following image.

3d line graph in excel


How to Customize Line Graph in Excel

Change Chart Styles

  • Click on the chart area.
  • Click on the Chart Styles button.
  • Select the preferred chart styles in the Style box.

changing the chart styles

 

changing the chart styles


Select Data Series from Chart Filters

  • Click on the Chart Filters button.
  • By default all of the active data series are marked.
  • Unmark those that are not needed.
  • In this example Series1 and the months Feb and Apr are unselected.
  • Click the Apply button.

selecting the data series

  • The revised graph as 2 series lines instead of 3 and the data points for the month Feb and Apr have been hidden.

result after selecting data series


Remove or Add Data Series

  • Right-click on the chart area.
  • Click on the Select Data option from the menu.

selecting the source data

  • Select a relevant data series (Series 2).
  • Click the Remove button.
  • Click OK.

removing data series

  • The Series2 data has been removed.

showing result after removing a data series

  • To add the Series2 data series, go to the data source and click on the Add button.

adding a new data series

  • A new window named Edit Series will appear.
  • Give the series a suitable name (Series 2).
  • In the Series values box, insert the new data series (D6:D17) and click OK.

inserting data source

  • The new data series has been added to the existing line graph.

showing result after adding new data series


Format Chart Area

 

  • Right-click on the chart area and select Format Chart Area.

steps for format chart area

  • The Format Chart Area window will open.
  • The user can choose different Fill colors and add a Border to your line chart.

changing fill color and adding border

  • Click on any data series.
  • From the Fill section, the series color, width, etc. can be edited.

customize the data series

  • A Marker can be added to the data series.

customize data series markers

Read More: How to Edit a Line Graph in Excel

 


Frequently Asked Questions

1. How Can I Add Data Labels to My Line Graph in Excel?

Right-click on the line graph. From the Context menu select Add Data Labels option.

2. Can I Change the Color or Style of the Lines in My Line Graph?

Select the line graph and change the chart style from the Chart Design tab.

3. How Do I Add A Trendline to My Line Graph in Excel?

First, select the line graph. Navigate to the Context menu and select the Add Trendline option. The trendline can also be customized in the Format Trendline section.


Download Practice Workbook

You can download and practice this workbook.


Line Graph in Excel: Knowledge Hub


<< Go Back To Excel ChartsLearn Excel

Get FREE Advanced Excel Exercises with Solutions!

Tags:

Sourav Kundu
Sourav Kundu

Sourav Kundu, BSc, Naval Architecture & Marine Engineering, Bangladesh University of Engineering and Technology, is a dedicated technical content creator of the ExcelDemy project. He has a keen interest in Excel and he leverages his problem-solving skills to provide solutions on user interface with Excel. In his position as an Excel & VBA Content Developer at ExcelDemy, Sourav Kundu not only adeptly addresses challenging issues but also demonstrates enthusiasm and expertise in navigating complex situations. Apart from creating... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo