Articles

How to forecast in Excel and Google Sheets

Need a forecast by Friday and all you have is a spreadsheet?

Excel and Google Sheets both have forecasting built in, and for a quick first look they do a respectable job. This guide shows the two methods most people use, step by step, and then the places they quietly go wrong, so you know when a spreadsheet forecast is good enough and when it is not.

Step 1: Set up your data the way the functions expect

Put your history in two columns: dates in column A, values in column B, oldest at the top.

  • One row per period, evenly spaced. Monthly data should have one row for every month, dated the same day each month (the 1st is easiest). Excel's seasonal forecast refuses to run if it can't find a steady step between dates.
  • Total first, forecast second. If you have one row per order, add them up by month before you forecast. Forecasting raw transactions gives worse results.
  • No gaps, no duplicates. Fill a missing month with your best estimate, and never list the same month twice.
  • Fix obvious mistakes. A month that is ten times too high or too low will bend every method in this guide. More on that below.

Method 1: A straight line (Excel and Google Sheets)

The simplest forecast draws the best straight line through your history and extends it. Both programs have it.

  • FORECAST.LINEAR (called plain FORECAST in older versions) gives the straight-line forecast for one future date. You give it the date, your past values and your past dates. (Excel help, Sheets help)
  • TREND does the same for a whole block of future dates at once.

GROWTH, in both programs, works the same way if your sales grow by a percentage rather than a fixed amount each month.

For more advanced users, LINEST shows the workings behind the straight line: the slope and starting point, plus statistics such as R² that say how well the line fits. It can also take several columns at once, for example sales against both month number and ad spend, which turns it into a simple multiple regression. (Excel help, Sheets help)

When it is good enough: steady growth or decline with no strong seasons, like a subscription count that grows a little every month.

When it is not: anything with a busy season. A straight line has no idea that December is your best month.

Method 2: A seasonal forecast in Excel (FORECAST.ETS and Forecast Sheet)

Desktop Excel, from Excel 2016 on, has a smarter tool built on exponential smoothing. It learns the level, the trend and a repeating pattern, and gives you a likely range. It is not in Excel for the web, on phones, or in Google Sheets.

The one-click way:

  1. Select your two columns.
  2. On the Data tab, in the Forecast group, click Forecast Sheet.
  3. Choose an end date. Under Options you can set the confidence interval (95% is the default; 80% is often more useful for planning) and the seasonality.
  4. Click Create. Excel adds a new sheet with a table and a chart: the forecast plus an upper and lower bound.

The formula way: FORECAST.ETS gives the seasonal forecast for a future date, FORECAST.ETS.CONFINT gives how far either side the range reaches, and FORECAST.ETS.SEASONALITY tells you what pattern length Excel found (12 means a yearly pattern in monthly data). Microsoft's FORECAST.ETS help page walks through each input.

Things to know:

  • It needs at least two full cycles (two years of monthly data) to find a yearly pattern; with less, it forecasts without one.
  • It fills small gaps for you, as long as fewer than 30% of the points are missing.
  • You can force the pattern. Seasonality is detected automatically; type 12 to insist on a yearly pattern in monthly data, or 0 to switch it off.

In Google Sheets there is no built-in equivalent. A practical workaround: work out each month's typical share of the year (for example, December averaging 1.7 times a normal month), forecast the trend with TREND, then multiply each future month by its share. It is rough, and it has no range, but it beats a straight line for seasonal sales.

Where spreadsheet forecasts go wrong

Here is the made-up shop from our first article, pasted straight into a sheet: a busy December every year, one month typed as 800 instead of 7,950, a one-time promotion in August 2026, and growth that stalled in mid-2025.

A straight line misses the December peak by about 2,150 unitsMonthly sales of a made-up shop, with two forecasts for the next 12 months05,00010,000Jan 2023Jan 2024Jan 2025Jan 2026Jan 2027todayStraight line(FORECAST.LINEAR)Seasonal forecast(Four Cats)December 2026: 7,948 vs 5,793
Sample data from Four Cats: a made-up shop. The straight line is the least-squares fit that FORECAST.LINEAR gives.
  • A straight line ignores the seasons. It forecasts about 5,790 for December 2026, when every past December was the shop's best month. It also forecasts 5,950 for February, the quietest month, so it is too low and too high in the same year.
  • Every built-in method takes your data at its word. None of them knows the 800 was a typo or that August was a one-off promotion. FORECAST.ETS will learn a pattern from them and repeat it.
  • Trends keep going. A trend line, and the trend-times-monthly-share workaround, keep climbing at the old rate. On this shop, whose growth stalled, the workaround forecasts about 6,070 a month against about 5,120 once the stall is accounted for.
  • Nothing tells you how much to trust it in plain words. Forecast Sheet can add accuracy statistics such as MASE and SMAPE, but it won't tell you whether the forecast beats simply repeating last year.

A checklist for a spreadsheet forecast you can trust

  • One row per month, evenly spaced, with the current unfinished month left out
  • Typos fixed and one-off spikes set aside (or noted) before you forecast
  • A seasonal method if your sales have a busy season: Forecast Sheet in Excel, or trend times monthly shares in Google Sheets
  • A range, not just a line, and plans that survive the low end of it
  • A test: forecast last year from the years before it and compare. If "same as last year" would have done better, use that
  • A sanity check on growth: if your sales have flattened, a trend line will keep climbing anyway

About the author

Jake Wheeler has spent his career forecasting demand, from consumer products to global supply chains, and holds a master's degree in logistics from MIT. He is building Four Cats to make sophisticated forecasting simple, for a one-person shop or a whole planning team, without breaking the bank.