Contact

FORECAST.ETS Function in Microsoft Excel: Syntax, Examples & Troubleshooting

Statistical Intermediate Microsoft Excel

Forecast a seasonal Excel time series with FORECAST.ETS. Reproduce Microsoft’s 57-month sample, distinguish seasonality and missing-data settings, and diagnose timeline errors.

Verification status: See the evidence and test scope described in this guide. How formula examples are checked

Quick answer: FORECAST.ETS predicts a value at a future timestamp using Excel’s AAA exponential-smoothing algorithm. It is useful when recurring seasonal behavior matters. The timeline must have a regular interval, such as the first day of each month; the number of calendar days in consecutive months need not be identical.

Syntax and arguments

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

The first three arguments are required. target_date is a future numeric date/time or index, values contains observations, and timeline contains matching numeric timestamps. Excel can sort the timeline internally. Dates cannot be zero and the paired ranges must have the same size. A target before the end of the historical timeline produces #NUM!.

For seasonality, 1 or omitted means automatic detection, 0 disables seasonality, and another positive whole number sets the pattern length in observations. The maximum is 8760; unsupported values produce #NUM!. A value of 1 is the automatic-setting flag, not a request for a fixed one-observation cycle. Turning seasonality off does not make this function an ordinary least-squares regression formula.

The optional data_completion setting distinguishes missing observations from real zeros: 1 or omitted fills missing points using the neighboring average; 0 treats missing points as zero. Microsoft documents support for up to 30% missing data. A recorded zero already present in your dataset is a value, not an absent timestamp.

aggregation selects how equal timestamps are combined. The individual worksheet reference describes 0 as the default average. Microsoft’s forecast aggregation enumeration, checked October 17, 2026, lists 1 Average, 2 Count, 3 CountA, 4 Max, 5 Median, 6 Min, 7 Sum. These sources do not express the default consistently. The same worksheet page also mentions duplicate-timestamp #VALUE! errors while describing aggregation of duplicates. These documentation inconsistencies were not resolved by native testing. For predictable preparation, aggregate raw records yourself into one value per timestamp. The source workbook used here has unique timestamps, so its examples do not depend on choosing among duplicate-handling methods.

Reproducible source dataset

Download Microsoft’s original forecast sample workbook, linked from the official function reference and checked October 17, 2026. On Forecast.ets sample, use all 57 historical rows, with dates in A4:A60 and airport-passenger counts in B4:B60. The history runs from January 2009 through September 2013. A4 is January 1, 2009 (date serial 39814), B4 is 2644539; A60 is September 1, 2013 (41518), B60 is 3781168.

Keep the entire dataset. These endpoint values are an identity check, not enough data to reproduce the fit by themselves. The workbook contains actual stored formulas and cached outputs. Results below are Microsoft-workbook cached results, read without recalculation, not fresh tests in Excel or independently reconstructed ETS estimates.

Worked example: October 2013

  1. In the downloaded workbook, A61 is October 1, 2013, or serial 41548.
  2. The formula in C61, shown without the file-format compatibility prefix, is:
=FORECAST.ETS(A61,$B$4:$B$60,$A$4:$A$60,1,1)
  1. Its saved value is 3858196.3569040108, approximately 3,858,196 passengers when rounded for display.

The two supplied optional arguments request automatic seasonality and neighboring-average completion. Aggregation is omitted. Absolute history references prevent copying the forecast from sliding its training window. The raw XML stores an _xlfn. prefix; the normal worksheet formula above is the user-facing syntax for a supporting Excel version.

Second example: extend the horizon

A62 contains November 1, 2013, serial 41579. The corresponding formula uses A62 with the same fixed historical ranges:

=FORECAST.ETS(A62,$B$4:$B$60,$A$4:$A$60,1,1)

The workbook’s cached result is 3562679.8147925721, approximately 3,562,680 passengers. It is lower than October’s forecast, illustrating why a seasonal prediction need not increase each month even when a long-term trend exists. This is another cached source result, not a new calculation performed here.

Advanced application: preserve a clean forecast boundary

Build an operations report with actual observations ending in September and forecast observations starting in October. Do not accidentally extend B4:B60 into the forecast column or train the model on its own predictions. Label actuals and forecasts separately and keep the selected history range visible.

For a capacity estimate, =ROUND(C61,0) independently rounds the stored October value to 3858196. That rounding changes presentation, not the fitted model. A capacity decision should also consider uncertainty and operational constraints; a point forecast alone is not a guaranteed demand level.

Troubleshooting

  • #N/A: verify equal-length values and timeline ranges, including the same first and last row.
  • #NUM!: check for an earlier target, no identifiable regular interval, invalid seasonality or a period above 8760.
  • Duplicate dates: resolve them deliberately before fitting; the documentation’s duplicate-error and aggregation descriptions conflict as noted above.
  • Unexpected season length: verify sampling frequency and enough relevant history, rather than interpreting a returned period as a number of days automatically.

Monthly records should remain monthly. Converting them to irregular transaction timestamps changes the modeling problem. Microsoft describes filling missing observations, but that is not evidence that arbitrary large gaps, mixed time scales or a changed business regime will produce a useful forecast.

Compatibility and verification

Microsoft’s reference checked on October 17, 2026 lists: Excel for Microsoft 365 Excel for Microsoft 365 for Mac Excel 2024 Excel 2024 for Mac Excel 2021 Excel 2021 for Mac Excel 2019 Excel 2016. Microsoft’s alphabetical catalog, checked October 17, 2026, identifies Excel 2016 as the introduction-version marker for FORECAST.ETS. This perpetual-release marker does not establish an earlier Microsoft 365 preview or rollout date. Platform restrictions remain separate. The last functioning version is unverified; no retirement is asserted.

The individual reference explicitly excludes Excel for the web, iOS and Android. Use a supported desktop build. The sample workbook’s saved outputs do not establish which current build will reproduce every last decimal. Example verification: ETS fitted results are explicitly Microsoft-workbook cached results, not independently fitted predictions. Only identified arithmetic, reference substitution and display checks are independently derived. These examples have not been tested in Microsoft Excel. No screenshot or native execution is claimed.