LINEST function
Summary
Returns the parameters of a linear trend
Syntax
LINEST(known_y's, [known_x's], [const], [stats])
The LINEST function syntax has the following arguments:
Example
=LINEST(A2:A5,B2:B5,,FALSE)
=SUM(LINEST(B1:B6, A1:A6)*{9,1})
=LINEST(E2:E12,A2:D12,TRUE,TRUE)
=SUM(LINEST(B1:B6, A1:A6)*{9,1})
=LINEST(E2:E12,A2:D12,TRUE,TRUE)