This website doesn't allow me to attach an Excel file. So I'm posting a google drive link. You can download the Excel sheet from the link:
https://drive.google.com/open?id=19z5mwaA9IejFq8pS_KfjenOjW8YsHr-a
Open the Excel sheet in microsoft excel and click the cells containing the results you will get the formula in the above formula bar.
Using the data in the folder for Data Folder in Course Documents, please run simple regression...