Share on facebook
Share on twitter
Share on pinterest

Extrapolation is a mathematical method that’s used to predict beyond the distinct range by programming and expanding past known data. So it’s a type of Excel data analysis and visualization. In this tutorial, we’re going to learn how to extrapolate data in Excel.

Extrapolation Formula

To extrapolate data by formula, we need to use two points of the linear chart that we plotted before. 

  • A(a, b)
  • B(c, d)

The linear extrapolation formula is:


You can enter the formula according to two points of your data values and extrapolate the target value.

How to use the Linear Extrapolation formula in Excel?
Picture 1- The linear extrapolation formula in Excel

How to Extrapolate a Graph by Trendline 

Extrapolating a graph by trendline helps you represent visual data trends. Here we’re going to learn, how to add a trendline to our charts:

  1. Select the data range.
  2. Go to the Insert tab from the ribbon.
  3. From the chart section, click on the Line chart (you can pick up the Scatter chart too.)
  4. Click on the Chart Element icon and check the Trendline checkbox.
  5. Double-click on the trend line of the graph to open the Format Trendline pane and apply your custom setting.
Adding a trendline to a chart in Excel.
Picture 2- How to add a trendline to a graph

Extrapolation Data by the Forecast Function

If you need a function to predict your data without creating charts and graphs (Internal Link), use the Excel Forecast function. The Forecast function helps you extrapolate numerical data over a linear trend. Also, you can extrapolate a periodical template or even extrapolate a sheet.

Here we’re going to learn how to use the Forecast.linear and the Forecast.ETS functions and how to extrapolate a sheet.


Extrapolation adjudges that the relationship between known values will also apply for unknown values. This function helps you extrapolate data that contains two sets of numerical values which correspond to each other. 

Below is the Syntax of the Forecast.Linear function:

=FORECAST.LINEAR(x؛ known Ys؛ known Xs)

Assume we have a set of data that shows the number of sales for nine-month. We need to predict sales for the next three months. To use this function, follow these steps:

  1. Select an empty cell.
  2. Enter the =forecast or the =forecast.linear in the Formula Bar.
  3. Click on the x value you want to predict for itself, and enter a semicolon or comma(according to your Excel version.)
  4. Select all known Ys, enter a semicolon, and then select all known Xs.
  5. Press Enter.

How to use the Forecast.linear function in Excel?
Picture 3- The Syntax of the Forecast.Linear function


In some cases, you have a seasonal pattern, and this periodical template needs a particular function to forecast the future. Here we have a sales amount for a year, and we need to predict the first three months of the next year.

The syntax of the Forecast.ETS function is:

=FORECAST.ETS(target_date؛ values؛ timeline؛ [seasonality], [data_complation]; [aggregation])

Target_date: The point you need to forecast.

Values: Here are all known sales amounts.

Timeline: In this case, the number of months.

[seasonality]: The length of the seasonal pattern (optional argument.)

[data_complation]: Although the timeline requires a constant step between data points, FORECAST.ETS supports up to 30% missing data, and will automatically adjust for it (optional argument.)

[aggregation]:  The aggregation parameter is a numeric value indicating which method will be used to aggregate several values with the same timestamp (optional argument.)

Now follow these steps to forecast your target values:

  1. Select an empty cell where you want to represent the result.
  2. Enter the syntax of the function and enter the arguments, as we mentioned.
  3. Press Enter.
How to use the Forecast.ETS function in Excel?
Picture 4- The syntax of the Forecast.ETS function

Extrapolating Sheets

Excel 2016 and later versions provide a tool to forecast the sheet. This tool creates a table according to your data and determines lower and upper confidence bound.

To use the Forecast Sheet, go to the Data tab, from the Forecast group, click on the Forecast Sheet tool to open the Create Forecast Worksheet box. You can pick a line chart or column chart by their icons in the top right corner of the box. 

How to forecast a sheet in Excel?
Picture 5- The Forecast Sheet tool in Excel

If you need to customize the forecast chart, you can edit by clicking on options:

  • Where the Forecast starts or ends
  • Change the confidence interval
  • Add the Forecast statistics
  • Change the Timeline and Values range
  • And aggregate duplicate using

Then press the Create button and see the result.

The result of the Forecast Sheet tool in Excel.
Picture 6- The result of the Forecast Sheet tool

Excel Trend Function

Another function to extrapolate data without plotting graphs is the Trend function in Excel. This statistical function is going to predict future trends according to the known values.

The syntax of the Trend function:

=TREND(known_Ys; [known_Xs]; [new_Xs]; [const])

Known Ys: The Y values we already know.

Known Xs: The X values we already know (optional argument.)

Const: according to Y=mX+b, if const is false b is zero, but if const is true or skipped, b is calculated normally.

How to use the Trend function in Excel?
Picture 7- The Trend function in Excel

You can connect with us, ask our experts if you have any inquiries, and get more support via Excel Support Services.

Also, reduce costs, accelerate tasks, and improve quality with Excel Automation Services.

Subscribe to our Newsletter

Share this post with your friends

Share on facebook
Share on google
Share on twitter
Share on linkedin

Leave a Reply

Your email address will not be published. Required fields are marked *