Compare LINEST vs INDEX
2 vsCompare LINEST vs INDEX side-by-side — differences, popularity and recommendation
Presets:
VLOOKUP vs XLOOKUP
SUM vs SUMIFS
INDEX vs MATCH vs XLOOKUP
IF vs IFS vs SWITCH
COUNT vs COUNTA vs COUNTIF
AVERAGE vs AVERAGEIF vs AVERAGEIFS
MAX vs LARGE vs MIN
TEXT vs TEXTJOIN vs CONCAT
FILTER vs SORT vs UNIQUE
ROUND vs ROUNDUP vs ROUNDDOWN
All functions
Pick at least 2 functions
Feature
Category
Statistical statistical
Lookup & Reference lookup-reference
Popularity
20 / 100
95 / 100
Views
◉ 39 views
◉ 89 views
Output
Array
Mixed
Version
All versions
All versions
Volatile
No
No
Dynamic Array
No
No
Description
The LINEST function calculates the statistics for a line by using the "least squares" method to calculate a straight line that best fits your data, and then returns an array that describes the line. You can also combine LINEST with other functions to calculate the statistics for other types of models that are linear in the unknown parameters, including polynomial, logarithmic, exponential, and power series. Because this function returns an array of values, it must be entered as an array formula. Instructions follow the examples in this article. The equation for the line is: y = mx + b –or– y = m1x1 + m2x2 + ... + b if there are multiple ranges of x-values, where the dependent y-values are a function of the independent x-values. The m-values are coefficients corresponding to each x-value, and b is a constant value. Note that y, x, and m can be vectors. The array that the LINEST function returns is {mn,mn-1,...,m1,b}. LINEST can also return additional regression statistics.
Returns the value of an element in a table or an array, selected by the row and column number indexes. Use the array form if the first argument to INDEX is an array constant. Returns the reference of the cell at the intersection of a particular row and column. If the reference is made up of non-adjacent selections, you can pick the selection to look in.
Syntax
=LINEST(known_y's, [known_x's], [const], [stats])=INDEX(array, row_num, [column_num])Arguments
4 Arguments
known_y's
known_x's (Optional)
const (Optional)
stats (Optional)
5 Arguments
array
row_num
column_num
reference
area_num (Optional)
Examples
1
7
Tips
10
5
★ Recommendation — Winner: =INDEX()
=INDEX() is recommended based on higher popularity, newer version and Dynamic Array support.