Statistical function

FORECAST.ETS.STAT function

Returns a statistic about the FORECAST.ETS model, such as its smoothing parameters, error measures (MAE, RMSE) or the detected time step.

Available in Microsoft 365, Excel 2016 and later, Excel for the web

Excel 2016 and laterNot in Google Sheets

Syntax

FORECAST.ETS.STAT(values, timeline, statistic_type, [seasonality], [data_completion], [aggregation])
ArgumentWhat it means
valuesRequiredThe historical values.
timelineRequiredEvenly spaced dates or period numbers.
statistic_typeRequiredWhich statistic to return: 1 alpha (level smoothing), 2 beta (trend smoothing), 3 gamma (seasonal smoothing), 4 MASE, 5 SMAPE, 6 MAE, 7 RMSE, 8 step size of the timeline.
seasonalityOptional1 = detect (default), 0 = none, or a fixed length.
data_completionOptional1 = fill gaps (default), 0 = treat as zero.
aggregationOptionalHow to combine duplicate dates; 1 = AVERAGE (default).

Returns: A number: the requested statistic.

How FORECAST.ETS.STAT works

FORECAST.ETS.STAT opens the hood of FORECAST.ETS. The first three statistics are the smoothing parameters Excel chose, each between 0 and 1: alpha controls how fast the level reacts to new data, beta how fast the trend reacts and gamma how fast the seasonal pattern adapts. Values close to 1 mean the model mostly trusts the latest observations; values close to 0 mean it relies on the long history.

Statistics 4–7 measure how well the model fitted the past: MAE is the average size of the errors, RMSE is similar but punishes big misses more, SMAPE expresses the error as a percentage, and MASE compares the model with a naive "same as last period" forecast (below 1 means the model beats the naive guess). Statistic 8 returns the step Excel detected in the timeline, a quick check that your dates are read the way you expect.

Use the same seasonality, data_completion and aggregation values as in your FORECAST.ETS formula, otherwise you describe a different model. Statistics 1–7 come from Excel's internal optimisation and can vary slightly between versions; the step size is exact.

Examples

1Check the timeline step of quarterly data

E2fx=FORECAST.ETS.STAT(C2:C12, A2:A12, 8)
ABCDE
1Quarter no.QuarterSales (k€)
212024 Q11751
322024 Q2210
432024 Q3225
542024 Q4240
652025 Q1195
762025 Q2230
872025 Q3245
982025 Q4260
1092026 Q1215
11102026 Q2250
12112026 Q3265

Result: 1

The quarters are numbered 1, 2, 3 ..., so the detected step is 1 period. If you get something else, your timeline has gaps or duplicates.

2Weekly dates have a step of 7

D2fx=FORECAST.ETS.STAT(B2:B8, A2:A8, 8)
ABCD
1Week startingOrders
22026-03-024107
32026-03-09425
42026-03-16418
52026-03-23440
62026-03-30452
72026-04-06447
82026-04-13465

Result: 7

The timeline is a set of Monday dates, which Excel stores as serial numbers 7 apart, so the step is 7 (days). A forecast for the following Monday would use target date 2026-04-20.

3How big are the model's typical errors?

E2fx=FORECAST.ETS.STAT(C2:C12, A2:A12, 7, 4)
ABCDE
1Quarter no.QuarterSales (k€)
212024 Q1179about 5
322024 Q2204
432024 Q3228
542024 Q4238
652025 Q1200
762025 Q2226
872025 Q3242
982025 Q4266
1092026 Q1210
11102026 Q2252
12112026 Q3269

Result: about 5

Statistic 7 is the RMSE: the model's one-step-ahead errors on this history are typically about 5 k€ (our own fit gives 5.0; Excel may differ slightly). Compare it with average quarterly sales of about 229 k€: an error of around 2% is a good fit.

⬇Practice workbookExamples with live formulas + practice sheets · .xlsx · 17 KB

Common errors and how to fix them

ErrorWhy it happensFix
#NUM!statistic_type is not 1–8, or the timeline step is irregular.Use a type from 1 to 8 and evenly spaced dates.
#N/Avalues and timeline differ in size.Use equal-length ranges.

Tips

  • Compare RMSE (7) of models with and without seasonality to see whether the seasonal pattern really improves accuracy.
  • Data > Forecast Sheet can output a table of all these statistics at once (tick Include forecast statistics under Options).

Google Sheets

No exponential smoothing functions; use LINEST with verbose TRUE for statistics of a linear fit.

FORECAST.ETS.STAT in other languages

In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.

LanguageFunction name
DanishPROGNOSE.ETS.STAT
DutchVOORSPELLEN.ETS.STAT
FinnishENNUSTE.ETS.STAT
FrenchPREVISION.ETS.STAT
GermanPROGNOSE.ETS.STAT
HungarianELŐREJELZÉS.ESIM.STAT
ItalianPREVISIONE.ETS.STAT
Norwegian (Bokmål)PROGNOSE.ETS.STAT
PolishREGLINX.ETS.STATYSTYKA
Portuguese (Brazil)PREVISÃO.ETS.STAT
Portuguese (Portugal)PREVISÃO.ETS.ESTATÍSTICA
RussianПРЕДСКАЗ.ETS.СТАТ
SwedishPROGNOS.ETS.STAT
TurkishTAHMİN.ETS.İSTAT