This tutorial demonstrates how to perform time series forecasting in Excel using both the built-in Forecast Sheet feature and custom formulas. Excel offers several forecasting methods, and this guide covers two key approaches: exponential smoothing and linear regression.
- Exponential Smoothing
- Using the Forecast Sheet
- Manual Exponential Smoothing Formulas
- Linear Regression Forecasting
- Linear Forecast Formulas
- Creating a Linear Regression Chart
Understanding Excel Forecasting
Forecasting uses historical data to predict future trends. It's valuable for tasks like budgeting, sales projections, and cash flow analysis. Remember, forecasts provide probabilities, not certainties; always review results critically before making decisions. Excel provides tools including built-in functions, features, and charting capabilities.
Exponential Smoothing in Excel
Excel's exponential smoothing utilizes the AAA version (additive error, additive trend, additive seasonality) of the Exponential Triple Smoothing (ETS) algorithm. This method smooths data by identifying seasonal patterns and confidence intervals, making it ideal for non-linear data with recurring patterns (available in Excel 2016, 2019, and Office 365).
Automated Exponential Forecasting with the Forecast Sheet
The Forecast Sheet (introduced in Excel 2016) simplifies time series forecasting. Organize your data correctly, and Excel handles the calculations.
Data Preparation
Prepare two adjacent columns:
- Time Series: Sequentially observed dates or times (hourly, daily, monthly, etc.) at regular intervals. Consistent intervals are crucial. While the tool can handle up to 30% missing data or duplicate dates, summarizing data for accuracy is recommended.
- Data Values: Corresponding numerical values to be predicted.
Example: Forecasting sales based on historical monthly data (Note: Column A uses a custom format showing month and year, but the underlying data is date values, not text).
Creating the Forecast
- Select both data series (selecting one cell often automatically selects the entire series).
- Navigate to the Data tab > Forecast group and click Forecast Sheet.
- In the Create Forecast Worksheet window, choose your chart type (line or column) and specify the forecast end date. Click Create.
Excel generates a new sheet with a table of original and predicted values, along with a chart.
Examine the formulas in the forecast sheet or refer to the section on Exponential Smoothing Formulas for details on the calculations.
Customizing the Forecast
Access forecast options by clicking Options in the Create Forecast Worksheet window:
Adjust settings like:
- Forecast Start: Start date for predictions (consider starting before the last historical point for seasonal data or to compare predictions with known values).
- Confidence Interval: Prediction range (default is 95%).
- Seasonality: Length of seasonal cycles (Excel auto-detects, but manual input is possible).
- Include Forecast Statistics: Displays statistical information (smoothing constants, error metrics).
- Timeline Range & Values Range: Data ranges for time series and values.
- Fill Missing Points Using: Handles missing data points (interpolation or zeros).
- Duplicate Aggregates Using: Handles multiple values with the same timestamp (average, median, etc.).
Manual Exponential Smoothing Formulas
The Forecast Sheet uses the FORECAST.ETS
and FORECAST.ETS.CONFINT
functions.
Forecasted Values (FORECAST.ETS
)
Syntax: FORECAST.ETS(target_date, values, timeline, [seasonality], [data_completion], [aggregation])
Example: =FORECAST.ETS(A31, $B$2:$B$30, $A$2:$A$30, 1, 1)
Confidence Interval (FORECAST.ETS.CONFINT
)
Syntax: FORECAST.ETS.CONFINT(target_date, values, timeline, confidence_level, [seasonality], [data_completion], [aggregation])
Example: =FORECAST.ETS.CONFINT(A31, $B$2:$B$30, $A$2:$A$30, 0.95, 1, 1)
Confidence bounds are calculated by adding and subtracting the confidence interval from the forecast value.
Linear Regression Forecasting
Linear regression is suitable for data lacking seasonality or with insufficient data for detecting it. Excel offers FORECAST
(older versions) and FORECAST.LINEAR
(Excel 2016 and later) functions. Both have identical functionality.
Linear Forecast Formulas
Example (using FORECAST.LINEAR
): =FORECAST.LINEAR(A14, $B$2:$B$13, $A$2:$A$13)
Linear Regression Chart
Create a line chart combining the historical and forecasted data for a visual representation. Remember to copy the last historical data point to maintain a continuous line.
This comprehensive guide empowers you to leverage Excel's forecasting capabilities effectively. For a practical demonstration, download the sample workbook (link provided in original text).
The above is the detailed content of Forecast in Excel: linear and exponential smoothing forecasting models. For more information, please follow other related articles on the PHP Chinese website!

This tutorial explains how to calculate the median of numerical data in Excel using the MEDIAN function. The median, a key measure of central tendency, identifies the middle value in a dataset, offering a more robust representation of central tenden

Master Google Sheets COUNTIF: A Comprehensive Guide This guide explores the versatile COUNTIF function in Google Sheets, demonstrating its applications beyond simple cell counting. We'll cover various scenarios, from exact and partial matches to han

This tutorial provides a comprehensive guide to sharing Excel workbooks, covering various methods, access control, and conflict resolution. Modern Excel versions (2010, 2013, 2016, and later) simplify collaborative editing, eliminating the need to m

This tutorial explores various methods for converting .xls files to .jpg images, encompassing both built-in Windows tools and free online converters. Need to create a presentation, share spreadsheet data securely, or design a document? Converting yo

This tutorial clarifies the function of Excel names and demonstrates how to define names for cells, ranges, constants, or formulas. It also covers editing, filtering, and deleting defined names. Excel names, while incredibly useful, are often overlo

This tutorial clarifies the distinction between standard deviation and standard error of the mean, guiding you on the optimal Excel functions for standard deviation calculations. In descriptive statistics, the mean and standard deviation are intrinsi

This Excel tutorial demonstrates how to calculate square roots and nth roots. Finding the square root is a common mathematical operation, and Excel offers several methods. Methods for Calculating Square Roots in Excel: Using the SQRT Function: The

Unlock the Power of Google Sheets: A Beginner's Guide This tutorial introduces the fundamentals of Google Sheets, a powerful and versatile alternative to MS Excel. Learn how to effortlessly manage spreadsheets, leverage key features, and collaborate


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

Zend Studio 13.0.1
Powerful PHP integrated development environment

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

Dreamweaver CS6
Visual web development tools