You can do so using Linear Regression in Excel. You have to make sure thatthe "Analysis Tool Pack" Add-in is selected.