How to transfer my data to an excel file?