To project a future value from a trend — next month’s sales, the temperature at an unmeasured point — FORECAST fits a straight line through your data and reads off the prediction.
newX.
The example
Sales by month (1–4). Forecast month 5.
| A | B | |
|---|---|---|
| 1 | Month | Sales |
| 2 | 1 | $120 |
| 3 | 2 | $150 |
| 4 | 3 | $190 |
| 5 | 4 | $210 |
| 6 | Forecast mo 5: | $246 |
The formula
Predicted sales for month 5:
How it works
FORECAST is linear regression in one function:
- It fits the best straight line (least-squares) through the known X/Y pairs — the same line a scatter-chart trendline draws.
- It then returns the Y value on that line at your new X (
5) — the projection. - The data climbs ~$30/month, so month 5 lands around
$246. - For several future points at once,
TRENDspills predictions for a whole range of new Xs.
Forecasts assume the trend holds. FORECAST extends a straight line — great for steady trends, misleading for seasonal or curved data. For seasonality, use FORECAST.ETS (Excel 2016+) or a proper model.
Try it: interactive demo
Pick a future month; see the trend-line forecast.
Variations
Forecast several points (TREND)
Spill predictions for a range of new Xs:
Modern name
FORECAST.LINEAR is the current alias:
Seasonal forecast
For data with seasonality (Excel 2016+):
Pitfalls & errors
Argument order: newX, known_Ys, known_Xs. It’s easy to swap the Y and X ranges — the Y (what you predict) comes before the X.
Straight line only. FORECAST can’t see curves or seasonality. Plot the data first; if it’s not roughly linear, the forecast will mislead.
Extrapolation risk. Predicting far beyond your data is shaky — the trend may not continue.
Practice workbook
Frequently asked questions
How do I forecast a value in Excel?
How do I forecast several future points at once?
What if my data is seasonal?
Stop fighting formulas. Learn them in a day.
This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.
See the Formulas & Functions Class