Excel Forecast Function

This Excel Tutorial demonstrates how to use the Excel FORECAST Function in Excel to count values that meet multiple criteria, with formula examples.

FORECAST Function Description:

The FORECAST Function Uses a linear trend line to predict future Y-values.

Formula Examples:

forecast function examples

Example Formula Result
1 =FORECAST($B$5:$B$10,$C$5:$C$10,E5) 6
2 =FORECAST($B$5:$B$10,$C$5:$C$10,E6) 7
3 =FORECAST($B$5:$B$10,$C$5:$C$10,E7) 8
4 =FORECAST($B$5:$B$10,$C$5:$C$10,E8) 9
5 =FORECAST($B$5:$B$10,$C$5:$C$10,E9) 9
6 =FORECAST($B$5:$B$10,$C$5:$C$10,E10) 9

Syntax and Arguments:

The Syntax for the FORECAST Formula is:

Function Arguments ( Inputs ):

x – The x-value for which you want to forecast a new y-value

known_y’s – An Array of known y-values

known_x’s – An array of known x-values

Additional Notes

FORECAST Examples in VBA

vba code generator
You can also use the FORECAST function in VBA. Type:
For the function arguments (x, etc.), you can either enter them directly into the function, or define variables to use instead.

Return to the List of all Functions in Excel

How to use the FORECAST Function in Excel:

To use the AND Excel Worksheet Function, type the following into a cell:
After entering it in the cell, notice how the AND formula inputs appear below the cell:
forecast formula syntax
You will need to enter these inputs into the function. The function inputs are covered in more detail in the next section. However, if you ever need more help with the function, after typing “=FORECAST(” into a cell, without leaving the cell, use the shortcut CTRL + A (A for Arguments) to open the “Insert Function Dialog Box” for detailed instructions:
how to use the forecast function in excel

For more information about the FORECAST Formula visit the
Microsoft Website.