How to Draw a Line Chart in Excel

“draw a line chart in excel” comes up constantly, so this page leads with the exact answer, and only then explains the detail. Everything works in Excel on Windows and Mac and maps almost one-to-one to Google Sheets. Copy the answer above and get back to work, or read on to turn a one-off fix into something you never have to look up again.

Exact answer

In Excel: put time or ordered categories in the first column, values in the next column, select both, then Insert ▸ Line or Area Chart ▸ Line.

Annotated stepsExcel
1

Arrange the x-axis labels in the first column and the values in the next column.

2

Select only the label and value range, excluding totals.

3

Choose Insert ▸ Line or Area Chart ▸ Line.

4

Add a chart title, axis labels and markers when the individual points need to be visible.

Ctrl+CthenCtrl+Shift+V+Cthen+Ctrl+VPaste values · WindowsMac

What this does

A line graph connects values in order, usually across time, so the slope makes direction and change visible. The first column should hold dates, months or ordered categories; the second holds the values to plot. Excel treats each additional numeric column as another line, which is useful for comparing series but messy if totals or helper columns are accidentally selected. Keep the inputs visible and clearly labelled and the whole thing stays auditable — anyone who opens the file later, including you, can see at a glance exactly what feeds the result and change one assumption without hunting through the formula. The difference between a quick fix and a sheet you can trust is the extra minute you spend validating “draw a line chart in excel”. Start on a copy or a tiny sample, keep the affected chart visible, and compare the result with the tool above before you touch the real workbook. When this is a ribbon command, the selection matters more than the button: confirm the range, apply the command, then spot-check the output before saving. The point is a visual that makes the number obvious at a glance, but the practical win is that someone else can open the file and understand what happened without asking you.

A worked example

Months Jan through Jun are in A2:A7 and sales 42, 51, 48, 61, 67, 73 are in B2:B7. Select A2:B7, choose Insert ▸ Line Chart, and Excel draws a six-point line rising from 42 to 73. Add markers if individual months matter, and format the vertical axis to start at zero only when that supports the story rather than flattening the change. Line graphs are strong for trends: monthly sales, weekly traffic, running totals, error rates, production output and any metric where readers need to see direction over a sequence. A practical tip before you scale it up: build it once on a small block of test data, confirm the number against the tool on this page, and only then point it at your real sheet. That one habit catches almost every mistake while it is still cheap to fix, long before a wrong figure reaches a report or a colleague.

In Google Sheets

Google Sheets handles this almost identically to Excel. The formula syntax above is the same, and the menu lives under a slightly different label rather than a ribbon tab. Use the platform toggle at the top of the page to switch every keyboard shortcut between Windows and Mac, and expect at most cosmetic differences in naming. The aim was to get you unstuck fast and leave you a little more capable than a copy-paste would. The answer is at the top, the tool proves it, and the detail above shows why it holds — so the next time a colleague asks, you can answer without reaching for search. If you take one thing from this page on “draw a line chart in excel”, make it the habit rather than the keystrokes: set the problem up with labelled inputs, reference those cells, and let Excel do the recomputing. Bookmark the page for the syntax, but do the example once in a blank sheet and check it against the tool above — five minutes of hands-on practice fixes the method in memory far better than re-reading, and it surfaces the small snags while they are still harmless. After that the technique is genuinely yours: faster than searching for it again, and reliable enough to drop into work that other people depend on.

Common mistakes

  • Using a line chart for unordered categories, where a bar chart would compare values more honestly.
  • Including a total row, which creates a sudden fake spike at the end.
  • Letting Excel treat text dates as categories; convert them to real dates when spacing matters.
  • Plotting too many series at once, turning the chart into unreadable crossing lines.

Frequently asked questions

When should I use a line graph?

Use it for ordered data, especially time series, where the change from one point to the next matters.

How do I add a second line?

Place the second value series in another column beside the first, include it in the selected range, and Excel plots it as a separate line.

Line chart or scatter plot?

Use a line chart for ordered categories or dates; use a scatter plot when both axes are numeric measurements.