How does LINEST operate in Microsoft Excel ?

I'm using Microsoft Excel 2013.  Please consider following Linear Estimation Formula:

LINEST ( I7 : I9 , H7 : H9)

I7 = 0
I8 = -4000
I9 = 3900

H7 = 637
H8 = 588
H9 = 685

Please explain Linear Estimation and LINEST excel formula ?
LVL 1
naseeamAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

naseeamAuthor Commented:
Is Linear Estimation same as Linear Approximation ?
Ejgil HedegaardCommented:
In general terms I would say you estimate or approximate the real function with a linear expression.
Linest use linear regression, which is a subgroup of linear estimation

Linest use the least square method, meaning that the sum of squared distances from the datapoints to the regression line must be as small as possible,

It is an array formula, so to get both values a and b in y = a * x + b, use 2 cells.
Select 2 cells
Type the formula =LINEST(I7:I9,H7:H9)
Confirm with Ctrl+Shift+Enter to tell Excel it is an array formula, both cells get the same formula
Excel adds { } brackets to the formula, don't type them.

The first cell is the slope a, and the second cell is the constant b.

To get the slope alone use =INDEX(LINEST(I7:I9,H7:H9),1)
And the constant alone use =INDEX(LINEST(I7:I9,H7:H9),2)
That are not array formulas, since Index in itself is an array formula and converts to normal.

The function =CORREL(I7:I9,H7:H9)^2 will tell you how good the regression line fits the data.
The value is between 0 (no fit) and 1 (absolute fit).

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Professor JMicrosoft Excel ExpertCommented:
Good explanation Ejgil
naseeamAuthor Commented:
Very nice explanation!  Thank you!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.