Using Excel Trendlines and Forecasting for Sales Planning

Excel trendlines turn guesswork into a plan for sales, budgets, and forecasts. It takes the guesswork out of “where are we headed” and turns it into a visible, mathematically supported answer.

In this article, I will walk you through how trendlines work in Excel, how to add them to charts, how to forecast future values, and — most importantly — how to interpret them without being misled. Because a trendline will always draw a line. Whether that line makes sense is your job to check.

Excel Trendlines and Forecasting

What Is a Trendline?

An Excel trendline is a line drawn through your data points that shows the general direction of the data. Excel calculates the line using a statistical method called regression, which finds the line that best fits your data.

Trendlines are usually added to charts, not tables. To use them, you first need a chart — usually a line chart or a scatter (XY) chart. A line chart is fine for time series data (sales by month). A scatter chart is better when both axes are numeric, like price vs units sold.

Once the chart is there, right-click any data point, choose “Add Trendline”, and pick the type.

Types of Trendlines

Excel trendlines come in six types:

  1. Linear: A straight line. Best for steady, constant growth or decline.
  2. Exponential: Curves upward faster over time. Good for growth that accelerates.
  3. Logarithmic: Curves upward quickly then flattens. Good for early growth that slows down.
  4. Polynomial: Can curve up and down. Good for data that rises, falls, and rises again. Use with caution — high-degree polynomials overfit.
  5. Power: A smooth curve. Good for certain scientific and business cases.
  6. Moving Average: Smooths out noise by averaging recent points. Not a forecasting tool, but useful for spotting underlying direction.

For most business sales data, linear, exponential, or a simple moving average will do the job. Polynomial looks fancy but is easy to misuse.

How to Add a Trendline Step by Step

Step 1: Build your chart. Select your data (for example, Month in column A, Sales in column B) and insert a line chart. Make sure the months are in order.

Step 2: Right-click any data point on the chart and choose Add Trendline.

Step 3: In the Format Trendline panel, choose a type — start with Linear.

Step 4: Check “Display Equation on chart” and “Display R-squared value on chart”. These are important for interpretation.

Step 5: Optionally, scroll down to “Forecast” and enter a number of periods forward (for example, 6 for six months ahead).

Step 6: Close the panel. You now have a trendline, an equation, and a forecast overlay on your chart.

Reading the Trendline Equation

The equation looks like this:

y = 450x + 25000

Where y is the predicted value (sales) and x is the period number (month 1, 2, 3…). If January is month 1 and the equation gives y for x = 13, that is the prediction for the 13th period — i.e., next January.

You can use the equation in a cell to calculate the forecast directly:

=450*13 + 25000

That gives 30,850. This number becomes the forecasted sales for that period.

The problem is that the equation numbers are fixed. If the data changes, the equation does not update automatically in a cell formula. That is why the Forecast option in the chart is usually easier — the Excel trendline extends visually and updates when the source data changes.

Reading R-Squared

R-squared (R²) is a number between 0 and 1 that tells you how well the Excel trendline fits the data. A value of 1 means the line perfectly fits every point.

A value of 0 means the trendline explains none of the variation.

As a general rule:

  • 0.9 or higher: excellent fit. Trendline is reliable.
  • 0.7 to 0.9: good fit. Trendline is useful.
  • 0.5 to 0.7: moderate fit. Use with caution.
  • Below 0.5: weak fit. The trendline may be misleading.

But here is the catch. R-squared can be high even when the forecast is wrong. If you have only three or four data points, R-squared can be 0.99 and the forecast still useless.

The chart does not know your business. A statistical fit is not the same as a logical forecast.

Common mistakes with R-squared:

  1. Chasing a high R-squared with complex trendlines. A polynomial with degree 6 might fit every point perfectly, but the forecast will be nonsense.
  2. Ignoring low R-squared because the chart looks fine. If R² is 0.3, the trendline is basically an average, not a trend.
  3. Using R² to compare trends on different datasets. R² only compares fit on the same data.

Forecasting Sales with a Trendline

The most common use of Excel trendlines is forecasting the next few months. Here is how to do it properly:

Step 1: Prepare clean monthly data. Use at least 12 points, ideally 24 or more. Fewer than 12 points makes the trend unreliable.

Step 2: Create a line chart.

Step 3: Add a Linear trendline (or Exponential if growth is accelerating).

Step 4: Forecast forward 3 to 6 months. Do not go too far — forecasting 3 months is more reliable than 18.

Step 5: Look at the forecast line. Does it make business sense? If sales have been 100k, 110k, 120k, and the forecast says 400k in six months, something is off.

