INTERCEPT Function
Return the point where the linear regression line crosses the y-axis. known_y and known_x are the dependent and the independent values, arrays or ranges of the same size, and the line is fitted by the least squares method. Arrays of different sizes return #N/A, and known_x values that are all equal return #DIV/0!. The catalog accepts two arguments; the third name in the syntax, x, is not used, and a third argument returns #VALUE!.
Syntax
INTERCEPT(known_y, known_x, x)
Category: Statistics. Minimum arguments: 2. Maximum arguments: 2.
Available for supported offline calculation.
Examples
=INTERCEPT({1,2,3},{2,4,6})
The formula returns 0, because the values 1, 2 and 3 lie on the line y = 0.5x, which passes through the origin.
Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.