Skip to content
Foxcolab

How to Make a Sales Forecast in a Spreadsheet

Forecast next months' sales from your history with a moving average, a growth rate and a linear trend (FORECAST.LINEAR and TREND), check which one has been accurate, and chart it with a trendline in end-to-end encrypted Foxcolab Sheets.

7 min read
On this page14 sections

In short

A sales forecast predicts the next months' sales from past results. With 12 months of history, a 3-month moving average is the simplest, a compound growth rate projects your recent pace, and FORECAST.LINEAR or TREND fits a straight trend line through every month. Compare the methods, track the error each month, and chart actuals with the forecast. Foxcolab Sheets has all these functions and keeps the numbers end-to-end encrypted.

Key takeaways

  • Use monthly net sales before GST, one row per month, and number the months 1, 2, 3 for the trend functions.
  • A 3-month moving average smooths noise but lags behind a rising trend.
  • The compound monthly growth rate is (last ÷ first)^(1 ÷ intervals) − 1, and RRI calculates it in one step.
  • FORECAST.LINEAR and TREND fit a straight line through every month, and RSQ shows how well the line fits.
  • Measure each method's average error on past months and trust the one that has been right before.
  • Once you have two years of data, FORECAST.ETS can pick up seasonal peaks such as festive months.

Last reviewed 3 December 2026 by Foxcolab Team

A sales forecast estimates what you'll sell in the coming months, based on what you've sold before. With a year of monthly sales in a spreadsheet, three methods cover most small businesses: a moving average, a growth rate and a linear trend. This guide works through all three on the same data, shows how to check which one you can trust, and builds the forecast with a chart in Foxcolab Sheets. Your sales figures stay end-to-end encrypted there, so Foxcolab can't read them.

Choose a method that fits your data#

MethodFormulaUse it whenWatch out for
Moving average=AVERAGE of the last 3 monthsSales are fairly flat with noiseIt trails behind any trend
Growth rateLast month × (1 + monthly growth)Growth is steady and compoundingIt only looks at the first and last month
Linear trendFORECAST.LINEAR or TRENDSales rise or fall by a steady amountBends and seasonal spikes
SeasonalFORECAST.ETSYou have two or more years with repeating peaksToo little history gives odd results
PipelineDeal value × chance of winningYou sell big deals to businessesOptimistic win chances

The first four project history forward. The pipeline method builds the forecast from open deals instead, and works alongside them.

Set up your history#

Put one month per row: the month in A, net sales in B and a month number (1, 2, 3 …) in C. Use sales after returns and before GST, so tax you pass on doesn't inflate the trend. Take out one-off events that won't repeat, such as a single bulk order, and note them beside the month.

Here's a year of sales for an online store:

MonthSalesMonthSales
Dec 2025₹4,10,000Jun 2026₹4,95,000
Jan 2026₹3,95,000Jul 2026₹4,70,000
Feb 2026₹4,30,000Aug 2026₹5,20,000
Mar 2026₹4,65,000Sep 2026₹5,35,000
Apr 2026₹4,40,000Oct 2026₹5,10,000
May 2026₹4,80,000Nov 2026₹5,60,000

Method 1: a moving average#

A moving average replaces each value with the mean of the last few, which smooths out the noise. The NIST statistics handbook writes it as the sum of the last N values divided by N. For next month's forecast, average the last three:

3-month moving average·Text
D14  December forecast   =AVERAGE(B11:B13)        returns ₹5,35,000

That's below November's ₹5,60,000. On a rising series, an average of past months always trails, which is the method's main weakness.

Method 2: a growth rate#

The compound monthly growth rate is the steady rate that turns the first month into the last. Twelve months give eleven steps of growth:

Compound monthly growth·Text
H2   Monthly growth      =(B13/B2)^(1/(COUNT(B2:B13)-1))-1      returns 2.87%
     or                  =RRI(11,B2,B13)
F14  December forecast   =$B$13*(1+$H$2)^(C14-$C$13)            fill down to F16

At 2.87% a month, December comes to ₹5,76,099, January ₹5,92,662 and February ₹6,09,700. This method uses only the first and last months, so an unusually low December 2025 or a strong November 2026 would push the whole forecast up.

Method 3: a linear trend#

FORECAST.LINEAR fits a straight line through every month and reads off the line's value for a future month. Microsoft's reference describes it as linear regression and suggests it for predicting future sales. TREND fits the same line and returns several months at once.

Linear trend (month numbers 13 to 15 in C14:C16)·Text
G14  Trend forecast    =FORECAST.LINEAR(C14,$B$2:$B$13,$C$2:$C$13)     fill down to G16
     or, for all three  =TREND($B$2:$B$13,$C$2:$C$13,C14:C16)
H3   Monthly increase   =SLOPE(B2:B13,C2:C13)                           returns ₹13,287
H4   Fit (R²)           =RSQ(B2:B13,C2:C13)                             returns 0.89

The line rises by about ₹13,287 a month and forecasts ₹5,62,197 for December, ₹5,75,484 for January and ₹5,88,770 for February. An R² of 0.89 means the straight line explains most of the month-to-month movement. Use month numbers rather than dates as the x values: months have different lengths, so dates nudge the result, to ₹5,62,303 for December here.

Compare the methods and track the error#

MethodDec 2026Jan 2027Feb 2027
3-month moving average₹5,35,000n/an/a
Compound growth, 2.87% a month₹5,76,099₹5,92,662₹6,09,700
Linear trend, +₹13,287 a month₹5,62,197₹5,75,484₹5,88,770

A useful way to present this is a range: the trend as your base case, the moving average as a cautious case and the growth rate as a hopeful one.

Then measure how each method would have done on months you already know. For the moving average, forecast each month from the three before it and take the absolute error as a share of actual sales:

