Quick summary
The Excel SLOPE function lets you calculate the slope of a linear regression line by supplying known Y and X value ranges directly inside a worksheet cell. This step-by-step walkthrough shows exactly how to locate and run the SLOPE formula through Excel's built-in Formulas menu in under a minute.
Steps
- In your Microsoft Excel worksheet, select the cell where you want the slope result to appear.
- Navigate to the top menu bar and click Formulas.
- Click More Functions from the available options in the Formulas tab.
- Select Statistical from the submenu that appears.
- Find and choose Slope from the Statistical functions list.
- Click the Known_ys input field and type the cell range that contains your Y values.
- Click the Known_xs input field and enter the cell range that contains your X values.
- Click Insert to confirm and apply the function.
- The calculated slope value will be displayed in your selected cell.



