How to Make a Line Graph From Data in Microsoft Excel

Download Article
Quickly make a line graph for one or more sets of data in Excel
Download Article

If you have data to present in Microsoft Excel, you can use a line graph. This can easily be created with 2-D and 3-D Line Chart tool. You'll just need an existing set of data in a spreadsheet. Then, you can make a customizable line graph with one or multiple lines. This How.com.vn will show you how to create a line graph from data in Microsoft Excel using your Windows or Mac computer.

Things You Should Know

  • Highlight the data you want in the graph by clicking the top-left cell and dragging to the bottom-right cell.
  • Click "Insert" → "Line Graph" icon (two intersecting line graphs) → click a graph style.
  • Click the graph to customize it. Change the style, position, size, and name of the graph.
Part 1
Part 1 of 2:

Creating a Graph

Download Article
  1. How.com.vn English: Step 1 Open a workbook in Microsoft Excel.
    You can use an existing project or create a new spreadsheet.[1]
  2. How.com.vn English: Step 2 Highlight your data.
    Click and drag over the cells containing the data you want to use in your line graph. If your data isn't already entered, do so now. Be sure to select column headers if you have them.
    • To select everything, click the top-left cell of the data. Press CTRL + A (Windows) or Command + A (Mac).
    Advertisement
  3. How.com.vn English: Step 3 Click the Insert tab.
    This is at the top toolbar.
  4. How.com.vn English: Step 4 Click the graph icon.
    This looks like two intersecting line graphs. You can find this in the Charts section.
  5. How.com.vn English: Step 5 Hover over a line graph style.
    Hover the mouse cursor over a line graph template in the drop-down menu to see what it will look like with your data.
    • The first section of graphs has traditional two-dimensional line graphs, while the second has one or more 3D line graphs.
    • If you have a lot of data, the preview may take a moment to appear.
  6. How.com.vn English: Step 6 Click a graph style to select it.
    Once you decide on a line graph template, clicking it will create your graph in the middle of the Excel window.
  7. Advertisement
Part 2
Part 2 of 2:

Customizing the Graph

Download Article
  1. How.com.vn English: Step 1 Change your graph's style.
    Once you create your graph, the Chart Design toolbar will open. You can select one of the styles in the toolbar to quickly select a new look for your line chart.
    • If this toolbar doesn't open, click your line graph and then click the Design tab in the green ribbon.
  2. How.com.vn English: Step 2 Move your line graph.
    Click and drag the white space near the top of the line graph to move it.
    • You can also move specific sections of the line graph (e.g., the title) by clicking and dragging them around within the line graph's window.
  3. How.com.vn English: Step 3 Resize the graph.
    Click and drag one of the circles on one of the edges or corners of the graph window in or out to shrink or enlarge your graph.
  4. How.com.vn English: Step 4 Change the graph's title.
    Double-click the title of the graph, then select the "Chart Title" text and type in your graph's name. Clicking anywhere off of the graph's name box will save the text.
    • If you want to label your graph's axes, click the graph.
      • Click + at the right side of the graph. A pop-up menu will open.
      • Check the box for Axis Titles.
      • Double-click the Axis Title box and delete the default text.
      • Enter a new title.
  5. Advertisement

Community Q&A

Search
Add New Question
  • Question
    How do I name the y and X axis in the graph?
    How.com.vn English: Community Answer
    Community Answer
    1. Click on the graph. 2. Select 'Chart Elements' on the side, which is the plus icon. 3. Tick the 'Axis Titles' box. Some text boxes should appear on the x and y axis.
  • Question
    If multiple lines are present in my chart, how can I view one at a time?
    How.com.vn English: Community Answer
    Community Answer
    One method is to hide the relevant rows or columns that you do not wish to show on the graph. Hidden rows and columns are not displayed.
  • Question
    Why do my years show up as numbers?
    How.com.vn English: Community Answer
    Community Answer
    Because A,B,C,D,E, and F, mean this: (A:2000->B:2001->C:2002->D:2003->E:2004->F:2005.)
See more answers
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Tips

      • You can add data to your graph by entering it in a new column, selecting and copying it, and then pasting it into the graph window.


      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!
      Advertisement

      About This Article

      How.com.vn English: Rain Kengly
      Written by:
      How.com.vn Technology Writer
      This article was co-authored by How.com.vn staff writer, Rain Kengly. Rain Kengly is a How.com.vn Technology Writer. As a storytelling enthusiast with a penchant for technology, they hope to create long-lasting connections with readers from all around the globe. Rain graduated from San Francisco State University with a BA in Cinema. This article has been viewed 1,538,054 times.
      How helpful is this?
      Co-authors: 23
      Updated: June 5, 2023
      Views: 1,538,054
      Categories: Microsoft Excel | Graphs
      Article SummaryX

      1. Open a new Excel document.
      2. Enter your graph's data.
      3. Select the data.
      4. Click the green Insert tab.
      5. Click the "Line Graph" icon.
      6. Click a line graph template.

      Did this summary help you?

      Thanks to all authors for creating a page that has been read 1,538,054 times.

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement