ElyxAI

Sales Forecasting in Excel from Your History

Sales RepresentativeSales Forecasting

This sheet forecasts the next periods from the sales history already in the file. Actuals stay in their column. The forecast is a formula beside them, so you can see what was sold and what is projected. With monthly sales in B2:B13 and period numbers in A2:A13, the next period in A14 is FORECAST.LINEAR. A flat recent run rate is AVERAGE of the last months. Neither formula overwrites the history. A pipeline block can sit next to that trend: amount times probability, kept apart from the closed months. The sections below set up the history, the formula, a simple scenario factor in one cell, and a check that the forecast column is not fed back into the next period. Elyx writes the formula next to the actuals. The trial lasts 7 days, with no card.

The Problem

The Sales Forecasting Challenge for Representatives Sales representatives struggle to predict quarterly revenue accurately because their data lives scattered across email threads, CRM notes, and scattered spreadsheets. They lack visibility into pipeline health, which deals are genuinely closing versus which are stuck in limbo. Without reliable forecasts, they face constant pressure from management asking "Will we hit target?" without having concrete answers. The real frustration? Manually consolidating deal stages, probability percentages, and close dates consumes hours each week. They can't quickly identify which accounts need attention or spot trends in their pipeline. When deals slip or close earlier than expected, their forecast becomes instantly obsolete. This creates a vicious cycle: inaccurate forecasts damage credibility with leadership, while the time spent chasing numbers steals from actual selling. They need a dynamic, visual system that automatically tracks their pipeline and updates forecasts in minutes, not days.

Benefits

History stays intact. The forecast is a formula in the next column.

FORECAST.LINEAR uses the periods you already have.

AVERAGE of the last months is the simple case when there is no clear slope.

A scenario factor in one cell multiplies the formula without being typed over the actuals.

Elyx writes the formula next to the actuals and does not replace them.

Step-by-Step Tutorial

1

Create the table structure

Start by setting up your sales forecasting sheet with essential columns. Create headers for Month, Actual Sales, Average Sales (3-month), Sales Trend, and Forecasted Sales. This structure will allow you to track historical data and generate predictions based on patterns.

Use Ctrl+T to convert your data range into a structured table, which makes formulas automatically expand when you add new rows.

2

Enter historical sales data

Input your actual sales figures for the past 12 months in the 'Actual Sales' column. Use realistic data such as: January $45,000, February $52,000, March $48,500, and so on. This historical data serves as the foundation for all your forecasting calculations.

Format the Actual Sales column as currency (Ctrl+Shift+4) for better readability and professional appearance.

3

Calculate the 3-month moving average

The moving average smooths out seasonal fluctuations and reveals the true sales trend. Starting from row 4 (since you need 3 previous months), create a formula that averages the last three months of sales. This helps eliminate outliers and provides a more stable baseline.

=AVERAGE(C2:C4)

For month 4, use =AVERAGE(C2:C4). For month 5, use =AVERAGE(C3:C5). Copy this pattern down to calculate moving averages for all months.

4

Add the TREND formula for linear forecasting

The TREND function calculates the linear regression line through your historical data points. This formula predicts future sales based on the overall direction of your past sales pattern. It's particularly useful for identifying whether your sales are generally increasing or decreasing.

=TREND(C2:C13,ROW(C2:C13),ROW(C14))

Enter this as an array formula using Ctrl+Shift+Enter in Excel 2019 or earlier. In Excel 365, it works as a regular formula. This gives you a mathematically sound forecast based on your sales trajectory.

5

Calculate the sales trend percentage

Determine whether your sales are growing, declining, or stagnating by calculating the month-over-month trend. This percentage helps you understand the velocity of change and communicate growth expectations to management. A positive trend indicates increasing sales momentum.

=(C3-C2)/C2

Format this column as percentage (Ctrl+Shift+5) to make trends immediately visible. For example, 0.15 displays as 15% growth, making it easier to interpret.

6

Create the forecasted sales column using FORECAST function

