How to Project Sales Using the FORECAST Function in Excel

Excel FORECAST function projecting sales past the last actual month with a shaded confidence band.

Key takeaways

  • Excel’s FORECAST function projects a future value from a history of dated values, and the modern versions are FORECAST.LINEAR for a steady trend and FORECAST.ETS for seasonal demand.
  • FORECAST.LINEAR(x, known_y’s, known_x’s) fits a straight trend line to your past sales and reads off the value for a future period.
  • FORECAST.ETS uses exponential smoothing to catch seasonality, so it fits most ecommerce catalogs better than a straight line, but it needs enough history, roughly two full seasonal cycles.
  • The Forecast Sheet (Data, then Forecast Sheet) is the one-click route: it runs FORECAST.ETS, draws a chart, and shows a confidence range without a formula.
  • Read the confidence interval as a planning range, not a single number, so you can plan against the low and high case rather than one point.
  • The FORECAST function extrapolates history and can’t see launches, promotions, stockouts, or demand shifts, so treat its output as a starting point you adjust with judgment.

A good sales projection tells you what to buy and how much cash you’ll need before the season hits. Excel’s FORECAST function turns your sales history into that forward number in one formula.

Here’s how to use FORECAST.LINEAR for a trend and FORECAST.ETS for seasonal demand, when to reach for the Forecast Sheet, how to read the range it gives you, and where the number stops being trustworthy.

What the FORECAST function does

The FORECAST function projects a future value from a series of past values plotted against time. You give it your monthly sales and the period you want, and it estimates the sales for that period.

There’s a family of them rather than one function: the legacy FORECAST, its modern replacement FORECAST.LINEAR for a straight trend, and FORECAST.ETS for seasonal patterns.

FORECAST is being phased out in favor of FORECAST.LINEAR, so reach for the newer name in current Excel; the two return the same linear projection.

The ETS versions do more, adding seasonality and a confidence range, which is what makes them a better fit for the up-and-down demand most brands see across the year.

Table 1. The FORECAST function family.

Function What it does When to use it
FORECAST.LINEAR Fits a straight trend line to past values and reads off a future point Steady demand with no strong season
FORECAST (legacy) The original linear version, kept for older files Use FORECAST.LINEAR instead
FORECAST.ETS Uses exponential smoothing to catch seasonality and trend Seasonal demand, which covers most catalogs
FORECAST.ETS.CONFINT Returns the confidence range around an ETS forecast Planning against a low and a high case
FORECAST.ETS.SEASONALITY Detects the length of the seasonal cycle in your data Checking the season Excel found

Get your sales history ready first

The function is only as good as the series you feed it, so set the input up before you write a formula. Lay out two columns: a timeline of evenly spaced dates in one, and the matching sales in the other, one row per period with the oldest at the top.

This is the same unit-sales history you already keep in your inventory tracker, so you can often point the formula straight at it.

Three habits keep the projection honest. Hold a consistent grain; monthly is the usual choice for a small brand, and don’t mix weekly and monthly rows in the same series.

Forecast in units when the number will drive a reorder, and in revenue when it’s feeding a cash plan, because the two answer different questions.

And clean the history first, so a past stockout that flattened a month or a one-off promo that spiked one doesn’t get read as normal demand.

Which method suits your data, and the other ways to forecast demand beyond this one function, is a larger topic worth its own read.

Project a trend with FORECAST.LINEAR

FORECAST.LINEAR takes three arguments:

FORECAST.LINEAR(x, known_y’s, known_x’s)

Here x is the future period you want, known_y’s is your past sales, and known_x’s is the past timeline. Say column A holds twelve month-end dates and column B the units sold each month, climbing from about 1,000 at the start of the year to 1,300 by the end.

To project the next month, put its date in cell A14 and enter =FORECAST.LINEAR(A14, B2:B13, A2:A13), which returns roughly 1,320 units.

Under the hood, it fits a straight line through your history and reads off the value where the line reaches next month. That makes it a good fit when demand is drifting steadily up or down without a strong seasonal swing.

When the year has clear peaks and troughs, a straight line will miss them, which is the job of the next function.

Project a trendFORECAST.LINEAR(x, known_y’s, known_x’s)Example: =FORECAST.LINEAR(A14, B2:B13, A2:A13)

Handle seasonality with FORECAST.ETS

Most ecommerce demand has a season, and a straight line can’t bend to it, which is where FORECAST.ETS comes in. It uses exponential smoothing, which leans on your more recent periods, and it detects and projects the repeating pattern in your sales. The syntax adds a couple of optional arguments:

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

The first three are the ones that matter: the future date you want, your sales values, and the matching timeline.

Leave seasonality on its automatic setting for most cases and let Excel find the cycle. Point it at the next month with =FORECAST.ETS(A14, B2:B13, A2:A13), and it returns a projection that reflects where you are in the season rather than a flat trend line.

One honest requirement: FORECAST.ETS needs enough history to see a pattern, roughly two full cycles, so about 24 months for an annual season. Give it less, and it can’t detect the season and quietly falls back to something close to a straight trend, which looks like a working forecast but isn’t using seasonality at all.

Use the Forecast Sheet for a one-click projection

If you’d rather not write the formula, Excel does the same work with a chart attached. Select your timeline and values, go to the Data tab, and choose Forecast Sheet.

