If your Excel workbook is accidentally corrupted, you can try the following:
Recover previous versions: If you have saved multiple versions of the workbook, try opening an earlier version.
Use Excel's built-in repair tools: Excel has built-in tools that can sometimes repair corrupted workbooks.
Consult a professional: If you're unable to recover the data yourself, consider consulting a data recovery specialist.