How to Make a Line Graph in Excel

Photo of author

By Victor Ashiedu

Published

Introduction

A line graph is a visual representation of a set of data. This guide shows you how to make a line Graph in Excel.

How to Make a Line Graph in Excel and Google Sheets - Excel line graph example

How to Make a Line Graph in Excel (Single Data Set)

How to Make a Line Graph in Excel and Google Sheets - single data set

The image above shows a set of sales data for a business. It contains a single data set, sales data for a single year.

Follow the steps below to make a line graph for this data in Excel.

  • Select the data you wish to make the line graph for, including the column headers. Then click the Insert tab.
  • Next, on the Recommended Charts section, click the chart drop-down [labelled 1]. Then select the chart you type.
As you hover over the chart type to select, Excel will show a preview of what each chart type will look like.
How to Make a Line Graph in Excel  - select Recommended chat type
  • Once you make a selection, the chart will be displayed. You can reposition the chart by simply dragging and dropping it (more on this later).

How to Make a Line Graph in Excel with Two Sets of Data

How to Make a Line Graph in Excel with Two Sets of Data

The table in the image has 2 sets of data – sales for January to December for 2017 and 2018. Making a line graph in Excel with 2 sets of data is as straight forward as with a single data set.

Follow the steps below to make a line graph with two sets of data:

  • Select the data, including the headers. Then click the Insert tab.
  • Next, click the Insert line chart option. Then select the chart type you wish to insert. The second image shows the chart.

How to Edit a Line Graph in Excel

After making a line graph, you may decide to make some changes. You can change the chart data, for example. You could also rename the title of the chart or even resize the chart.

To change the data of the line chart, follow the steps below:

  • Double-click the cell containing the data you wish to modify. Then add a new value.
In this example, I changed the data for December, 2017 from $11,784 to $12,800. Excel line chart will adjust automatically.
How to Edit a Line Graph in Excel - change data

To resize the line chart in Excel, follow the steps below:

  • Click on the line graph in Excel to highlight it.
When you click the line graph in Excel, 8 circles in the corners as shown below.
  • To resize the line graph, drag one of the circles inwards or outwards to shrink or expand it.
Click on the line graph in Excel to highlight it.

Finally, you can edit the name of the Excel line graph using the steps below:

  • Click on the line graph title to highlight it.
click on graph title to highlight it
  • Next, delete the current name of the line chart and give it any name you wish.

How to Format a Line Graph in Excel

In the final part of this guide, I demonstrate how to format the line chart.

To format the title of the line graph, follow the steps below:

  • Click the chart title to select it. Then highlight the whole title.
How to Format a Line Graph in Excel
  • Next, click on the Home tab.
On the Excel Home tab, you can change the font type [1] or font size [2]. You can also change the background [3] or the text [4] colors. The second image shows the modified version of the title of the line graph in Excel.

Finally, you can modify the colors of the line graphs.

Here is how you do that:

  • Click on the line graph legend (highlighted in red below).
  • Next, double-click the chart you wish to change its color. The Format Legend Entry options will be displayed.
  • Click the forward arrow beside Border to expand it. You can modify the border fill options [1]. And/Or change the color [2]. In the second image below, the color of the line graph in Excel has changed to red.

Conclusion

Making line graphs in Excel is as straightforward as that! Hopefully, I have made life easier for you!

If you found the Itechguide helpful, kindly share your views at [discourse_topic_url]. If you have any questions or comments feel free to engage with other readers and staff at [discourse_topic_url].

Alternatively, you could share your experience making line graphs in Excel.

Other Helpful Guides

Additional Resources and References

About the Author

Photo of author

Victor Ashiedu

Victor is the founder of InfoPress Media, publishers of Ilifeguides and Itechguides. With 20+ years of experience in IT infrastructure, his expertise spans Windows, Linux, and DevOps. Explore his contributions on Itechguides.com for insightful how-to guides and product reviews.

Related Articles

Get in Touch

We're committed to writing accurate content that informs and educates. To learn more, read our Content Writing Policy, Content Review Policy, Anti-plagiarism Policy, and About Us.

However, if this content does not meet your expectations, kindly reach out to us through one of the following means:

  1. Respond to "Was this page helpful?" above
  2. Leave a comment with the "Leave a Comment" form below
  3. Email us at [email protected] or via the Contact Us page.

Leave a comment