How to Use Forecast Function in Excel

In this Excel tutorial, you will learn how to use the forecast function and how to… predict the future. The Forecast function can either calculate or predict the future value with the help of the current value. A predicted value is the y-value that comes from a given x value.

The popular values are both the x- and y-values, and the new value will be predicted with the help of linear regression.

This function is useful for predicting future sales, along with requirements for inventory, or even customer trends.

Thanks to the forecast function, Excel can read the future. It is not a joke! Excel can predict some values if you give it past data.

Excel forecast function description

You can use the Forecast function to predict simple data and also conduct advanced analysis for your company. Let’s see how the forecast function works and how to use it.

Definition of FORECAST function

The forecast function has different arguments that are all required.

X: This is essential. It is a data point, for which the user wants to predict the value.

Known_y’s: This is also essential for the function. It is either a dependency array or data’s range.

Known_x’s: This is essential. An independent array that can also be a data range.

Excel forecast function

While the FORECAST function may initially appear complex, its application is straightforward once you understand the inputs it requires. Below, we show examples to demonstrate its practical use and further clarify how it works.

See also  Vlookup across multiple files

Forecast function examples

How long do students study for the test?

You have some historical data about test equals. You also know, how long students have studied for the test.

Excel forecast function table with data test points

You want to calculate how many points the student will get who has been studying for 8 hours. You can use the forecast function to calculate that.

x equals 8, because you are looking for a value for an 8-hour argument.

known y’s are test points, which you already know.

known x’s are hours of study, which you also know.

The formula in this situation is =FORECAST(B11,C3:C10,B3:B10) as shown in the picture below:

Excel forecast function example

The forecasted value is 77.

Excel value forecast

Value 77 means that, based on historical values, the student will get 77 points. I hope the forecast function is easy and clear. Let’s look at one more example.

Forecasting net income

You have sales and net income for some companies.

Excel forecast function table sales net income

You want to calculate the net income for a $500,000 sale.

x is $500,000

known y’s is historical net income.

known x’s are historical sales.

Formula here is =FORECAST(B11,C3:C10,B3:B10)

Excel example of forecast function

Net income equals $11,921.

Excel forecast value

Date forecasting

You can also forecast dates. Here’s an example.

In this table, you have data on sales at the end of each month. You want to know where you will have a million dollars in sales.

Forecast Date

x is $1,000,000

known y’s are historical dates.

known x’s are historical sales.

Formula is: =FORECAST(B10;C3:C9;B3:B9)

Forecast Date Formula

The formatting of cells is General by default, so your result is not a date.

Forecast Date Change Formatting

Change the formatting of the cell. Click right and next Format Cells… and change formatting to Date.

See also  How to Use Vlookup with a Drop Down List

Forecast Date result

The result is 2011-11-03. Excel predicts that your company will have 1 million USD in sales on that day.

There are some basic examples. Of course, there are also many ways to use the forecast function for business. The forecast function is easy to use and really powerful.