Predict value with a seasonal trend
=FORECAST.ETS(target_date, values, timeline, [seasonality], [data_completion], [aggregation])
| Parameter | Description |
|---|---|
target_date |
The time or period for the prediction (x value). |
values |
Existing or historical values (y values). |
timeline |
Numeric timeline values (x values). |
seasonality |
[optional] Seasonality calculation (0 = no seasonality, 1 = automatic, n = season length in timeline units). |
data_completion |
[optional] Missing data treatment (0 = treat as zero, 1 = average). Default is 1. |
aggregation |
[optional] Aggregation behavior. Default is 1 (AVERAGE). See other options below. |
In the example shown above, the formula in cell D13 is:
=FORECAST.ETS(B13,sales,periods,4)