Excel has a built-in repair tool that can fix some common issues with corrupt files. Open Excel, click on "File", then "Open". Navigate to the corrupt file, select it, then click on the arrow next to the "Open" button and select "Open and Repair".
Sometimes, changing the file extension from ".xlsx" to ".xls" can help repair a corrupt file. Right-click on the file, select "Rename", and change the extension.
There are many third-party tools available that can repair corrupt Excel files. Some popular options include Sysinfo Excel Recovery.
Copy and paste data to a new workbook: If you're unable to repair the file, you may be able to recover some of the data by copying and pasting it to a new workbook. Open a new workbook, select the data you want to recover from the corrupt file, copy it, and paste it into the new workbook.
Remember to always create backups of your Excel files to prevent data loss in case of corruption.