Syntax. SLOPE(known_y’s,known_x’s)

Definition. This function returns the slope of the regression line through data points in known_y’s and known_x’s. The slope is the vertical distance divided by the horizontal distance between any two points on the line, which is the rate of change along the regression line.


  • known_y’s (required). An array or cell range of numeric dependent data points

  • known_x’s (required). A set of independent data points


Arguments can be numbers, names, arrays, or references containing numbers. If an array or reference argument contains text, logical values, or empty cells, those values are ignored. However, cells with the value 0 are included.

If known_y’s and known_x’s are empty or have a different number of ...

Get Microsoft® Excel® 2010 Formulas & Functions Inside Out now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.