Hi Carol_5784,
Thanks for using Microsoft product and posting in the community.
According to your description, the Analysis feature is unable to use for the codebase was invalid.
Here are my suggestions may help you:
- Online Repairing Office applications.
- Update the version to the latest, if the version isn’t the latest.
You could compare your Office version(go to Excel> select File>Account, version number is in About Excel, don’t click About Excel) with
the Update history for Office 365 to confirm whether your Office version is the latest or not.
If the issue still persists, could you provide us more information to narrow down the issue.
- You system version and Office version(go to Excel>select File>Account and take the screenshot of Product Information, do not click About Excel)
System version: Click Windows logo key + R> Enter winver> OK
- The screenshots for error messages.
- Since you have mentioned the issue happens when you try to add Analysis, the Analysis ToolPak is a default Excel add-in and already presents in Excel add-ins. If you added another add-in, then what is the detailed name of add-in ?
Please feel free and post back. We are always willing to help you.
Regards,
George