

The outcome would still be obtained if you did it the other way around, but it would be inaccurate. Keep in mind that the Y values must be the first parameter and the X values the second. Known_xs – A collection or array of numerical data points (independent values). Known_ys – A collection or array of numerical data points (dependent values).

In our case, a slope value of 30 indicates a positive link between working hours and salary. If there is a positive or negative correlation between these data points, it will let you know.īoth positive and negative slope values are possible. Using a Scatter Chart or Graph to get the slope valueĪ slope value describes the relationship between two values, typically referred to as the x and y values.Īssume you have the dataset below, where worked hours are represented by the X values and the salary ($) is represented by the Y values and you want to determine the link between these two variables.Things to Keep in Mind When Using the Excel SLOPE Function.Using the Excel SLOPE Function to get slope value.Arguments of SLOPE Function Syntax in Excel.I demonstrate how to compute slope using each of the two techniques above in this tutorial. It explains how much the dependent variable will alter if the independent variable changes.įor a given collection of variables, there are two approaches to get the slope of the regression line in Excel: It is a numerical value that describes the correlation between two variables.

The steepness of the regression line is determined by its slope.
