1. Home
  2. Functions
  3. Statistical
  4. FORECAST.ETS.SEASONALITY

FORECAST.ETS.SEASONALITY function

Returns the length of the repeating pattern detected in a time series (1 when there is none).

Syntax

=FORECAST.ETS.SEASONALITY(values, timeline, [data_completion], [aggregation])

Arguments

ArgumentRequiredDescription
valuesRequiredThe historical values
timelineRequiredThe dates or numbers of the values, evenly spaced
data_completionOptional1 or left out to fill missing points by interpolation, 0 to use zeros
aggregationOptionalHow to combine values with the same date: 1 average (default) to 7 sum

How to use FORECAST.ETS.SEASONALITY

FORECAST.ETS.SEASONALITY takes 2 required arguments and 2 optional arguments. Type =FORECAST.ETS.SEASONALITY( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.

Examples

Each result below was calculated by the SheetsBat formula engine.

=FORECAST.ETS.SEASONALITY({1,5,9,1,5,9,1,5,9,1,5,9}, {1,2,3,4,5,6,7,8,9,10,11,12})Result 3

Every formula, right in your browser

SheetsBat calculates 536 functions, with charts, pivot tables and live collaboration. Free to start.