Excel Function - SLOPE

Used to calculate the slope of the linear regression line through a set of data points.

=SLOPE(known_y's, known_x's)

Where:

  • known_y's: the dependent data points (y-values)
  • known_x's: the independent data points (x-values)