Locked lesson.
About this lesson
Understand how forecasting works and how to forecast data into the future using Excel functions.
Exercise files
Download this lesson’s related exercise files.
09-01-Create a Linear Forecast-Start.xlsx10.1 KB 09-01-Create a Linear Forecast-Complete.xlsx
21.7 KB 9.01 create-a-linear-forecast-with-forecast-functions - Exercise.docx
43 KB Exercise - Create a Linear Forecast.xlsx
38 KB 9.01 create-a-linear-forecast-with-forecast-functions - Exercise solution.docx
79.3 KB Exercise Solution - Create a Linear Forecast.xlsx
42 KB
Quick reference
Create a Linear Forecast with Forecast Functions
Use Forecast Functions to create a Linear Sales Forecast.
When to use
We create a linear forecast when we have linear data that gradually slopes up or down.
Instructions
Creating a forecast helps us identify trends in data and predict future values. Forecasts work best with time-based data that changes over time.
When thinking about creating a sales forecast, we need to determine if our data is linear or seasonal. Linear data is generally data that smoothly trends up or down.
It is recommended that we create a quick line chart which will help us determine what kind of data we are using and which forecast functions are most suitable.
- Press CTRL+A to select all the data.
- From the Insert tab, in the Charts group, click Line.
In our example, the data shows peaks and troughs, not a smooth upward or downward line. This suggests that this dataset has some kind of seasonality.
In this example, we would create a seasonal forecast, not a linear one. However, we will create one first so we can observe the difference.
Before we begin, we need to extend our dates downward. We are going to be creating a forecast for the next 2 years.
Create a Linear Forecast
- In column D, type the heading 'Linear Forecast'.
- Scroll down to the first date we need to predict.
- Type =FORECAST.LINEAR
This function has three arguments: x, known_ys, and known_xs.
x - this is the first predicted date.
known_ys - these are the known sales values.
known_xs - these are the known dates.
- Copy down and apply number formatting.
- Select all data.
- From the Insert tab, in the Charts group, select the Line Chart.
- Give the chart a title, 'Linear Forecast'.
Note how the predicted values (orange line) slope gently up which is not in keeping with the format of our known data. This is because we have seasonal data, not linear.
Login to downloadLesson notes are only available for subscribers.