Select "Uninstall Office" .

Select "Office" > "I've installed Office via Microsoft Store / Click-to-Run" (or choose MSI if you have an old perpetual license).

Keep a copy of the Microsoft Support and Recovery Assistant on a USB drive. When Office breaks so badly that even the repair button is grayed out, you will be glad you have it.