FORECAST.ETS.SEASONALITY function
Returns the length of the repeating seasonal pattern that Excel detects in a time series, e.g. 4 for quarterly data or 12 for monthly.
Available in Microsoft 365, Excel 2016 and later, Excel for the web
Excel 2016 and laterNot in Google Sheets
Syntax
FORECAST.ETS.SEASONALITY(values, timeline, [data_completion], [aggregation])| Argument | What it means | |
|---|---|---|
values | Required | The historical values. |
timeline | Required | Evenly spaced dates or period numbers for values. |
data_completion | Optional | 1 = fill gaps by interpolation (default), 0 = treat gaps as zero. |
aggregation | Optional | How to combine values that share a date; 1 = AVERAGE (default). |
Returns: A whole number: the number of periods in one seasonal cycle that Excel found.
How FORECAST.ETS.SEASONALITY works
Before trusting an exponential-smoothing forecast you want to know what pattern Excel thinks it has found. FORECAST.ETS.SEASONALITY tells you: it returns the season length detected automatically by FORECAST.ETS when its seasonality argument is left at 1. Quarterly data with a yearly cycle should give 4, monthly data 12, daily data with a weekly rhythm 7.
If the number looks wrong (say 5 for monthly sales), the history may be too short, too noisy or contain one-off events. In that case you can force the correct length by typing it into the seasonality argument of FORECAST.ETS. The detection needs a reasonable amount of history: at least two full cycles, ideally three or more.
Examples
1Detect the quarterly cycle
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Quarter no. | Quarter | Sales (k€) | ||
| 2 | 1 | 2024 Q1 | 175 | 4 | |
| 3 | 2 | 2024 Q2 | 210 | ||
| 4 | 3 | 2024 Q3 | 225 | ||
| 5 | 4 | 2024 Q4 | 240 | ||
| 6 | 5 | 2025 Q1 | 195 | ||
| 7 | 6 | 2025 Q2 | 230 | ||
| 8 | 7 | 2025 Q3 | 245 | ||
| 9 | 8 | 2025 Q4 | 260 | ||
| 10 | 9 | 2026 Q1 | 215 | ||
| 11 | 10 | 2026 Q2 | 250 | ||
| 12 | 11 | 2026 Q3 | 265 |
Result: 4
Every fourth quarter repeats the same shape (low Q1, high Q4), so Excel reports a season length of 4. That is the value FORECAST.ETS uses automatically for this data.
2A school-term pattern of 3
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Term | Season | Uniform sales | ||
| 2 | 1 | Autumn | 820 | 3 | |
| 3 | 2 | Spring | 310 | ||
| 4 | 3 | Summer | 450 | ||
| 5 | 4 | Autumn | 860 | ||
| 6 | 5 | Spring | 330 | ||
| 7 | 6 | Summer | 470 | ||
| 8 | 7 | Autumn | 900 | ||
| 9 | 8 | Spring | 350 | ||
| 10 | 9 | Summer | 490 |
Result: 3
A uniform shop sells most in the autumn term, least in spring and a medium amount in summer, every school year. With three terms a year the detected cycle is 3, even though nothing in the data says "year".
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#NUM! | The timeline step is irregular or there are too few points. | Use evenly spaced dates and more history. |
#N/A | values and timeline differ in size. | Use equal-length ranges. |
Tips
- If the detected length disagrees with business sense, trust business sense and type the length into FORECAST.ETS directly.
Google Sheets
No exponential smoothing functions; inspect seasonality with a chart or with lagged CORREL checks.
FORECAST.ETS.SEASONALITY 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.
| Language | Function name |
|---|---|
| Danish | PROGNOSE.ETS.SÆSONUDSVING |
| Dutch | VOORSPELLEN.ETS.SEASONALITY |
| Finnish | ENNUSTE.ETS.KAUSIVAIHTELU |
| French | PREVISION.ETS.CARACTERESAISONNIER |
| German | PROGNOSE.ETS.SAISONALITÄT |
| Hungarian | ELŐREJELZÉS.ESIM.SZEZONALITÁS |
| Italian | PREVISIONE.ETS.STAGIONALITÀ |
| Norwegian (Bokmål) | PROGNOSE.ETS.SESONGAVHENGIGHET |
| Polish | REGLINX.ETS.SEZONOWOŚĆ |
| Portuguese (Brazil) | PREVISÃO.ETS.SAZONALIDADE |
| Portuguese (Portugal) | PREVISÃO.ETS.SAZONALIDADE |
| Russian | ПРЕДСКАЗ.ETS.СЕЗОННОСТЬ |
| Spanish | PRONOSTICO.ETS.ESTACIONALIDAD |
| Swedish | PROGNOS.ETS.SÄSONGSBEROENDE |
| Turkish | TAHMİN.ETS.MEVSİMSELLİK |