SLOPE in Apple Numbers
Short answer: SLOPE returns the slope of the straight line that best fits your data: how much y changes when x increases by 1. Syntax:
SLOPE(y-values, x-values)Explanation
SLOPE returns the slope of the straight line that best fits your data: how much y changes when x increases by 1. A negative slope means a falling relationship.
Syntax
SLOPE(y-values, x-values)Example
Calculate the slope of the line that predicts quantity (C2:C5) from price (B2:B5), rounded to 2 decimals.
| A | B | C | |
|---|---|---|---|
| 1 | Product | Price | Qty |
| 2 | Apple | 4 | 10 |
| 3 | Pear | 6 | 5 |
| 4 | Kiwi | 12 | 2 |
| 5 | Grape | 8 | 3 |
Formula: =ROUND(SLOPE(C2:C5,B2:B5),2)
Result: -0.91
Frequently asked questions
What does SLOPE do in Apple Numbers?
SLOPE returns the slope of the straight line that best fits your data: how much y changes when x increases by 1. A negative slope means a falling relationship.
What is the syntax of SLOPE?
The syntax is SLOPE(y-values, x-values).
More in this category
Practise it yourself
Type the formula yourself in a real exercise and see right away if your answer is correct. The first exercises are free.
Start practising