Forecast x Excel: How to Forecast in Excel

How-to basics · Updated November 23, 2026

The direct answer: Excel does not have a single function called FORECAST.X, but it has a family of forecasting functions—FORECAST, FORECAST.LINEAR, and FORECAST.ETS—plus a built-in Forecast Sheet tool that creates forecasts with a few clicks. For most users, the Forecast Sheet (found under Data > Forecast > Forecast Sheet) is the easiest way to generate a forecast with confidence intervals, while the functions give you more control inside formulas.

What the FORECAST Functions Actually Do

Excel’s forecasting functions are designed to predict future values based on historical data. The three main functions are:

  • FORECAST – the original linear regression function, still available for compatibility.
  • FORECAST.LINEAR – the modern equivalent of FORECAST, using linear regression to predict a value along a straight line.
  • FORECAST.ETS – uses exponential smoothing (ETS) to account for seasonality and trends, ideal for data with patterns.

For example, if you have monthly sales in cells B2:B13 and months numbered 1–12 in A2:A13, you can forecast month 13 with:

=FORECAST.LINEAR(13, B2:B13, A2:A13)

This returns the predicted sales for month 13 based on the linear trend of the existing data. The syntax is consistent: FORECAST.LINEAR(x, known_ys, known_xs) where x is the point you want to predict.

How the Forecast Sheet Works

The Forecast Sheet is the visual, click-and-go method. It uses the FORECAST.ETS algorithm behind the scenes and creates a new worksheet with a chart and a table of forecasted values. To use it:

  1. Select your data (dates or numeric periods in one column, values in the adjacent column).
  2. Go to Data > Forecast > Forecast Sheet.
  3. In the dialog, choose the forecast end date and options like seasonality (automatic or manual).
  4. Click Create – Excel inserts a new sheet with the forecast chart and a table with lower and upper confidence bounds.

This is the fastest way for non-formula users, and it automatically includes a confidence interval, which is a statistical range that the future value is likely to fall within. The Forecast Sheet is available in Excel 2016 and later, including Microsoft 365.

Choosing Between FORECAST.LINEAR and FORECAST.ETS

The right function depends on your data. If your historical data shows a steady upward or downward trend without repeating patterns (like quarterly seasonality), FORECAST.LINEAR is simple and effective. If your data has clear seasonal cycles—for example, retail sales that spike every December—FORECAST.ETS will usually produce more accurate results because it detects and models seasonality.

For FORECAST.ETS, the syntax is:

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

The timeline must be numeric (dates or period numbers) and equally spaced. For instance, with dates in A2:A13 and sales in B2:B13, forecasting for a new date in A14 (say, 1-Jan-2025) would be:

=FORECAST.ETS(A14, B2:B13, A2:A13)

Excel will automatically detect seasonality if you omit the seasonality argument, but you can force it to a specific value (e.g., 12 for monthly data with yearly seasonality) by adding it as the fourth argument.

Common Problems and How to Fix Them

Forecasting in Excel can fail or produce misleading results if your data isn’t suitable. Here are the most common issues:

  • Timeline not equally spaced: FORECAST.ETS requires a consistent step between timeline values. If you have missing dates, Excel may return a #VALUE! error. Use the data_completion argument to let Excel fill gaps, or ensure your timeline is regular.
  • Too few data points: For reliable seasonality detection, you need at least two full cycles of data (e.g., 24 months for yearly seasonality). With fewer points, Excel may use a simple linear trend or return an error.
  • Seasonality detection fails: If you know your data has seasonality but Excel doesn’t detect it, manually set the seasonality argument in FORECAST.ETS or in the Forecast Sheet options.
  • Forecast values look too flat: This often happens when the data has a lot of noise. Try using FORECAST.ETS with a lower confidence interval, or check if you accidentally included a header row in the known_ys range.

Excel vs. Google Sheets for Forecasting

If you’re comparing Excel to Google Sheets, the core functions are similar but not identical. Google Sheets has FORECAST and FORECAST.LINEAR (the latter added in 2022), but it does not have FORECAST.ETS. Instead, Sheets offers FORECAST.ETS? Actually, no—Google Sheets does not have an ETS function; it relies on FORECAST.LINEAR for linear trends and has a separate TREND function. For seasonal data, Sheets users often need to build their own models or use add-ons. Excel’s Forecast Sheet has no direct equivalent in Sheets; you’d need to create a chart and add a trendline manually. So for advanced statistical forecasting, Excel is generally more capable out of the box.

Cost and Alternatives to Excel Forecasting

Excel’s forecasting features are included in all modern versions of Microsoft 365, Excel 2021, and Excel 2016–2019. There’s no extra cost beyond the subscription or one-time purchase. If you don’t have Excel, free alternatives include Google Sheets (with limited forecasting), LibreOffice Calc (which has a FORECAST function but no ETS), and online tools like Zoho Sheet. For serious statistical forecasting, dedicated software like R or Python with libraries like statsmodels offers far more control, but they require programming knowledge. Excel is a good middle ground: accessible to spreadsheet users while offering decent accuracy for business forecasting.

Safety and Accuracy Notes

Forecasts are estimates, not guarantees. Excel’s algorithms assume that historical patterns continue, which may not hold true. Always treat forecasted values as a guide, not a certainty. When using financial forecasts (e.g., sales or budget projections), verify the assumptions with a domain expert. Excel does not provide a built-in way to validate forecast accuracy beyond confidence intervals, so it’s wise to hold out some historical data and compare the forecast to actuals to gauge reliability. Also, remember that the Forecast Sheet and FORECAST.ETS functions use an internal algorithm that can change between Excel versions, so results might vary slightly if you open the file in an older version.

Frequently Asked Questions

What is the difference between FORECAST and FORECAST.LINEAR?
They are essentially the same function. FORECAST is the legacy name from older Excel versions; FORECAST.LINEAR was introduced in Excel 2016 as the modern equivalent. Both use linear regression. Microsoft recommends using FORECAST.LINEAR for new work, but FORECAST still works for compatibility.

Why does my FORECAST.ETS return #VALUE!?
This usually means your timeline is not equally spaced or contains non-numeric values. Check that your timeline column has consistent intervals (e.g., every month) and that there are no blank cells or text. You can also set the data_completion argument to 1 to let Excel fill in missing points.

Can I forecast with non-date data, like product IDs?
No—the timeline must be numeric and equally spaced. Product IDs or text labels won’t work. You need a numeric period column (1, 2, 3…) or a date column. If you only have text categories, you’ll need to convert them to numbers first.

How many data points do I need for a reliable forecast?
For a simple linear trend, at least 3–4 points are technically enough, but the forecast will be highly uncertain. For seasonal forecasting, you need at least two full cycles (e.g., 24 months for yearly seasonality) to let Excel detect the pattern. More data always improves reliability.

Does the Forecast Sheet work in Excel for Mac?
Yes, the Forecast Sheet is available in Excel for Microsoft 365 on Mac, though the menu path is the same (Data > Forecast > Forecast Sheet). The FORECAST.ETS function also works on Mac. However, some older Mac versions (before 2016) don’t have these features.

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.