Yes, Excel has a built-in Forecast ETS function (FORECAST.ETS) that uses exponential smoothing to predict future values from historical time-based data. It is available in Excel 2016 and later, including Microsoft 365, and is the easiest way to create a statistical forecast without add-ins. This article explains how it works, how to use it, and how to avoid common mistakes.
What Is Exponential Smoothing in Excel?
Exponential smoothing is a time-series forecasting method that gives more weight to recent observations while still considering older data. Unlike a simple moving average (which treats all points equally), exponential smoothing uses a smoothing constant (alpha) that decays older values exponentially. Excel’s FORECAST.ETS implements a more advanced version called ETS (Error, Trend, Seasonal) that can automatically detect trend and seasonality patterns in your data.
The function returns a predicted value for a specific future date. For example, if you have monthly sales from January 2023 to December 2024, you can forecast January 2025. It is commonly used for sales, inventory, website traffic, and financial projections.
How to Use FORECAST.ETS Step by Step
To use FORECAST.ETS, you need two columns: one with dates or time values (sorted ascending) and one with the corresponding numeric values. The function syntax is:
=FORECAST.ETS(target_date, values, timeline, [seasonality], [data_completion], [aggregation])
Here is a simple example. Suppose you have dates in A2:A13 and sales in B2:B13. To forecast for the date in A14 (say January 1, 2025), enter:
=FORECAST.ETS(A14, B2:B13, A2:A13)
This returns a single predicted value. For a quick visual forecast, select your data, go to Data > Forecast Sheet (in the Forecast group). Excel creates a new worksheet with a line chart, upper and lower confidence bounds, and a table of forecasted values. This is the easiest method for most users because it handles all arguments automatically.
Understanding the Optional Arguments
The optional arguments let you control how the forecast behaves:
- Seasonality: Use 1 for automatic detection (default), or specify a positive integer (e.g., 12 for monthly data with yearly seasonality). Set to 0 to ignore seasonality.
- Data completion: Use 0 to treat missing points as gaps (the function will interpolate), or 1 to fill them with the average of neighboring points. Default is 1.
- Aggregation: If your timeline has duplicate dates, use this to combine them (e.g., 1 for AVERAGE, 2 for SUM, 3 for COUNT). Default is 1 (average).
For example, if your data is monthly and you know it has a yearly cycle, you could use:
=FORECAST.ETS(A14, B2:B13, A2:A13, 12)
If you want no seasonality, set the third argument to 0. Be careful: forcing seasonality when it doesn’t exist can distort results.
How to Choose the Right Settings
Choosing the right seasonality and data completion settings matters for accuracy. Here are practical guidelines:
- Check your data interval: If you have daily data with weekly patterns, seasonality might be 7. For monthly data with yearly patterns, use 12. If unsure, let Excel auto-detect (omit the argument).
- Ensure enough history: Excel needs at least two full seasonal cycles for automatic detection. For yearly seasonality with monthly data, that means at least 24 months. With less data, set seasonality to 0 to avoid errors.
- Handle missing values: If you have gaps, decide whether to interpolate (data_completion=1) or leave as gaps (0). Interpolation is fine for small gaps, but large gaps may mislead the forecast.
- Check confidence intervals: The Forecast Sheet includes upper and lower bounds. If they are very wide, your forecast is uncertain—consider collecting more data.
Common Problems and How to Fix Them
Users often run into a few issues with FORECAST.ETS:
- #VALUE! error: Happens when the timeline is not sorted ascending, or when the target date is before the first timeline date. Sort your dates, and ensure the target is within or after the timeline range.
- #NUM! error: Occurs if seasonality is set to a value that is not a positive integer, or if there are fewer than two data points. Also, if you specify seasonality that is too large relative to the data length, you get this error.
- #N/A error: When the timeline contains duplicate dates and you don’t specify an aggregation method, or when aggregation is set to 0 (which is not allowed). Use aggregation=1 or another valid number.
- Forecast looks flat: If your data has no clear trend or seasonality, the forecast will be a horizontal line near the average. That’s normal, but check if you accidentally set seasonality to 0 when you shouldn’t have.
FORECAST.ETS vs Other Excel Forecasting Tools
Excel offers several forecasting methods, and it’s useful to know when to use which:
- FORECAST (linear): The older FORECAST function fits a straight line using least squares. It ignores seasonality and is best for data with a simple linear trend. It is still available for compatibility.
- FORECAST.ETS: Handles trend, seasonality, and confidence intervals. It is the modern choice for most time-series data.
- Moving average: Not a forecasting function per se, but you can use AVERAGE with an offset to smooth data. It doesn’t project future values.
- Trendline in charts: You can add an exponential or linear trendline to a chart and extend it forward, but it doesn’t give confidence intervals or a table of values.
For most business forecasting, FORECAST.ETS is the most robust built-in option. If you need more control, consider using the Analysis ToolPak’s Exponential Smoothing tool, but that only smooths data—it doesn’t forecast future periods.
Costs and Availability
FORECAST.ETS is included in all desktop versions of Excel from 2016 onward, including Microsoft 365, Excel 2019, and Excel 2021. It is also available in Excel for the web. There is no additional cost—it’s part of the standard Excel functions. However, if you are using an older version (Excel 2013 or earlier), you won’t have this function; you would need to upgrade or use manual formulas with exponential smoothing.
Safety and Accuracy Tips
While FORECAST.ETS is a powerful tool, it is not a crystal ball. Here are important caveats:
- Historical data must be representative: If your past includes one-off events (e.g., a pandemic spike), the forecast will be skewed. Consider cleaning outliers before forecasting.
- Forecasts are statistical estimates: The confidence intervals show the range where the true value is likely to fall. A 95% confidence interval means there’s a 5% chance the actual value is outside that range.
- Do not extrapolate too far: The further into the future you forecast, the wider the intervals and the less reliable the numbers. Forecast only a few periods ahead if possible.
- Check for seasonality changes: If your business changes (e.g., new product line), historical seasonality may not hold. Re-evaluate your forecast periodically.
Always pair the forecast with domain knowledge. For financial decisions, consult a qualified professional.
Frequently Asked Questions
Can I use FORECAST.ETS with non-date data?
Yes, the timeline can be any numeric sequence (e.g., 1, 2, 3…), but it must be sorted and have a consistent step. Excel will treat it as a time axis. However, if you have irregular intervals, the results may be less accurate.
Why does my FORECAST.ETS return #VALUE! even though my data looks fine?
This often happens when the timeline contains dates stored as text, or when there are blank cells in the middle. Convert text dates to real dates (using DATEVALUE) and ensure no blank rows are included in the ranges.
How do I forecast multiple future periods at once?
You can either drag the formula down for each future date, or use the Forecast Sheet which generates a table for a specified number of periods. To specify the number, click Options in the Create Forecast Worksheet dialog and set the Forecast End date.
Is FORECAST.ETS the same as the Forecast Sheet?
The Forecast Sheet uses FORECAST.ETS internally, but it also creates a chart and a table with confidence intervals. The function alone gives you just the point forecast. The sheet is a visual, ready-to-use report.
Does FORECAST.ETS work on Mac?
Yes, FORECAST.ETS is available in Excel for Mac (version 16.x and later). The function syntax is identical. The Forecast Sheet is also available under Data > Forecast Sheet on Mac.
Can I use FORECAST.ETS in Google Sheets?
No, Google Sheets does not have FORECAST.ETS. Instead, it has FORECAST (linear) and FORECAST.LINEAR. For exponential smoothing, you would need to use an add-on or a custom script. Excel is the better choice for this function.
Related
- How to Do Data Entry in a Laptop: Step-by-Step
- Filtering for Duplicates in Excel: 4 Fast Ways
- JavaScript Random Number in Range: Simple Guide
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- How to Create Custom Number Formats in ExcelTo create a custom number format in Excel for Microsoft 365 on Windows, select the cells, press Ctrl+1,…
- Add an Image Watermark in Word: A Clear Step-by-Step GuideTo add an image watermark in Microsoft Word for Microsoft 365 on Windows, open the Design tab, choose…
- Microsoft Excel Invoice Template: Find and CustomizeYes—Microsoft provides invoice templates you can open in Excel: in Excel for Microsoft 365 on Windows, select File…
- What Is Data Entry? Definition, Types, and WorkData entry is the process of entering, updating, or transcribing information into a computer system, database, or spreadsheet.…
- Excel Page Break Character: Meaning and Print BreaksExcel does not use a special character inside a cell to create a worksheet page break: page breaks…
- VLOOKUP Did Not Find Value in Google Sheets?If VLOOKUP did not find a value in Google Sheets, the usual cause is that the lookup key…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.