Skip to main content
← All functions

FORECAST.ETS.SEASONALITY function

Returns the length of the repetitive pattern Excel detects for the specified time series

Compare five original sources using saved native Excel forecasts, intervals and diagnostics. Download the formulas to edit and recalculate in desktop Excel. The browser selects saved results.

Syntax

FORECAST.ETS.SEASONALITY(Values, Timeline, [Data completion], [Aggregation])

Square brackets indicate optional arguments.

Arguments

ArgumentRequiredMeaning
ValuesYesThe historical values for which you want to detect seasonality.B2:B9
TimelineYesThe independent range or array of numeric dates or times with a constant step.A2:A9
Data completionNoOptional. How to handle missing points. Use 1 to interpolate (default) or 0 to treat them as zero.1
AggregationNoOptional. A value from 1 through 7 that specifies how to aggregate duplicate time stamps.1

Compare native Excel results

Five original sources, calculated in native Mac Excel on 2026-10-17. Changing the choices below selects saved measured outputs. Use the source builder below to prepare your own series, then recalculate the downloaded formulas in supported desktop Excel.

A linear rise includes the repeated component 3, -1, 5, -7. Excel detected period 2 automatically in this sample. The explicit four-step model fits these generated observations exactly.

Automatically detected period

2

Native observation · saved to the displayed numerical precision

The detected period is 2 for this source. The model selector only changes the forecast comparison below; it does not change the automatic-period formula.

=FORECAST.ETS.SEASONALITY($B$2:$B$33,$A$2:$A$33)

Read the formula, one argument at a time

Explore the written function calls and their inputs. The calculation result belongs to the complete formula.

FORECAST.ETS.SEASONALITY · top-level call

=FORECAST.ETS.SEASONALITY($B$2:$B$33,$A$2:$A$33)

1 / 2 · Values

The historical values for which you want to detect seasonality.

FORECAST.ETS.SEASONALITY reference ↗
12.220.428.636.845.033: 39.811156220490634: 32.231975763417335: 40.793709360577536: 33.214528903504137: 41.776262500664338: 34.197082043590939: 42.758815640751140: 35.17963518367771173240Observed sourceNative Excel forecastNumeric timeline index

The automatic model has saved point forecasts and diagnostics here. Its interval was not measured, so no band is displayed.

A zero fitted error or radius in an exact generated pattern does not rule out future changes. The chart connects the saved values; this page does not fit an ETS model in the browser.

Eight future points

Target (column C)Forecast95% radiusLowerUpper
C2: 3339.81115622Not measured——
C3: 3432.23197576Not measured——
C4: 3540.79370936Not measured——
C5: 3633.2145289Not measured——
C6: 3741.7762625Not measured——
C7: 3834.19708204Not measured——
C8: 3942.75881564Not measured——
C9: 4035.17963518Not measured——

Model diagnostics

Automatic period measured for this source: 2. That result is separate from the explicit model choice.

Statistic type (column I)MeaningNative value
1Alpha: level0.002
2Beta: trend0.001
3Gamma: seasonality0.125
4MASE0.2781127636
5SMAPE0.07031819902
6MAE2.165306516
7RMSE2.410539978
8Timeline step1
Original source and cell addresses
Time (A)Observed (B)
A2: 1B2: 23
A3: 2B3: 19.5
A4: 3B4: 26
A5: 4B5: 14.5
A6: 5B6: 25
A7: 6B7: 21.5
A8: 7B8: 28
A9: 8B9: 16.5
A10: 9B10: 27
A11: 10B11: 23.5
A12: 11B12: 30
A13: 12B13: 18.5
A14: 13B14: 29
A15: 14B15: 25.5
A16: 15B16: 32
A17: 16B17: 20.5
A18: 17B18: 31
A19: 18B19: 27.5
A20: 19B20: 34
A21: 20B21: 22.5
A22: 21B22: 33
A23: 22B23: 29.5
A24: 23B24: 36
A25: 24B25: 24.5
A26: 25B26: 35
A27: 26B27: 31.5
A28: 27B28: 38
A29: 28B29: 26.5
A30: 29B30: 37
A31: 30B31: 33.5
A32: 31B32: 40
A33: 32B33: 28.5

The formula workbook contains five source sheets and all 325 measured formula results. Desktop Excel can recalculate its formulas; the frozen workbook contains no formulas. This Mac's source-edit/save/reopen workflow and Google Sheets remain unverified. No source data is uploaded, and these native examples do not count as flat browser-engine sample passes.

Build a forecast workbook from your own series

Prepare the source here, then calculate the forecast in desktop Excel. These controls create genuine ETS formulas; this browser does not fit a model or show predicted results for your edits.

Use 8–100 rows without a header and at least eight unique positive numeric times. The smallest observed spacing defines the regular step; whole-step gaps may occupy up to 30% of at most 142 positions. Calendar dates and irregular monthly spacing are outside this numeric exercise.

Duplicate times are combined here before export. Count and counta are identical for numeric-only input. Fixed seasonality requires at least two periods in this bounded exercise. Missing slots remain absent from the observations; Excel performs the selected completion.

Applied source — ready to export uncached Excel formulas.

Applied: 24 original rows → 24 unique observations, 0 missing slots, step 1, 8 future targets.

Inspect applied observations and missing slots
Numeric timePrepared observed valueSource records
1121
2141
3161
4181
5201
6221
7241
8261
9281
10301
11321
12341
13361
14381
15401
16421
17441
18461
19481
20501
21521
22541
23561
24581

Formulas for the applied source

Forecast A/B holds unique observations; C holds future targets. Controls B2/B3/B4 supplies seasonality, confidence and completion; B6 is aggregation 1 because exported times are already unique.

D2: =FORECAST.ETS(C2,$B$2:$B$25,$A$2:$A$25,Controls!$B$2,Controls!$B$4,Controls!$B$6)

E2: =FORECAST.ETS.CONFINT(C2,$B$2:$B$25,$A$2:$A$25,Controls!$B$3,Controls!$B$2,Controls!$B$4,Controls!$B$6)

K2: =FORECAST.ETS.SEASONALITY($B$2:$B$25,$A$2:$A$25,Controls!$B$4,Controls!$B$6)

J2: =FORECAST.ETS.STAT($B$2:$B$25,$A$2:$A$25,H2,Controls!$B$2,Controls!$B$4,Controls!$B$6)

The workbook retains original row order in Raw, prepared observations in Forecast, and settings in Controls. Forecasts, intervals and fitting diagnostics have no saved result caches. Open and recalculate in a supported desktop Excel version; lower/upper endpoints are point ± radius, not guaranteed future bounds. No source upload or browser persistence is used. Native source editing, saving and reopening on this Mac, and Google Sheets compatibility, remain unverified.

Reference and compatibility

Univer 1.0.4 / Apache-2.0. Calculation checks cover the supplied examples only. The browser worksheet does not implement every Excel feature, external service or connected data type.