Multiple Regression Excel

“multiple regression 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: use =LINEST(known_ys, known_xs, TRUE, TRUE) — it returns the full regression output as an array, including coefficients, R² and standard errors.

Syntax

=LINEST(known_ys, [known_xs], [const], [stats])

Arguments

ArgumentDescription
known_ysrequiredThe outcomes being modelled.
known_xsoptionalOne or more columns of predictors.
constoptionalFALSE forces the intercept to zero.
statsoptionalTRUE returns the full diagnostic block including R² and standard errors.

Related functions

SLOPE and INTERCEPTTRENDCORREL
Annotated stepsExcel
1

Select a cell with several empty rows and columns beneath and to the right.

2

Type =LINEST( and select the y column, then the block of x columns.

3

Add , TRUE, TRUE to fit an intercept and return the diagnostics.

4

Press Enter in Excel 365, or select a 5-row block and press Ctrl+Shift+Enter in older versions.

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

What this does

LINEST is Excel's full least-squares regression in a single function. With the fourth argument set to TRUE it returns a block of diagnostics rather than just coefficients: R², standard errors for each coefficient, the F statistic and the degrees of freedom. Two things surprise everyone the first time. The coefficients come back in reverse order, with the last predictor leftmost and the intercept at the far right. And it accepts several predictor columns, which makes it a genuine multiple regression without the Analysis ToolPak. In Excel 365 the block spills; older versions need a selected range and Ctrl+Shift+Enter. 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. For “multiple regression excel”, the reliable version is a short checking loop, not just the first command that appears to work. Run it on a deliberately small range first, watch how the affected cells change, and only then apply the same setup to the full sheet. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. That is what makes a text operation that turns messy entries into clean, usable data useful in real work: repeatable, auditable, and not dependent on memory or luck.

A worked example

Sales in D2:D100 modelled on spend in B2:B100 and headcount in C2:C100: =LINEST(D2:D100, B2:C100, TRUE, TRUE) spills a five-row block. The top row holds the coefficients right-to-left (headcount, spend, intercept) and the third row's first cell is R². For a single predictor, SLOPE and INTERCEPT are far easier to read. LINEST is a complete regression without a add-in, which matters whenever the model has to live in the workbook rather than in a separate tool. 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

Everything above works in Google Sheets too. Excel and Sheets share the formula syntax used here; only the surrounding menus are arranged differently. That portability is deliberate — learn it once and it follows you between the two tools and across Windows and Mac. 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 “multiple regression 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

  • Reading the coefficients left to right — they are returned in reverse predictor order, with the intercept last.
  • Omitting the final TRUE and then looking for R², which is only returned when stats is switched on.
  • Adding predictors without checking they are not collinear, which makes individual coefficients unstable and misleading.

Frequently asked questions

How do I read the LINEST output?

Row 1 holds the coefficients in reverse order of the x columns, with the intercept rightmost. Row 2 holds their standard errors, and row 3 column 1 is R².

Can LINEST do multiple regression?

Yes — pass several adjacent columns as known_xs and it fits them all.

Where is R² in the output?

The first cell of the third row, and only when the fourth argument is TRUE.

Other ways people ask this

On the way here you may have searched this as “excel multiple regression formula”, “multiple regression using excel”, “multiple regressions in excel” and “multiple regression with excel” — it is all the same task, and this page is the single, complete answer to it.

This guide also answers

  • how to do multiple regression in excel

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

Because the same task has many names. “excel multiple regression formula”, “multiple regression using excel”, “multiple regressions in excel” all point at the one operation explained on this page, which is why they all lead here.