How to Make a Linear Graph in Excel

There are two ways to “make a linear graph in excel”: the quick way you copy and the durable way you understand. This page gives you both. The exact Excel answer is above; below, we build the small mental model that makes the fix stick, so the next variation of the same problem solves itself.

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. The same idea underpins a lot of everyday Excel work, so the few minutes spent getting it right here pay back across every sheet you build afterwards. Treat it as a pattern, not a one-off, and it stops being something you look up and starts being something you reach for. Treat “make a linear graph in excel” as a small repeatable workflow rather than a one-off click you hope to remember next time. Use a small test block before the live file, so any surprise in the affected chart shows up while it is still harmless. 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. That turns a visual that makes the number obvious at a glance into a method you can reuse, explain, and defend when the workbook leaves your screen.

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. One habit worth forming early: name the cells that hold your inputs, so the formula reads in plain language instead of a string of cell addresses. A reviewer — or you in three months — can then follow the logic without decoding what B7 and D2 were supposed to mean, which is most of what makes a sheet maintainable.

In Google Sheets

If you are in Google Sheets rather than Excel, the good news is that the formula shown here is identical and the workflow barely changes — menus sit across the top instead of in a ribbon, and a few function names differ slightly, but anything you build here moves across with little or no rework. Keep this page bookmarked for the next time the same question comes up. Better still, rebuild the example once in your own sheet — doing it yourself, with the tool above to check against, is what turns a copied formula into a technique you own. Here is the takeaway for “make a linear graph in excel”: copy the answer if you are busy, but if you have a spare few minutes, rebuild the example in Excel yourself with the tool above open beside it. That single pass — type it, run it, watch the result move when you change an input — is what turns a formula you found into a technique you trust. Keep your inputs labelled and referenced, never hard-coded, and the same sheet stays correct and auditable as it grows. Done that way, you will not need to look this up again, and you will be the person others ask.

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.

Other ways people ask this

This is also commonly searched as “how to make linear graph in excel”, “how to create a linear graph in excel” and “make a linear graph in excel”. They describe the identical operation, so you are in the right place no matter how you phrased it.

Why do people search for this in so many different ways?

Because the same task has many names. “how to make linear graph in excel”, “how to create a linear graph in excel”, “make a linear graph in excel” all point at the one operation explained on this page, which is why they all lead here.