Function · Forecasting and trends

Excel FORECAST.ETS function

The Excel FORECAST.ETS function predicts a future value with exponential smoothing. Monthly sales keep their seasonal pattern.

Excel 2016 and later on Windows and Mac, including Microsoft 365, Excel 2024, Excel 2021, and Excel 2019. Microsoft's page says it is not available in Excel for the web, iOS, or Android.

Syntax =FORECAST.ETS(target_date, values, timeline, [seasonality], [data_completion], [aggregation])

FORECAST.ETS
=FORECAST.ETS(B10,C2:C9,B2:B9,4)

Arguments

NameRequiredWhat to pass
target_dateRequiredThe date or number you want a prediction for. It should continue the timeline. A target earlier than the end of the history is #NUM!. Text that is not a date or a number is #VALUE!.
valuesRequiredThe historical values, such as monthly sales. The range has to be the same size as timeline. A different size is #N/A.
timelineRequiredThe dates or index numbers paired with values. The step has to be constant. Month starts on the 1st qualify. A step Excel cannot treat as constant, including a step of 0, is #NUM!. The range does not have to be sorted. Duplicate timestamps are #VALUE!.
seasonalityOptional1, the default, detects the period. 0 means no seasonality, so the forecast is a smoothed trend without a repeating pattern. A positive whole number is the period length, up to 8,760. Any other value, including a period above 8,760, is #NUM!.
data_completionOptionalHow to fill a gap of up to 30% of the points. 1, the default, uses the average of the neighboring points. 0 treats the missing points as zeros.
aggregationOptionalHow to combine values that share a timestamp. Leave it blank and Excel averages them. 1 is AVERAGE, 2 is COUNT, 3 is COUNTA, 4 is MAX, 5 is MEDIAN, 6 is MIN, and 7 is SUM. Microsoft's support page says a value of 0 also uses AVERAGE.

Examples

The next quarter after two seasonal years

=FORECAST.ETS(B10,C2:C9,B2:B9,4)

Result The Q1 shape continues. Excel's ETS fit sets the dollar amount.

Seasonality turned off

=FORECAST.ETS(B10,C2:C9,B2:B9,0)

Result A smoothed trend with the seasonal swing left out.

A missing March filled from its neighbors

=FORECAST.ETS(DATE(2026,6,1),C2:C5,B2:B5,1,1)

Result 1 fills March from February and April. 0 treats March as zero.

=FORECAST.ETS(B10,C2:C9,B2:B9,4)C10
Quarters
ABC
1QuarterIndexSales
21/1/2025110000
34/1/2025214000
47/1/2025312000
510/1/2025418000
61/1/2026511000
74/1/2026615000
87/1/2026713000
910/1/2026819000
101/1/20279
A picture of the sheet, not a live calculator. C10 is left without a dollar amount. Excel's ETS fit fills that cell. Q4 is the high quarter, and each quarter is $1,000 above the same quarter a year earlier. The timeline is column B, a step of 1.

FORECAST.ETS predicts one future value with the AAA form of exponential smoothing. It is not the straight line that TREND and FORECAST.LINEAR fit. The timeline needs a constant step. Month starts on the 1st count, which is the case Microsoft’s page gives. An index of 1, 2, 3 also counts. A step Excel cannot space evenly is #NUM!. Duplicate timestamps are #VALUE!. values and timeline of different lengths are #N/A.

Seasonality 1, the default, asks Excel to detect the period. 0 turns the repeating pattern off. A positive whole number, up to 8,760, is the period length, and 12 is a monthly year. Anything else is #NUM!. data_completion 1, the default, fills a gap of up to 30% with the average of the neighboring points. 0 fills that gap with zero. aggregation combines values that share a timestamp. Leave it blank and Excel averages them. 1 is AVERAGE, 2 is COUNT, 3 is COUNTA, 4 is MAX, 5 is MEDIAN, 6 is MIN, and 7 is SUM. The support page says 0 also uses AVERAGE. A target earlier than the last historical point is #NUM!.

Eight quarters from 1/1/2025 through 10/1/2026 rise $1,000 from one year to the next and peak in Q4. The forecast at index 9, labeled 1/1/2027, should keep that seasonal shape. This page does not print the dollar amount. Excel’s ETS fit sets it, and LibreOffice FORECAST.ETS.ADD can differ. FORECAST.ETS.CONFINT returns an interval around the forecast. FORECAST.ETS.SEASONALITY returns the period Excel detected. FORECAST.ETS.STAT returns a fit statistic. On Excel for Windows, Data, Forecast group, Forecast Sheet builds a new worksheet of those formulas and a chart. EDATE and the month sequence LAMBDA can write the month starts. The 13-Week Cash Flow Forecast lays out thirteen weeks of cash by date, and the Sales Pipeline Tracker weights open deals. Neither workbook is an ETS fit.