INTERCEPT function - The function returns the point at which the line will intersect the y-axis by using the existing x and y values in Excel
The following article introduces you to the INTERCEPT function - one of the functions in the statistical function group is very popular in Excel.
Description: The function returns the point at which the line will intersect the y-axis by using existing x and y values. Use the function when you want to determine the value of a dependent variable when the independent variable is 0.
Syntax: INTERCEPT (known_y's, known_x's)
Inside:
- known_y's : A set of dependent data.
- known_x's : A set of independent data.
Attention:
- The value of the argument must be a number, name, array or reference containing numbers.
- If the argument is a reference array containing text values or logic -> these values are ignored, but the value 0 is still counted.
- If known_y's , known_x's have a different number of data points or contain no data points -> the function returns the # N / A error value .
- The intersection equation of the regression line is:
[a = overline y - boverline x]
Inside:
[b = frac {{sum {left ({x - overline x} right) left ({y - overline y} right)}}} {{sum {{{left ({x - overline x} right)} ^ 2 }}}}]
And x and y are the models AVERAGE (known_x's) and AVERAGE (known_y's).
- The underlying algorithm used in INTERCEPT and SLOPE is different from the underlying algorithm used in the LINEST function .
- In case the function returns multiple values -> # DIV / 0 error message
For example:
Find the point where a line will intersect the y-axis with the data in the data table below:
- In the cell to calculate enter the formula : = INTERCEPT (C6: C10, D6: D10)
- Press Enter -> toss the degree of the data point that a line intersects the y-axis:
- Where the number of data points of the two arrays x, y is different -> the function returns the # N / A error value
Here, the array y consists of 5 elements, but the array x has only 3 elements -> the number of elements is different.
- Case 1 of 2 empty array -> function returns error value # N / A
Above are instructions and some specific examples when using INTERCEPT function in Excel.
Good luck!
You should read it
- MODE.MULT function - The function returns a vertical array of the most common values in Excel
- MAX function - The function returns the largest value in a set of values in Excel
- RANK.EQ function - Function returns the rank of a number in a list of numbers, returns the highest rank when multiple values with the same rank in Excel
- RANK.AVG function - The function returns the rank of a number in a list of numbers in Excel
- FORECAST function - The function returns a value along a linear trend in Excel
- STDEV.P function - The function returns the standard deviation based on the whole in Excel
- STDEV.S function - The function returns the standard deviation based on a sample in Excel
- PERCENTRANK.INC function - The function returns the rank of a value in a dataset as a percentage including values 0 and 1 in Excel
May be interested
- STDEV.S function - The function returns the standard deviation based on a sample in Excelstdev.s function: the function returns the standard deviation based on a sample, ignoring logical values and text. standard deviation is a measure of the dispersion of values against the mean. support functions from excel 2010 onwards. syntax: stdev.s (number1, [number2], ...)
- PROB function - The function returns the probability that values in a range are between two limits in Excelprob function: the function returns the probability that values in a range are between two limits. syntax: prob (x_range, prob_range, [lower_limit], [upper_limit])
- TREND - The function returns values in a linear trend in Exceltrend: the function returns values in a linear trend. syntax: trend (known_ys, [known_xs], [new_xs], [const])
- MAXA function - The function returns the largest value in a set of values including text and logical values in Excelmaxa function: the function returns the largest value in a set of values including text and logical values. syntax: maxa (value1, [value2], ...)
- FORECAST function - The function returns a value along a linear trend in Excelforecast function: the function performs the calculation or prediction of a future value by using current values using linear regression. in excel 2016 this function is replaced by forecast.linear function. syntax: forecast (x, known_ys, known_xs)
- PERCENTILE function - The function returns the kth percentile in Excelin mathematical computing, the percentile is a frequently applied process to study the percentile of values in a defined data set. the following article details how to use the percentile function to calculate the kth percentile value.
- PERCENTILE.EXC function - The function returns the kth percentile of values in the range, with k in the range from 0 to 1 in Excelpercentile.exc function: the function returns the kth percentile of values in the range with k in the range from 0 to 1, excluding values 0 and 1. syntax: percentile.exc (array, k)
- SLN function - Returns the depreciation value of an asset using the straight-line method in Excelthe following article details the syntax and usage of sln in excel. description: returns the depreciation of assets according to the straight-line method over a given period.
- LINEST function - The function returns a line description array using the least square method in Excellinest function: the function returns the line description array using the least squares method. syntax: linest (known_ys, [known_xs], [const], [stats])
- SLOPE function - The function returns the slope of a linear regression line through data points in Excelslope function: the function returns the slope of a linear regression line through data points. the slope is the vertical distance divided by the horizontal distance between any two points on that line, the rate of change along the regression line. syntax: slope (known_ys, known_xs)