SheetRocks
Documentation/Formulas/FORECAST

FORECAST

Calculates, or predicts, a future value by using existing values

Syntax

FORECAST(x, known_y_s, known_x_s)

Arguments

Argument Description Required
x The data point for which you want to predict a value Required
known_y_s The dependent array or range of data Required
known_x_s The independent array or range of data Required

Examples

Predict sales based on trend

=FORECAST(A1, A2:A6, A7:A11)
Result ⇒ 11.4760
A
1 6
2 7
3 9
4 15
5 21
6 1
7 2
8 3
9 4
10 5

Forecast temperature

=FORECAST(A1, A2:A6, A7:A11)
Result ⇒ 23
A
1 30
2 20
3 25
4 30
5 35
6 10
7 15
8 20
9 25
10 30

Linear regression prediction

=FORECAST(A1, A2:A6, A7:A11)
Result ⇒ 3.4865
A
1 5
2 1
3 3
4 5
5 7
6 1
7 2
8 3
9 4
10 5

Related Functions

Other Statistical functions:


← Back to Formula Reference