How do you change a jpg file to an Excel file?

You can't. JPG is pictures, excel is a worksheet with names and numbers. You might be able to turn an excel-file into a JPG, but then you would no longer be able to do calculations in the worksheet.