Table of Contents
Creating a forecast in Google Sheets is a simple process that can help users predict future trends and make informed decisions. To create a forecast, users can first enter their data into a spreadsheet, ensuring that it is organized in columns and rows. Then, they can select the cells with the data they want to analyze and click on the “Explore” button located in the bottom right corner of the screen. This will open a sidebar with various tools, including the “Forecast” option. By selecting this option, users can generate a forecast based on their data, which can be customized by adjusting the time period and confidence interval. The forecast will then be displayed on the spreadsheet, allowing users to easily visualize and analyze the predicted trends. Additionally, users can update the forecast at any time by simply clicking the “Update” button. This feature in Google Sheets makes it easy for users to create accurate and customizable forecasts for their data analysis needs.
Create a Forecast in Google Sheets (With Example)
You can use the FORECAST function in Google Sheets to calculate the expected value of some future observation using historical data.
This function uses the following methods:
Method 1: Forecast One Future Value
=FORECAST(A17,B2:B16,A2:A16)
This particular formula forecasts the y-value that corresponds to the x-value in cell A17 using the range B2:B16 as the past y-values and the range A2:A16 as the past x-values.
Method 2: Forecast Multiple Future Values
=ArrayFormula(FORECAST(A17:A19,B2:B16,A2:A16))
This particular formula forecasts the y-values that corresponds to the x-values in the range A17:A19 using the range B2:B16 as the past y-values and the range A2:A16 as the past x-values.
The following examples show how to use each method in practice.
Example 1: Forecast One Future Value
The following screenshot shows how to use the FORECAST function to forecast the sales value for 4/1/2021 using A2:A16 as the historical months and B2:B16 as the historical sales values:

The FORECAST function predicts that there will be 156.955 total sales on 4/1/2021.
Example 2: Forecast Multiple Future Values
The following screenshot shows how to use the FORECAST function to forecast the sales values for 4/1/2021 through 6/1/2021 using A2:A16 as the historical months and B2:B16 as the historical sales values:

We can see that the FORECAST function produces a forecasted number of sales for each of the three months that we specified.
Click on the last three bars in the chart to change each of their fill colors to red to indicate that they represent predicted values:

The x-axis shows the date and the y-axis shows the sales for each date.
Note 1: Under the hood, the FORECAST function simply uses simple linear regression to find the line that best fits the dataset and then uses the fitted regression model to predict future values.
Note 2: You can find the complete documentation for the FORECAST function in Google Sheets .
Additional Resources
The following tutorials explain how to perform other common tasks in Google Sheets:
Cite this article
stats writer (2024). How do I create a forecast in Google Sheets?. PSYCHOLOGICAL SCALES. Retrieved from https://scales.arabpsychology.com/stats/how-do-i-create-a-forecast-in-google-sheets/
stats writer. "How do I create a forecast in Google Sheets?." PSYCHOLOGICAL SCALES, 30 Jun. 2024, https://scales.arabpsychology.com/stats/how-do-i-create-a-forecast-in-google-sheets/.
stats writer. "How do I create a forecast in Google Sheets?." PSYCHOLOGICAL SCALES, 2024. https://scales.arabpsychology.com/stats/how-do-i-create-a-forecast-in-google-sheets/.
stats writer (2024) 'How do I create a forecast in Google Sheets?', PSYCHOLOGICAL SCALES. Available at: https://scales.arabpsychology.com/stats/how-do-i-create-a-forecast-in-google-sheets/.
[1] stats writer, "How do I create a forecast in Google Sheets?," PSYCHOLOGICAL SCALES, vol. X, no. Y, ص Z-Z, June, 2024.
stats writer. How do I create a forecast in Google Sheets?. PSYCHOLOGICAL SCALES. 2024;vol(issue):pages.
