Get intercept of linear regression line
=INTERCEPT(known_ys, known_xs)
| Parameter | Description |
|---|---|
known_ys |
An array or range of numeric data points (dependent values). |
known_xs |
An array or range of numeric data points (independent values). |
Values can be entered directly in INTERCEPT as array constants:
=INTERCEPT({2;0},{-1;1}) // returns 1
Typically, values are supplied as ranges. In the example shown, the formula in E5 is:
=INTERCEPT(C5:C9,B5:B9) // returns 2
In the example shown, the intercept formula can be manually created like this:
=AVERAGE(C5:C9)-SLOPE(C5:C9,B5:B9)*AVERAGE(B5:B9)