Calculates or predicts a future value by using existing values along a linear trend.
Esta função funciona no Google Sheets da mesma forma que no Excel — mesma sintaxe e argumentos.
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})Resultado: 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.