Formulas and Functions
Table Of Contents
- Formulas and Functions
- Contents
- Preface: Welcome to iWork Formulas & Functions
- Chapter 1: Using Formulas in Tables
- The Elements of Formulas
- Performing Instant Calculations in Numbers
- Using Predefined Quick Formulas
- Creating Your Own Formulas
- Removing Formulas
- Referring to Cells in Formulas
- Using Operators in Formulas
- The String Operator and the Wildcards
- Copying or Moving Formulas and Their Computed Values
- Viewing All Formulas in a Spreadsheet
- Finding and Replacing Formula Elements
- Chapter 2: Overview of the iWork Functions
- Chapter 3: Date and Time Functions
- Chapter 4: Duration Functions
- Chapter 5: Engineering Functions
- Chapter 6: Financial Functions
- Chapter 7: Logical and Information Functions
- Chapter 8: Numeric Functions
- Chapter 9: Reference Functions
- Chapter 10: Statistical Functions
- Listing of Statistical Functions
- AVEDEV
- AVERAGE
- AVERAGEA
- AVERAGEIF
- AVERAGEIFS
- BETADIST
- BETAINV
- BINOMDIST
- CHIDIST
- CHIINV
- CHITEST
- CONFIDENCE
- CORREL
- COUNT
- COUNTA
- COUNTBLANK
- COUNTIF
- COUNTIFS
- COVAR
- CRITBINOM
- DEVSQ
- EXPONDIST
- FDIST
- FINV
- FORECAST
- FREQUENCY
- GAMMADIST
- GAMMAINV
- GAMMALN
- GEOMEAN
- HARMEAN
- INTERCEPT
- LARGE
- LINEST
- Additional Statistics
- LOGINV
- LOGNORMDIST
- MAX
- MAXA
- MEDIAN
- MIN
- MINA
- MODE
- NEGBINOMDIST
- NORMDIST
- NORMINV
- NORMSDIST
- NORMSINV
- PERCENTILE
- PERCENTRANK
- PERMUT
- POISSON
- PROB
- QUARTILE
- RANK
- SLOPE
- SMALL
- STANDARDIZE
- STDEV
- STDEVA
- STDEVP
- STDEVPA
- TDIST
- TINV
- TTEST
- VAR
- VARA
- VARP
- VARPA
- ZTEST
- Chapter 11: Text Functions
- Chapter 12: Trigonometric Functions
- Chapter 13: Additional Examples and Topics
- Index
FORECAST
The FORECAST function returns the forecasted y value for a given x based on sample
values using linear regression analysis.
FORECAST(x-num-date-dur, y-values, x-values)
 x-num-date-dur: The x value for which the function should return a forecasted y
value. x-num-date-dur is a number value, a date/time value, or a duration value.
 y-values: The collection containing the y (dependent) values. y-values is a collection
that can contain number, date/time, or duration values. All values must be of the
same type.
 x-values: The collection containing the x (independent) values. x-values is a
collection that can contain number, date/time, or duration values. All values must be
of the same type.
Usage Notes
All arguments must be of the same type. Â
The two arrays must be of the same size. Â
If, for example, you had data on the driving speed of a vehicle and its fuel eciency Â
at each speed, fuel eciency would be the dependent variable (y) and driving speed
would be the independent variable (x).
You can use the SLOPE and INTERCEPT functions to nd the equation used to Â
calculate forecast values.
Example
Given the following table:
=FORECAST(9, A3:F3, A2:F2) returns 19.
Related Topics
For related functions and additional information, see:
“CORREL” on page 242
“COVAR” on page 250
“INTERCEPT” on page 262
“SLOPE” on page 287
“Listing of Statistical Functions” on page 225
256 Chapter 10 Statistical Functions