Backtest the moving average (rows 5 to 13)·Text
D5   Forecast for that month   =AVERAGE(B2:B4)         fill down to D13
E5   Absolute % error          =ABS(B5-D5)/B5          fill down to E13
H1   Average error (MAPE)      =AVERAGE(E5:E13)        returns 5.6%

On this data, the moving average missed by 5.6% a month on average. Keep the same error column running as real months arrive, for whichever method you use. If the error keeps growing, the pattern has changed and the method should too.

Seasonal sales#

If your sales jump every festive season, a straight line will miss it. Once you have at least 24 months, try FORECAST.ETS. It needs a timeline with a constant step, such as month numbers, and finds the seasonal pattern by itself (Microsoft). With month numbers in C2:C25, =FORECAST.ETS(26,B2:B25,C2:C25) forecasts month 26, and =FORECAST.ETS.SEASONALITY(B2:B25,C2:C25) shows the season length it found.

Make a sales forecast in Foxcolab Sheets#

Sales figures, growth rates and pipeline values are some of a business's most sensitive numbers. Foxcolab Sheets encrypts every spreadsheet on your device with its own key, and cells, titles, comments and charts are encrypted before they sync, so Foxcolab can't read them. Sheets comes with every Foxcolab account, the free plan included.

Build the sheet#

  1. Create the spreadsheet

    In your Sheets library, click New, then Blank spreadsheet, and name it Sales forecast.

  2. Enter the history

    Type Month, Sales and Period in A1:C1. Put 2025-12-01 in A2 and =EDATE(A2,1) in A3, filled down to A16. Type the sales in B2:B13 and the numbers 1 to 15 in C2:C16.

  3. Add the forecasts

    Type the formulas above: the moving average in D, the growth forecast in F, the trend in G and the summary figures in H.

  4. Format it

    Select the money cells and choose Format → Number → More currencies → Indian rupee. Format the growth rate and error cells as Percent. For the months, choose Format → Number → Custom number format… and type mmm yyyy.

Chart actuals against the forecast#

  1. Insert the chart

    Put =B13 in G13 so the forecast line starts where the actuals end. Select A1:B16 and choose Insert → Chart. In the Setup tab, change Data range to A1:B16,G1:G16 so the forecast column joins the chart.

  2. Pick a line chart

    Choose Line under Chart type and keep Use first column as labels ticked.

  3. Add a trendline

    In the Customize tab, open Series, pick Sales and set Trendline to Linear. Tick Show the equation and Show R² to see the slope and fit on the chart. Choose Moving average with a Period of 3 to draw the smoothed line instead.

  4. Label it

    Under Titles, set a Chart title such as Sales and 3-month forecast. Download it as PNG or SVG from the bottom of the panel for a slide.

Insert a chart in Sheets covers every chart setting.

Add the pipeline view#

If you sell to businesses, start a second spreadsheet from the Sales pipeline template: click New, then From a template…, choose the Sales category and select Use template. Each deal gets a Stage with a win chance, from Lead at 10% to Negotiation at 75%. The Weighted forecast card adds up each open deal's value times its chance of winning. Compare it with the trend: if the pipeline is well below the trend, there aren't enough deals to hit it.

Share it and keep the record#

Click Share and invite your sales lead as Editor, and finance or investors as Viewer with an Access expires date. Protect the formula columns with Data → Protect sheets and ranges, so a stray edit can't break the forecast. When you agree a forecast, choose File → Version history → Name current version, for example "Q4 forecast agreed", so you can compare it with what happened.

Mistakes that make forecasts wrong#

MistakeWhat happensFix
Sales including GST or returnsThe trend includes money you don't keepUse net sales before GST
One-off orders left inOne spike tilts every methodRemove them from history and note them
Forecasting a year from 12 pointsThe error grows with every month aheadForecast one quarter, then roll it forward
Never checking the errorYou keep trusting a method that stopped workingTrack the absolute % error every month
A straight line through seasonal dataPeaks and troughs are missedUse FORECAST.ETS once you have two years
Adding pipeline and trend togetherDeals are counted twiceUse the pipeline as a check on the trend

Your sales numbers belong to you. Create a free account and build your sales forecast in a spreadsheet Foxcolab can't read, or see plans for your own domain and more storage. Forecasting across regions and sales teams? See Foxcolab for enterprise or talk to sales.

Frequently asked questions

What is the easiest way to forecast sales?

A moving average. Average the last three months and use that as next month's forecast. It takes one formula, =AVERAGE(B11:B13), and works well when sales are fairly flat. When sales are rising, it trails behind, so compare it with a trend forecast.

How do I use FORECAST.LINEAR for a sales forecast?

Number your months 1 to 12 in one column and put sales next to them. For month 13, use =FORECAST.LINEAR(13,B2:B13,C2:C13), where B holds sales and C the month numbers. It fits a straight line through all twelve months and returns the value on that line for month 13. TREND does the same for several months at once.

How do I know which forecasting method is best?

Test each method on months you already know. Forecast each past month from the months before it, take the absolute error as a percentage of actual sales, and average those errors. The method with the lowest average error on your own data is the one to use.

How do I forecast seasonal sales?

With at least two years of monthly data, FORECAST.ETS can find a repeating pattern, such as a festive spike every October, and carry it into the forecast. FORECAST.ETS.SEASONALITY tells you the length of the pattern it found, for example 12 months.

Written by

Foxcolab Team

The Foxcolab team, who build the apps and help people set them up.

More from Foxcolab

Did this guide help you get it done?

One click, no account needed.

Try the tools we write about.

Mail, files, documents, spreadsheets and meetings in one account, with no ads. The free plan is enough to start.

Jump to