That depends on whether you've activated the AutoSave feature, which is available only to Microsoft 365 subscribers. If you have, you should be able to recover the deleted Excel file from OneDrive. If you haven't, then you need to scan your drive using data recovery software.