Calculates or predicts a future value by using existing values along a linear trend.
Den här funktionen fungerar likadant i Google Kalkylark som i Excel — samma syntax och argument.
FORECAST.LINEAR(x, known_ys, known_xs)The FORECAST.LINEAR function uses linear regression to predict a value based on historical data. It is the updated version of the legacy FORECAST function, providing better compatibility and clarity for linear trend analysis.
=FORECAST.LINEAR(6, {10, 20}, {1, 2})Resultat: 60
Predicts the y-value for x=6 based on the linear trend of points (1,10) and (2,20).
They are functionally identical; FORECAST.LINEAR is the modern naming convention introduced to improve clarity.