Use the FORECAST function to predict next month's sales based on the linear relationship between months and historical sales. This function combines the moving average and trend data to produce a single forecast value that accounts for both historical patterns and directional momentum.

=FORECAST(ROW()-ROW($C$2)+1,C$2:C$13,ROW($C$2:$C$13))

Alternatively, use the simpler formula =FORECAST.LINEAR(14,C2:C13,ROW(C2:C13)) in Excel 2016+ to forecast month 14 based on your 12-month history.

7

Build a quarterly forecast summary

Create a separate section that aggregates your monthly forecasts into quarterly predictions. This provides a higher-level view useful for quarterly business reviews and strategic planning. Sum the three monthly forecasts to get each quarter's expected revenue.

=SUM(E2:E4)

Create this summary below your main table with clear labels like 'Q1 Forecast,' 'Q2 Forecast,' etc. This executive summary helps stakeholders quickly grasp expected performance.

8

Add variance analysis between actual and forecasted sales

For historical months, calculate the difference between actual sales and forecasted sales to measure forecast accuracy. This variance reveals whether your forecasting model tends to over-estimate or under-estimate, helping you refine future predictions and build confidence in your forecasts.

=C2-E2

Create a 'Variance %' column using =ABS(C2-E2)/C2 to show percentage difference. Track this metric monthly to improve your forecasting accuracy over time.

9

Create a visual forecast chart

Insert a line chart showing actual sales, moving average, and forecasted sales together. Visual representation makes trends immediately apparent and helps you communicate forecasts to managers and team members. The chart should clearly distinguish between historical data and future predictions.

Use a combination chart with actual sales as columns and forecast as a line. Add a vertical line or color change at the transition point between actual and forecasted data for clarity.

10

Set up dynamic forecasting with scenario analysis

Create input cells for growth rate assumptions and seasonal adjustment factors that allow you to quickly generate best-case, worst-case, and realistic scenarios. This advanced feature lets you explore 'what-if' situations and prepare contingency plans based on different market conditions.

=FORECAST.LINEAR(ROW()-ROW($C$2)+1,C$2:C$13,ROW($C$2:$C$13))*$G$2

Place your adjustment factor in cell G2 (e.g., 1.1 for 10% growth). Change this single cell to instantly see how different growth assumptions affect your entire forecast, perfect for presenting multiple scenarios to leadership.

Template Features

Monthly Revenue Projection

Automatically calculates expected revenue based on deal size, close probability, and expected close date. Solves the problem of manually estimating monthly targets.

=SUM(Deal_Amount * Close_Probability) for each month

Pipeline Stage Tracking

Tracks deals across sales stages (Prospect, Qualification, Proposal, Negotiation, Closed) with automatic value distribution. Helps identify bottlenecks and forecast accuracy.

=SUMIF(Stage_Column, "Proposal", Amount_Column)

Weighted Forecast by Confidence Level

Applies different probability weights to forecasts based on deal maturity and sales rep confidence. Prevents overestimating pipeline value.

=Deal_Amount * IF(Confidence="High", 0.8, IF(Confidence="Medium", 0.5, 0.2))

Variance Analysis (Actual vs. Forecast)

Compares forecasted revenue against actual closed deals to measure forecast accuracy and improve future predictions.

=Actual_Revenue - Forecasted_Revenue

Automated Performance Dashboard

Visual summary showing win rate, average deal size, sales cycle length, and forecast vs. quota achievement with color-coded alerts.

=COUNTIF(Status, "Closed-Won") / COUNTA(All_Deals)

Rolling 12-Month Forecast

Dynamically updates forecast for the next 12 months using historical conversion rates and seasonal patterns. Eliminates manual recalculation.

=AVERAGE(Historical_Monthly_Revenue) * Seasonal_Index

Concrete Examples

Quarterly Pipeline Forecast for Commission Planning

Thomas, a B2B sales representative at an industrial equipment company, needs to forecast Q2 revenue to estimate his commission earnings and plan his budget accordingly.