Set the forecast end date, and Excel runs FORECAST.ETS behind the scenes and returns a projection with a line chart and a shaded confidence band around it.

The dialog has a few options worth knowing. Forecast end sets how far out to project; seasonality can be left on detect automatically or set by hand if you know your cycle; and the confidence interval toggle controls the shaded range.

Excel writes the underlying formulas into a new sheet, so you can open it up and see exactly what it did.

Reach for the Forecast Sheet when you want a fast, visual read, and write the bare formula when you need the number to live inside an existing model.

Read the confidence interval as a range

A single projected number hides how uncertain it is, so plan against the range instead. The Forecast Sheet’s shaded band, or FORECAST.ETS.CONFINT in a formula, gives you a lower and upper bound at a confidence level, 95% by default.

A wider band means noisier history and less certainty about the point in the middle.

The practical read is to buy toward the middle of the range but stress-test against the edges.

Size your safety buffer and the cash you set aside against the high case, so a strong month doesn’t catch you short, and sanity-check the low case so you’re not over-committing on a hopeful number.

The projection also feeds directly into how many weeks of cover you’re carrying, which is where a range beats a single figure.

Where Excel’s forecast falls short

Every version of FORECAST extrapolates your history, which means it’s blind to anything the history doesn’t already contain. A brand-new product or a new sales channel has no past for it to read.

A planned promotion or price change will move demand in a way last year can’t show.

Past stockouts make real demand look lower than it was, so the projection inherits the dip. And a genuine change in the trend can take the smoothing a while to catch up to.

Read that as a workflow rather than a verdict. Start with the FORECAST output as your baseline, then adjust it with what you know about the calendar ahead: the launch you’re planning, the sale you’ve scheduled, the channel you’re adding.

If you want to compare approaches, it’s worth understanding how forecasting really works beyond this one function, and once you’ve been forecasting a while, checking how far off your past forecasts have been tells you how much to trust the next one.

Common mistakes and errors

A handful of errors trip people up with these functions, and most are quick fixes:

  • Mismatched ranges: Known_y’s and known_x’s that are different sizes return #N/A, so keep the two ranges the same length.
  • Non-numeric cells: Blank or text cells in the series throw #VALUE! or skew the result, so clean the range before you forecast.
  • An uneven timeline: Gaps or a mix of weekly and monthly rows break FORECAST.ETS seasonality, so keep the grain even and the dates evenly spaced.
  • Too little history: FORECAST.ETS can’t find a season in under about two cycles and quietly drops to a trend, so give it enough months before you rely on seasonality.
  • Forecasting dollars for a units decision: A price change distorts a revenue-based projection you’ll reorder from, so forecast in units when the number is buying stock.
  • Trusting the point number: Committing the full buy to a single figure ignores the confidence range, so plan against the range instead of the midpoint alone.

Turn the projection into a plan

A forecast earns its keep only when it drives a decision, so close the loop.

The projected sell rate is the input behind the numbers you act on: it feeds the reorder point and safety buffer that decide when you place the next order, it sizes the open-to-buy budget you have to spend this period, and it tells you how much cash the next order will tie up before it sells through.

Run the projection, drop it into those calculations, and the number stops being a chart and starts being a buy.

Refresh it as new months of actuals come in, and adjust for the launches and promotions the history can’t see.

Frequently asked questions

What is the FORECAST function in Excel?

The FORECAST function projects a future value from a history of dated values, so you give it your past sales and a future period and it estimates the sales for that period. The modern versions are FORECAST.LINEAR for a trend and FORECAST.ETS for seasonal data.

What is the difference between FORECAST and FORECAST.LINEAR?

They perform the same linear projection, but FORECAST is the legacy function kept for compatibility, and FORECAST.LINEAR is its modern replacement, so use FORECAST.LINEAR in current versions of Excel.

Should I use FORECAST.LINEAR or FORECAST.ETS?

Use FORECAST.LINEAR when demand moves in a steady trend, and FORECAST.ETS when it has a seasonal pattern, which covers most ecommerce catalogs, as long as you have enough history for it to detect the season.

How do I forecast sales in Excel?

Put your sales history in two columns, a timeline and the matching values, then project a future period with FORECAST.LINEAR for a trend or FORECAST.ETS for seasonality, or use Data then Forecast Sheet for a one-click version with a chart.

What is the Forecast Sheet in Excel?

The Forecast Sheet is a built-in tool on the Data tab that runs FORECAST.ETS on your selected history and returns a projection with a chart and a confidence range, without you writing a formula.

Why is my FORECAST function not working?

The usual causes are known_y’s and known_x’s being different sizes, which returns #N/A, non-numeric cells in the range, or too little or unevenly spaced history for FORECAST.ETS to read a season.

How much sales history do I need to forecast in Excel?

A trend projection works with a handful of periods, but FORECAST.ETS needs roughly two full seasonal cycles, about 24 months for an annual season, to detect and project seasonality reliably.

Share the Post:

FRACTIONAL CFO

Finance, Handled

Forecasting, cash planning and margin analysis.

Fractional CFO Services

Senior finance support for your brand, without a full-time CFO hire.

Forecasting · cash planning · margin analysis · monthly reporting

Table of Contents