Firstly, press the Windows logo key + X to see a list of commands and options. (Basically, a quick way to get to Programs and Features in Control Panel)
Then, click Programs and Features
After that, click the Office 365 installation program you want to repair, and then click Change
Finally, do one of the following
Microsoft Office 2019 & 2016 click Repair > Continue
In-Office 2013 & 2010 click Quick Repair