There is a number of worksheet functions which do forecasting calculations, they have different uses depending on your data. If you type =FORECAST you should see a drop-down appear with the functions available. Hover your mouse over each function for a short description. Select a function which looks like what you need and press F1 for help.