Skip to main content

SLOPE function

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:

ArgumentDescription
known_y'sThe dependent data range.
known_x'sThe 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.

How to apply the SLOPE function.

Examples​

The figure below displays the result returned by the SLOPE function.

SLOPE Function