I replaced an excel file with the other one how do i recover it
Retrieve the backup copy that you made prior to this event. What, no backup copy? I hope you have a photographic memory then, because that's the only way you'll get it back.
Repeat this 10,000 times a day: "I will never again fail to make backup copies of all important files"