How to Create a Forecast in Excel: Step-by-Step
In this article
To create a forecast in Excel, put your historical data in two columns (dates and values), select the range, then go to the Data tab and click Forecast Sheet (or use the FORECAST.ETS function). Excel builds a new sheet with a chart, a table of predicted values, and confidence intervals. The steps below cover both the one-click Forecast Sheet and the formula approach, plus how to fix the usual errors.
What You'll Need
- Excel for Microsoft 365, Excel 2019 or later (Forecast Sheet is not in Excel 2016 or earlier; the FORECAST.ETS functions are also unavailable there).
- At least two periods of historical data with a consistent interval (daily, weekly, monthly, yearly). More data gives a better result; 12–24 months is a good starting point for monthly forecasts.
- Dates in a real date format (not text) and values as numbers.
- Data sorted oldest to newest, with no blank rows inside the range.
Step-by-Step
- Lay out your data. In two adjacent columns, put dates in the left column and values in the right. For example, A2:A25 holds the first day of each month and B2:B25 holds sales. Add headers in row 1 (for example, Date and Sales).
- Clean the range. Remove blank rows, subtotal rows, and text like "N/A" from the values. If a date is stored as text (it sits on the left side of the cell instead of the right), convert it: select the column, then use Data > Text to Columns and click Finish, or enter a date in a neighbouring cell and use a formula to rebuild it.
- Select the data range including the headers, for example A1:B25.
- Open Forecast Sheet. Go to the Data tab and click Forecast Sheet in the Forecast group. (Menu labels can differ slightly by Excel version and region; on Mac Excel the command is also on the Data tab.)
- Choose the chart type. In the Create Forecast Worksheet dialog, pick a line chart or a column chart. The preview updates as you change settings.
- Set the forecast end. Under Forecast End, enter the date you want predictions to stop, or use the slider. For monthly data, one year ahead is a common choice.
- Adjust options if needed. Expand Options and check the seasonality setting. Automatic usually works; if you know the cycle length (for example 12 for monthly data with a yearly pattern), set it manually. You can also choose to include confidence intervals (default 95%) and to fill missing points.
- Click Create. Excel adds a new sheet with a table of forecast values and a chart. The table includes the forecast, a lower confidence bound, and an upper confidence bound for each future period.
- Review the output. The chart shows history as a solid line and the forecast as a dashed line with a shaded confidence band. If the band is very wide, your history is noisy or too short for a reliable forecast.
- Use a formula instead (optional). If you want the forecast inside your existing sheet, type
=FORECAST.ETS(target_date, values, timeline)in a cell. For example,=FORECAST.ETS(D26, B2:B25, A2:A25)predicts the value for the date in D26. The timeline and values ranges must be the same size and in the same order. - Refresh when data changes. A Forecast Sheet is a static snapshot. When you add new actuals, re-run Forecast Sheet or update the formula ranges; it does not refresh automatically.
Common Mistakes
- Uneven date intervals. Mixing weekly and monthly rows, or skipping months, breaks the timeline. Keep one consistent interval.
- Dates stored as text. If Excel does not recognise the dates, Forecast Sheet may be greyed out or produce nonsense. Check that dates right-align in the cell.
- Too little history. Two or three points cannot reveal a seasonal pattern. Aim for at least two full cycles of whatever seasonality you expect.
- Forecasting through a structural change. A price change, new competitor or one-off event can make past patterns misleading. Exclude known anomalies or model them separately.
- Treating the forecast as certainty. The confidence interval is part of the answer. A forecast of 1,000 with a range of 600–1,400 is very different from 950–1,050.
- Leaving blanks in the value column. Gaps can distort the model. Fill them with a reasonable estimate or remove those rows.
Tips
- Keep raw data on one sheet and forecasts on another so the source stays clean.
- Use a line chart for trends over time and a column chart when you want to compare individual periods.
- Name your ranges (Formulas > Define Name) so formulas like
=FORECAST.ETS(D26, Sales, Dates)are easier to read. - Compare the forecast against actuals as they arrive; this tells you whether the model is still useful.
- For simple straight-line trends,
=FORECAST.LINEARis easier to explain, but it ignores seasonality. - Document the settings you used (seasonality, confidence level, end date) next to the forecast so others can reproduce it.
Troubleshooting
- Forecast Sheet is greyed out. Usually the selected range is not a clean two-column table, dates are text, or the interval is inconsistent. Select only the date and value columns with headers and try again.
- #VALUE! error in FORECAST.ETS. The timeline and values ranges differ in size, or a date is text. Make both ranges the same length and convert text dates.
- #NUM! error. The timeline has duplicate or missing periods, or there is not enough data for the chosen seasonality. Remove duplicates and supply more history, or set seasonality to Automatic.
- The forecast looks flat or wildly wrong. Check for outliers and blank cells, and confirm the data is sorted oldest to newest. Try changing seasonality manually.
- Chart shows history but no forecast line. The forecast end date may be earlier than the last historical date, or the forecast table was deleted. Re-run Forecast Sheet.
- If that did not work, rebuild the data as a proper Excel Table (select the range, then Insert > Table), confirm the date column is formatted as Date, and try Forecast Sheet again.
Frequently Asked Questions
Can I forecast in Excel 2016?
Forecast Sheet and the FORECAST.ETS functions are not available in Excel 2016 or earlier. You can still use the older FORECAST or TREND functions for a simple linear projection, but they do not handle seasonality.
Does Forecast Sheet update automatically when I add new data?
No. It creates a static table and chart on a new sheet. Re-run Forecast Sheet or extend your formulas after adding actuals.
What confidence interval should I use?
95% is the default and a reasonable starting point. A lower percentage gives a narrower band; a higher percentage gives a wider, more cautious range.
Can I forecast more than one series at once?
Forecast Sheet works with one value column at a time. For multiple series, run it separately for each, or build formulas per series.
Why is my forecast line dashed and shaded?
The dashed line marks predicted values and the shaded area is the confidence interval. Both are normal parts of the Forecast Sheet chart.
Can I use weekly or daily data?
Yes, as long as the interval is consistent. Daily data needs enough points to detect weekly patterns; weekly data needs enough weeks to detect yearly ones.