A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Excel’s built‑in ETS forecasting functions model seasonality explicitly and do not use simple linear regression y = mx + c. That 0.5% difference is expected if manual calculations are based on a straight line while Excel is using an exponential smoothing model with a seasonal component.
Key points:
- How seasonality is handled
- Functions such as
FORECAST.ETSuse the Exponential Triple Smoothing (ETS, AAA) algorithm. - Seasonality is modeled as a repeating pattern of a certain length (number of periods).
- Excel automatically detects this seasonal length unless a specific seasonality is supplied.
- Functions such as
- Numerical value for seasonality length
- The function
FORECAST.ETS.SEASONALITY(values, timeline, [data_completion], [aggregation])returns the length of the repetitive pattern Excel detects for the time series. - This is a numeric value (e.g., 12 for monthly data with yearly seasonality) and is the seasonality length used by
FORECAST.ETSwhen the same parameters are passed.
- The function
- Other numerical seasonality parameters
-
FORECAST.ETS.STATcan return ETS algorithm parameters, including:- Gamma parameter of ETS algorithm – the seasonality weight parameter (higher value gives more weight to the recent seasonal period).
-
FORECAST.ETS.STATalso returns error metrics and the detected step size, which are useful for validating the model but are not part of a simple linear regression formula.
-
- Why manual
y = mx + cdiffers from Excel’s forecast-
FORECAST.LINEAR(or classicFORECAST) corresponds to linear regressiony = mx + c. -
FORECAST.ETSuses ETS with trend and seasonality, so its forecast will differ from a linear regression line, especially when a seasonal pattern exists. - To match Excel’s ETS forecast manually, the full ETS equations with the detected seasonality length and parameters (alpha, beta, gamma) would need to be replicated, not just a linear regression.
-
To inspect the seasonality Excel is using, call FORECAST.ETS.SEASONALITY on the same values, timeline, and options as the FORECAST.ETS call, and use FORECAST.ETS.STAT to retrieve the gamma (seasonality) parameter and other statistics.
References: