Table of Contents
Ploting multiple lines in Excel is a useful feature that allows users to display and compare multiple sets of data simultaneously in a single chart. To plot multiple lines, first select the data that you want to include in the chart, then go to the “Insert” tab and choose the desired chart type. Next, click on the “Select Data” button and click “Add” to insert a new data series. Repeat this process for each additional line that you want to plot. Finally, customize the chart by adding labels, titles, and legends to make it easy to interpret the data. With these steps, you can effectively plot multiple lines in Excel and create a visually appealing and informative chart.
Plot Multiple Lines in Excel (With Examples)
You can easily plot multiple lines on the same graph in Excel by simply highlighting several rows (or columns) and creating a line plot.
The following examples show how to plot multiple lines on one graph in Excel, using different formats.
Example 1: Plot Multiple Lines with Data Arranged by Columns
Suppose we have the following dataset that displays the total sales for three different products during different years:

We can use the following steps to plot each of the product sales as a line on the same graph:
- Highlight the cells in the range B1:D8.
- Click the Insert Tab along the top ribbon.
- In the Charts group, click the first chart option in the section titled Insert Line or Area Chart.
The following chart will appear:

Example 2: Plot Multiple Lines with Data Arranged by Rows
Suppose we have the following dataset that displays the total sales for three different products during different years, arranged by rows:

We can use the following steps to plot each of the product sales as a line on the same graph:
- Highlight the cells in the range A1:H4.
- Click the Insert Tab along the top ribbon.
- In the Charts group, click the first chart option in the section titled Insert Line or Area Chart.
The following chart will appear:

Example 3: Plot Multiple Lines with Flipped Columns & Rows

We can use the following steps to plot each of the product sales as a line on the same graph:
- Highlight the cells in the range A1:C5.
- Click the Insert Tab along the top ribbon.
- In the Charts group, click the first chart option in the section titled Insert Line or Area Chart.
The following chart will appear:

Notice that the products are displayed along the x-axis instead of the years.
To switch the rows and columns, we can click anywhere on the chart and then click the Switch Row/Column button under the Chart Design tab:

Once we click this button, the rows and columns will be switched and the years will be displayed along the x-axis:

Cite this article
stats writer (2024). How can I plot multiple lines in Excel?. PSYCHOLOGICAL SCALES. Retrieved from https://scales.arabpsychology.com/stats/how-can-i-plot-multiple-lines-in-excel/
stats writer. "How can I plot multiple lines in Excel?." PSYCHOLOGICAL SCALES, 2 May. 2024, https://scales.arabpsychology.com/stats/how-can-i-plot-multiple-lines-in-excel/.
stats writer. "How can I plot multiple lines in Excel?." PSYCHOLOGICAL SCALES, 2024. https://scales.arabpsychology.com/stats/how-can-i-plot-multiple-lines-in-excel/.
stats writer (2024) 'How can I plot multiple lines in Excel?', PSYCHOLOGICAL SCALES. Available at: https://scales.arabpsychology.com/stats/how-can-i-plot-multiple-lines-in-excel/.
[1] stats writer, "How can I plot multiple lines in Excel?," PSYCHOLOGICAL SCALES, vol. X, no. Y, ص Z-Z, May, 2024.
stats writer. How can I plot multiple lines in Excel?. PSYCHOLOGICAL SCALES. 2024;vol(issue):pages.
