A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Please disregard the diatribe from the Automated Idiocy bot. You need to clarify the circumstances...
You posted to the Microsoft 365 and Office | Excel | For home | MacOS Community but the screenshot is definitely Excel for Windows. If using Windows please see Open a document after a file corruption error - Microsoft Support. If that doesn't provide the solution it would be best to submit your concern to the appropriate Excel for Windows Community.
For future reference, changing the filename extension does not change anything about the file content or structure. The extension is an indicator to the OS or which program should be used to open the file & a signal to that program of which filters should be used to open files of that type. Simply editing the filename can cause more harm than good.