Returns values along a linear trend.
Эта функция в Google Таблицах работает так же, как в Excel — тот же синтаксис и аргументы.
TREND(known_ys, [known_xs], [new_xs], [const])The TREND function calculates a linear trend line through a given set of data points using the least squares method. It returns the y-values along that line for the specified new x-values.
=TREND({10,20,30}, {1,2,3}, {4})Результат: 40
Predicts the y-value for x=4 based on the linear trend of the provided data.
If omitted, it is assumed to be the array {1, 2, 3, ...} of the same size as known_ys.