Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
Hi,
Thank you for contacting Microsoft community and we are glad to assist you with your concern.
You will be able to re-install Office 2013 on the same computer if you had to reformat the hard drive and do a clean install of the operating system.
You may transfer the software to another computer that belongs to you, but not more than one time every 90 days (except due to hardware failure, in which case you may transfer sooner). If you transfer the software to another computer, that other computer becomes the "licensed computer."
Any time you transfer the software to a new computer, you must remove the software from the prior computer and you may not retain any copies.
Also refer the link below for more information on the same:
I hope the above information helps you. If you need any assistance reply and we will be glad to assist you.
Thank you.