LINEST
Statistical

Returns the parameters of a linear trend

Syntax:

=LINEST(known_y's, [known_x's], [const], [stats])

Example:

=LINEST(B2:B10, A2:A10)