Skip to main content

Excel FORECAST.ETS.SEASONALITY function

The FORECAST.ETS.SEASONALITY function returns the length of a seasonal pattern based on existing values and a timeline.

Note: This FORECAST.ETS function is only available in Excel 2016 and later versions, and not available in Excel for the Web, iOS, or Android.

Syntax

FORECAST.ETS.SEASONALITY(values, timeline, [data_completion], [aggregation])

Arguments

  • Values (required): The existing or historical known values for which you want to predict the next point (y values);
  • Timeline (required): A range of date/time or numeric values corresponding to the “Values” (x values);
  • Data_completion (optional): A numeric value specifies how to handle the missing points in the timeline. It can be:
0: Missing points will be treated as zeros;
1 or omitted: Missing points will be calculated as the average of the neighboring points.
  • Aggregation (optional): A numeric value specifies which function will be used to aggregate several values with the same time stamp. The values and the corresponding functions are listed below.
 Numeric value  Function
 1 or omitted  AVERAGE
 2  COUNT
 3  COUNTA
 4  MAX
 5  MEDIAN
 6  MIN
 7  SUM

Remarks

1. If no repetitive seasonal pattern is detected, it will return zero;
2. The seasonal pattern returned by the FORECAST.ETS.SEASONALITY function is the same as that is calculated automatically by the FORECAST.ETS function (the argument “seasonality” is defined as 1);
3. The #N/A error occurs if “values” and “timeline” arrays are not the same size;
4. The #NUM! error occurs when any of the following conditions is met:
-- All “timeline” values are the same;
-- A constant step cannot be identified in the provided timeline;
-- “data_completion” is any number other than 0 or 1;
-- “aggregation” is out of the valid range (1-7).
5. The #VALUE! error occurs when [data_completion] or [aggregation] is nonnumeric.

Return value

It returns a positive integer.

Example

As shown in the table below, you have applied the FORECAST.ETS function (the formula is displayed below) to forecast the sales for January to July 2022 based on the monthly sales for 2021.

=FORECAST.ETS(B18,$C$6:$C$17,$B$6:$B$17,1,1,1)

In the formula, the argument “seasonality” is specified as 1, which tells Excel to automatically detect the seasonality and define a proper length of the seasonal pattern. To know the length of this seasonal pattern automatically specified by Excel, you can do as follows to get it done.

1. Select a cell (E6 in this case), copy or enter the formula below and press the Enter key to get the result.

=FORECAST.ETS.SEASONALITY(C6:C24,B6:B24,1,1)

Related Functions

Excel FORECAST function
The FORECAST function predicts a future value based on existing values by using the linear regression.

Excel FORECAST.ETS function
The FORECAST.ETS function uses the Exponential Smoothing (ETS) algorithm to predict a future value based on a series of existing values.

Excel FORECAST.ETS.CONFINT function
The FORECAST.ETS.CONFINT function calculates the confidence interval for the forecast value at the specified target date.

Excel FORECAST.ETS.STAT function
The FORECAST.ETS.STAT function returns a specified statistical value as a result of time series forecasting.

Excel FORECAST.LINEAR function
The FORECAST.LINEAR function predicts a future value based on existing values by using the linear regression.


The Best Office Productivity Tools

Kutools for Excel - Helps You To Stand Out From Crowd

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates  |  Delete Blank Rows  |  Combine Columns or Cells without Losing Data  |  Round without Formula ...
Super VLookup: Multiple Criteria  |  Multiple Value  |  Across Multi-Sheets  |  Fuzzy Lookup...
Adv. Drop-down List: Easy Drop Down List  |  Dependent Drop Down List  |  Multi-select Drop Down List...
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  Compare Columns to Select Same & Different Cells ...
Featured Features: Grid Focus  |  Design View  |  Big Formula Bar  |  Workbook & Sheet Manager | Resource Library (Auto Text)  |  Date Picker  |  Combine Worksheets  |  Encrypt/Decrypt Cells  |  Send Emails by List  |  Super Filter  |  Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters ...)  |  50+ Chart Types (Gantt Chart ...)  |  40+ Practical Formulas (Calculate age based on birthday ...)  |  19 Insertion Tools (Insert QR Code, Insert Picture from Path ...)  |  12 Conversion Tools (Numbers to Words, Currency Conversion ...)  |  7 Merge & Split Tools (Advanced Combine Rows, Split Excel Cells ...)  |  ... and more

Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...

Description


Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations