Repair the complete Microsoft 365 or Office installation with Online Repair, then reopen Excel and sign in using the Microsoft account that owns the license.
Repair Office from Control Panel
- Close Excel, Word, Outlook, and all other Office applications.
- Select Start, type Control Panel, and open it.
- Select Programs → Programs and Features.
- Locate Microsoft 365 or Microsoft Office.
- Look for the suite name rather than Excel unless Excel was installed separately.
- Select the Office entry, and then select Change.
- For a Click-to-Run installation, select Online Repair → Repair.
- If only an MSI repair window appears, select Repair → Continue.
- Complete the prompts and restart Windows afterward.
Online Repair repairs the entire Office suite even when only Excel reports the error.^1^
On Windows 11, the equivalent route is right-click Start → Installed apps → Microsoft 365 or Office → three dots → Modify → Online Repair → Repair.
If Excel still cannot find the license
- Open Excel and select File → Account.
- Sign out of any account that did not purchase Office.
- Sign in with the Microsoft account used to purchase Office or activate the Microsoft 365 subscription.
- Check that the Office product or subscription appears under that account’s Services & subscriptions.
- Return to Control Panel → Programs → Programs and Features and search for
Office. If multiple Office versions are installed, uninstall the version no longer used, restart Windows, and test Excel again. Multiple installations can cause activation conflicts.^2^
If this is Microsoft 365 and activation still fails, run the Microsoft 365 activation troubleshooter through the Windows Get Help application. It must run on the affected computer and requires Windows 10 or later.^2^
If the error remains, record the exact message or error code shown under Excel → File → Account; that distinguishes an installation problem from an expired, missing, or account-associated license.
References
- [Windows 11](https://support.microsoft.com/office/lifecycle/repair-an-office-application)
- Unlicensed Product and activation errors in Office | Microsoft Support