The SLOPE function is one of the statistical functions. It is used to return the slope of the linear regression line through data in two arrays.
Syntax
SLOPE(known_y's, known_x's)
The SLOPE function has the following arguments:
Argument
Description
known_y's
The dependent data range.
known_x's
The independent data range with the same number of elements as known_y's contains.
Notes
If known_y's or known_x's contains text, logical values, or empty cells, the function will ignore those values, but treat the cells with the zero values.