SLOPE
Statistical

Returns the slope of the linear regression line

Syntax:

=SLOPE(known_y's, known_x's)

Example:

=SLOPE(A2:A10, B2:B10)