SLOPE
Statistical

Returns the slope of the linear regression line

Syntax:

=SLOPE(known_y's, known_x's)

Example:

=SLOPE(B2:B10, A2:A10)