If it's an xlsx file, it's just text, so any text editor can edit it - but you have to know how to repair what's broken. Repairing corrupted xml files (which is what an xlsx file is) automatically isn't normally possible, since no program can "know" what's missing or incorrect.