In Excel: put numeric x-values in one column and numeric y-values in the next, select both columns, then Insert ▸ Scatter (X, Y).
Place x-values in the left column and y-values in the right column.
Select both numeric columns, without totals or labels inside the data body.
Choose Insert ▸ Scatter (X, Y) and pick markers or smooth lines.
Add axis titles and, when useful, a trendline with the equation or R-squared value.
What this does
A scatter plot compares two numeric measurements. Unlike a line chart, both axes are value axes, so the distance between points matters on x and y. It is the right chart for relationships, clusters, outliers and correlations: ad spend versus revenue, height versus weight, temperature versus demand. Most people learn this as a sequence of clicks and forget it by next week; learning it as a pattern instead is what lets you apply it to the next, slightly different version of the problem without starting from scratch. That is the difference this page is trying to make. The difference between a quick fix and a sheet you can trust is the extra minute you spend validating “add line to scatter plot in excel”. Start on a copy or a tiny sample, keep the affected cells 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
Column A holds ad spend 100, 200, 300, 400 and 500; column B holds revenue 820, 980, 1210, 1320 and 1510. Select A2:B6 and insert a Scatter chart. The upward cloud shows revenue rising as spend rises. Add a trendline and display R-squared to quantify how closely the points follow a line. Scatter plots are the spreadsheet workhorse for relationship questions. They quickly reveal whether two measures move together, where outliers sit and whether a trendline is meaningful enough to discuss. If there is any chance you will reuse this, drop it into a small template tab right now: a labelled input area on the left and the formula beside it, checked once against the tool above. Next time the same question comes up, the answer is a single paste away instead of a rebuild from memory.
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. Nothing on this page is behind a login: the tool runs entirely in your browser, the formula is shown in full with one-click copy, and the steps work the same on Windows and Mac. That is the whole promise here — the exact answer, a way to prove it on your own numbers, and just enough context to make it stick. The short version of “add line to scatter plot in excel”: the answer is at the top of this page, the tool proves it on your own numbers, and the sections above explain why it holds so the next variation does not stump you. Excel rewards people who reference cells instead of typing values and who keep inputs separate from formulas, because that is what makes a result you can audit months later. Build it once, deliberately, with the live tool as a check, and you convert a one-off lookup into a reusable skill — which is the whole point of learning the why and not just the what.
Common mistakes
- Using a line chart, which treats the x-axis as categories instead of numeric positions.
- Selecting the y-values first, causing Excel to guess the x-axis incorrectly.
- Mixing text labels into the numeric range, which can make points disappear or plot at zero.
- Interpreting correlation as causation; a scatter plot shows association, not proof.
Frequently asked questions
What is the difference between scatter and line charts?
Scatter charts use numeric x and y axes. Line charts connect ordered categories or dates and are usually for trends over a sequence.
How do I add a trendline?
Click the series, choose Chart Elements (+) ▸ Trendline, and open More Options to show the equation or R-squared.
Can I label individual points?
Yes. Add data labels, then use label options to pull labels from a worksheet range.
Other ways people ask this
On the way here you may have searched this as “how to add lines to scatter plot excel”, “add regression line to scatter plot in excel” and “how to add a line in scatter plot excel” — it is all the same task, and this page is the single, complete answer to it.
Why do people search for this in so many different ways?
Because the same task has many names. “how to add lines to scatter plot excel”, “add regression line to scatter plot in excel”, “how to add a line in scatter plot excel” all point at the one operation explained on this page, which is why they all lead here.