Compare TREND vs LINEST
2 vsCompare TREND vs LINEST 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
Statistical statistical
Popularity
30 / 100
20 / 100
Views
◉ 12 views
◉ 19 views
Output
Array
Array
Version
All versions
All versions
Volatile
No
No
Dynamic Array
No
No
Description
The TREND function returns values along a linear trend. It fits a straight line (using the method of least squares) to the array's known_y's and known_x's. TREND returns the y-values along that line for the array of new_x's that you specify.
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.
Syntax
=TREND(known_y's, [known_x's], [new_x's], [const])=LINEST(known_y's, [known_x's], [const], [stats])Arguments
4 Arguments
known_y's
known_x's (Optional)
new_x's (Optional)
const (Optional)
4 Arguments
known_y's
known_x's (Optional)
const (Optional)
stats (Optional)
Examples
2
1
Tips
4
10
★ Recommendation — Winner: =TREND()
=TREND() is recommended based on higher popularity, newer version and Dynamic Array support.