How does Microsoft Office license key works?
That won’t be a problem. Just re-install MS Office after you install the new operating system is installed and activate it with the product key again and you should be good to go. The license is connected to your computer, not your OS. And I believe you can install MS Office on three computers at the same home address. They (MS) allow this for business purposes. This information is on the “EULA”.