FORECAST.ETS function
Forecasts a future value of a time series with exponential smoothing (AAA), automatically detecting trends and seasonal patterns.
Available in Microsoft 365, Excel 2016 and later, Excel for the web
Excel 2016 and laterNot in Google Sheets
Syntax
FORECAST.ETS(target_date, values, timeline, [seasonality], [data_completion], [aggregation])| Argument | What it means | |
|---|---|---|
target_date | Required | The date or period number to forecast. Must be after the end of the timeline. |
values | Required | The historical values (sales, visits, demand). |
timeline | Required | Dates or period numbers that go with values, evenly spaced (every day, week, month or period number). |
seasonality | Optional | 1 (default) = detect the season length automatically; 0 = no seasonality; a whole number such as 4, 7 or 12 = use that season length (maximum 8,760). |
data_completion | Optional | How to treat missing points: 1 (default) fills them by averaging neighbours; 0 treats them as zero. |
aggregation | Optional | How to combine values that share the same date: 1 = AVERAGE (default), 2 COUNT, 3 COUNTA, 4 MAX, 5 MEDIAN, 6 MIN, 7 SUM. |
Returns: A number: the forecast for target_date.
How FORECAST.ETS works
FORECAST.ETS is Excel's built-in time-series forecaster. It uses the AAA version of exponential smoothing: Additive error, Additive trend and Additive seasonality. In plain words, it keeps three running estimates (the current level, the current trend and how much each point of the season sits above or below normal) and updates them as it walks through your history, giving more weight to recent data. The forecast is level + trend + the seasonal effect for the target period.
Its big advantage over FORECAST.LINEAR is seasonality. Retail sales that peak every December, ice-cream demand every summer or website visits that dip every weekend are learned automatically. The timeline must have a constant step (every month, every quarter, every day); a few missing points are filled in for you, and duplicates are combined with the aggregation method.
Excel chooses the smoothing parameters by optimisation, so results can differ slightly between Excel versions and cannot be reproduced exactly with a hand formula. The values shown below are therefore approximate ("about"). Use FORECAST.ETS.CONFINT for the uncertainty range, FORECAST.ETS.SEASONALITY to see the season length it detected, and Data > Forecast Sheet to build the same model with a chart in one click.
Examples
1Quarterly sales with a regular pattern
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Quarter no. | Quarter | Sales (k€) | ||
| 2 | 1 | 2024 Q1 | 175 | about 280 | |
| 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: about 280
Sales follow a clear 4-quarter pattern (Q1 low, Q4 high) on top of growth of 5 k€ a quarter. FORECAST.ETS detects the season length of 4 and forecasts quarter 12 (2026 Q4) at about 280 k€: last Q4's 260 plus 20 for a year of growth. Because the history is perfectly regular, Excel's fitted model lands on 280 or within a fraction of it.
2Real-world, noisier history
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Quarter no. | Quarter | Sales (k€) | ||
| 2 | 1 | 2024 Q1 | 179 | about 282 | |
| 3 | 2 | 2024 Q2 | 204 | ||
| 4 | 3 | 2024 Q3 | 228 | ||
| 5 | 4 | 2024 Q4 | 238 | ||
| 6 | 5 | 2025 Q1 | 200 | ||
| 7 | 6 | 2025 Q2 | 226 | ||
| 8 | 7 | 2025 Q3 | 242 | ||
| 9 | 8 | 2025 Q4 | 266 | ||
| 10 | 9 | 2026 Q1 | 210 | ||
| 11 | 10 | 2026 Q2 | 252 | ||
| 12 | 11 | 2026 Q3 | 269 |
Result: about 282
With small random ups and downs the forecast is no longer exact. Here the season length is fixed at 4 instead of being detected. Our own AAA fit gives roughly 282 k€; Excel's optimiser may return a figure a few units different, so treat it as approximate and report it together with FORECAST.ETS.CONFINT.
3Compare with a straight line
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Quarter no. | Quarter | Sales (k€) | ||
| 2 | 1 | 2024 Q1 | 175 | 264.73 | |
| 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: 264.73
A straight line through the same data ignores the season and predicts 264.73 k€ for quarter 12 (2 decimals), well below the Q4 peak of about 280 that FORECAST.ETS expects. This is why ETS is the better tool for seasonal businesses.
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#NUM! | The timeline does not have a constant step, target_date is before the end of the timeline, or seasonality is outside 0–8,760. | Sort the timeline, make the step regular and forecast a later date. |
#VALUE! | seasonality, data_completion or aggregation is not a valid number, or target_date is text. | Check the optional arguments. |
#N/A | values and timeline have different sizes. | Use ranges of equal length. |
Tips
- Give the model at least two or three full seasons of history; with less, seasonality detection is unreliable.
- Sort by date is not required, but the step between dates must be consistent once sorted.
- Data > Forecast Sheet writes these same formulas for you, with upper and lower confidence bounds and a chart.
Questions
Why doesn't my result match another tool's exponential smoothing?
Excel picks its own starting values and smoothing parameters by optimisation. Other tools use different starting rules, so forecasts usually differ by a small amount.
Can the timeline be monthly dates?
Yes. Use the same day each month (e.g. the 1st). Excel recognises a monthly step even though months have different numbers of days.
Google Sheets
No exponential smoothing forecast; use FORECAST/TREND for a linear forecast or a chart trendline.
FORECAST.ETS 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 |
| Dutch | VOORSPELLEN.ETS |
| Finnish | ENNUSTE.ETS |
| French | PREVISION.ETS |
| German | PROGNOSE.ETS |
| Hungarian | ELŐREJELZÉS.ESIM |
| Italian | PREVISIONE.ETS |
| Norwegian (Bokmål) | PROGNOSE.ETS |
| Polish | REGLINX.ETS |
| Portuguese (Brazil) | PREVISÃO.ETS |
| Portuguese (Portugal) | PREVISÃO.ETS |
| Russian | ПРЕДСКАЗ.ETS |
| Spanish | PRONOSTICO.ETS |
| Swedish | PROGNOS.ETS |
| Turkish | TAHMİN.ETS |