Step 6: Cross-check with a known business factor — seasonality, market conditions, promotions. The trendline is a starting point, not an answer.

Handling Seasonality

Excel trendlines do not handle seasonality well. If your sales spike in December and drop in January, a linear trendline will smooth that away and predict a flat line. This is often wrong for retail, travel, or any seasonal industry.

For seasonal data, trendlines are still useful — but with adjustments. One approach is to calculate the trendline on 12-month rolling averages, then reapply the seasonal pattern.

Another is to use Excel’s FORECAST.ETS function, which handles seasonality automatically.

FORECAST.ETS works like this:

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

Target_date is the date you want to forecast. Values is the sales column. Timeline is the dates. Excel does the rest — including seasonal detection.

This is the modern way to forecast seasonal data, and it beats visual trendlines for accuracy.

When Trendlines Are Not the Right Tool

Excel trendlines work well when:

  • Data is roughly linear or simple exponential
  • No extreme outliers
  • Enough data points (12+)
  • Business conditions are stable

Trendlines work poorly when:

  • Data has strong seasonality (use FORECAST.ETS)
  • There are major outliers (clear them first)
  • Business model changed mid-period (past data no longer predicts the future)
  • Data has structural breaks, like a merger or product launch

In those cases, a trendline might still draw a line, but the line will be useless for planning. This is the most important point in this article.

Excel will always give you a trendline. Whether you should trust it is a separate question.

Practical Example: 24-Month Sales Forecast

Suppose you have 24 months of sales data. Sales have grown steadily from 100k to 200k. You want a forecast for the next 6 months.

Chart the data as a line chart. Add a Linear trendline. R-squared comes out to 0.94 — good fit. The equation is y = 4200x + 95000.

The forecast extends six months, giving predicted values of about 200k to 230k.

Check with business context. Is 230k reasonable? Given growth of roughly 4-5% per month in the recent period, yes.

Use the forecast as a planning figure, then adjust for known factors — new hires, a price increase, or a planned campaign.

If you had used a polynomial trendline with degree 4, R-squared might have hit 0.98, but the forecast could have swung wildly up or down.

The simpler line was more reliable because it reflected the actual underlying pattern: steady growth.

Your Turn to Try

Make a 12-month sales table and forecast the next quarter yourself. In A1 type Month and in B1 type Sales.

Fill A2:A13 with Jan to Dec and B2:B13 with these numbers: 42000, 45000, 47000, 44000, 52000, 55000, 58000, 56000, 61000, 64000, 67000, 72000.

Select the data, insert a line chart, then right-click the line and choose Add Trendline. Pick Linear, tick Display Equation and Display R-squared, and read the R-squared value on the chart.

If it is above 0.7, the straight-line fit is reasonable for a short forecast.

Now extend the trendline forward by 3 periods in the same dialog box and read the forecast values off the chart for the next three months.

Then test a second method: in a blank cell enter =FORECAST.ETS with the next month’s date, the sales range, and the month range, and compare it with the trendline forecast.

If the two disagree by more than 10 percent, look at the data again. Check whether a festival month or a one-off bulk order is pulling the line up, and consider whether a moving average trendline fits the pattern better.

Write down both forecasts and which one you trust more, and why.

Frequently Asked Questions

Can I add a trendline to a bar chart?

Yes, but line and scatter charts are better suited to trendlines. Bar charts are for comparison, not trends.

What is a good R-squared value?

For business data, 0.7 or higher is usually acceptable. 0.9 or higher is excellent.

Below 0.5 is weak and should not be used for forecasting without strong business justification.

Why does the trendline not match my data exactly?

Because it is a line of best fit, not a line through every point. It represents the general direction, not every value.

What is the difference between a trendline and a forecast?

A trendline is the line drawn through historical data. A forecast is the extension of that line into the future.

In Excel’s chart settings, “Forecast” extends the trendline forward.

Can I use trendlines for non-numeric data?

No. Trendlines need numeric data on the y-axis and, ideally, numeric values on the x-axis.

Text categories like “Jan, Feb, Mar” can be used on a line chart, but scatter charts need real numbers.

Related guide: How to Build a Dashboard in Excel Without Any Add-ins

Related guide: How to Use Excel’s What-If Analysis Tools to Plan Better

Final Thoughts

Excel trendlines are a useful starting point, not a final answer. They show direction quickly, give you a rough forecast, and help you see whether your numbers are trending in a straight line, curving upward, or flattening out.

Used carefully, they save you hours of manual analysis. Used carelessly, they can give you false confidence.

The best forecasts come from combining a trendline with business knowledge, common sense, and a check for seasonality. That combination is what real planning looks like.

Leave a Comment