Cellgrids Cellgrids
Home › Excel formulas › Statistical › LINEST

LINEST Function in Excel: Syntax, Examples and Free Practice

By Rinkesh Shah, founder of Cellgrids.

LINEST is an Excel Statistical function. Returns statistics describing a linear regression line.

LINEST syntax

=LINEST(known_ys, [known_xs])

Arguments

When to use LINEST

LINEST is used in data analysis work to summarize or test patterns across a data set.

Practice LINEST online, free

Open the live Excel-style spreadsheet and try LINEST yourself. No Excel install or sign-up needed to start.

Practice LINEST now →

More Statistical functions

Frequently asked questions

What does the LINEST function do in Excel?

Returns statistics describing a linear regression line.

What is the syntax of LINEST in Excel?

The syntax is =LINEST(known_ys, [known_xs]). known_ys: The known y-values; known_xs: The known x-values (optional).

Where can I practice LINEST online for free?

Open the free live spreadsheet on Cellgrids and try LINEST yourself. No Excel install is needed and you can start without signing up.

All Excel formulas · Cheat sheet · Excel exercises · Statistical functions · Excel case studies · Excel tutorials · Excel shortcuts