
StatisticsLevel: ExpertAvailable in: Excel 2007+
In this article
- Syntax
- Examples
- Example 1
- Related functions
SLOPE returns the slope of the best-fit straight line — “sales grow by about ₹42,000 a month”.
Syntax
=SLOPE(known_ys, known_xs)
| Argument |
What it means |
known_ys |
The values to explain. |
known_xs |
Usually month numbers or dates. |
Examples
Example 1
=SLOPE(C2:C25, A2:A25)
Average monthly change over two years.
INTERCEPT · RSQ · TREND · FORECAST.LINEAR
📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.
✨ Ask AI about this articleStuck on a step? Ask a question and the AI answers using this article.
Free · AI can be wrong