Current pipeline: 12 deals in negotiation ($180K, $95K, $65K, $45K, $38K, $28K, $22K, $18K, $15K, $12K, $8K, $5K). Historical close rate: 35%. Average sales cycle: 6 weeks.

Result: Forecast showing: (1) Weighted pipeline value ($280K × 35% = $98K expected revenue), (2) Deal progression timeline with probability adjustments, (3) Commission projection ($98K × 8% = $7,840), (4) Best case/worst case scenarios with confidence intervals

Annual Territory Performance vs. Quota Tracking

Jessica manages a regional territory with a $1.2M annual quota. She uses the forecasting sheet to track progress monthly and identify whether she'll meet her targets.

Monthly quota: $100K. Jan: $98K, Feb: $105K, Mar: $92K, Apr: $110K, May: $108K (5 months completed). Remaining quota: $687K for 7 months.

Result: Dashboard showing: (1) Year-to-date actual ($513K) vs. quota ($500K) with variance analysis, (2) Trend line indicating 110% annual attainment if current pace continues, (3) Monthly shortfall/surplus visualization, (4) Required monthly average for remaining period ($98.1K)

New Product Launch Sales Projection

Ahmed, a sales rep introducing a new SaaS solution, needs to forecast adoption rates and revenue impact for his customer base over the next 12 months.

Total addressable customers: 250. Month 1 adoption: 8 customers ($2,400 MRR). Expected monthly growth rate: 15%. Average contract value: $300/month.

Result: Forecast showing: (1) Month-by-month customer acquisition curve (Month 1: 8 customers → Month 12: 89 customers), (2) Cumulative MRR projection ($2.4K → $26.7K), (3) Revenue ramp visualization, (4) Breakeven analysis and ROI timeline for launch investment

Pro Tips

Elyx prompt

Using the monthly actuals in A2:B13, add a forecast for the next 3 months with FORECAST.LINEAR. Keep actuals and forecast in separate columns. Do not overwrite the history.

=FORECAST.LINEAR(A14,B2:B13,A2:A13)

Build a Rolling 12-Month Forecast with Dynamic References

Create a forecast that automatically updates each month without manual restructuring. Use OFFSET and TODAY() functions to always show the current month plus 11 months ahead. This saves hours of reorganization work and reduces forecast errors from outdated data.

=OFFSET($A$1,MONTH(TODAY())-1,0,12,1) or use INDIRECT with dynamic date ranges for cleaner updates

Implement Scenario Analysis with Data Tables

Use Excel's Data Table feature (Data > What-If Analysis > Data Table) to instantly model multiple sales scenarios (pessimistic, realistic, optimistic) without creating separate worksheets. This lets you present confidence intervals to management and adjust strategies in real-time during meetings.

Create a Pipeline Velocity Dashboard with SUMIFS and Conditional Formatting

Track deal stage progression using SUMIFS to automatically sum revenue by stage (Prospect, Qualified, Proposal, Closing). Add conditional formatting with color scales to instantly identify bottlenecks. Update your forecast based on conversion rates rather than guesses, this uses the stage totals you already have.

=SUMIFS($Revenue$2:$Revenue$100,$Stage$2:$Stage$100,"Closing") for each stage

Use Named Ranges + Sensitivity Analysis for Quick What-If Scenarios

Define Named Ranges for key variables (avg_deal_size, close_rate, pipeline_value). Build a simple sensitivity table showing how revenue changes with ±10-20% variations. This eliminates manual recalculation and lets you quickly explain forecast variations to leadership.

Create Named Range: Formulas > Define Name, then reference in formulas like =pipeline_value*close_rate

Formulas Used

Don’t want to do it by hand? Ask Elyx

Example request

“Build this in my workbook: Forecast sales from historical data, with the formulas, totals and formatting”

Elyx does it directly in your Excel file.

7 days free · No credit card required

Related guides

Frequently Asked Questions

See also