ReferenceFunctionsStatistics Functions
INTERCEPT
Returns the y-intercept of the linear regression line for paired data.
Summary
INTERCEPT fits y = m*x + b and returns b, the predicted y when x = 0.
Remarks
known_yandknown_xmust have the same numeric length.- Returns
#N/Afor mismatched lengths. - Returns
#DIV/0!if allxvalues are identical.
Examples
Positive intercept from direct arrays
Grid
| Cell | Value | |
|---|---|---|
| No inputs on Sheet1. | ||
Formula
=
Result
Not evaluated yet.
Expected
1
Intercept from range-based linear trend
Grid
| Cell | Value | |
|---|---|---|
Formula
=
Result
Not evaluated yet.
Expected
12
Related functions
Runtime metadata
Category
Statistics
Signature
INTERCEPT(arg1, arg2, ... argN: Number (Range))This function accepts a repeating argument pattern (min args: 2).
Arity
min 2, max 1
Arguments
arg1Number · Range · coercion NumberLenientText
Caps
PUREREDUCTIONNUMERIC_ONLY
Source