Excel's Forecast function is available by clicking the "Function" button in the Excel toolbar, or by typing "=FUNCTION(x,known_y's,known_x's)" in a cell. In a sales forecast, the y data are sales from previous time periods and the x data are a factor influencing sales in each time period.