License & Subscription Issues

Fix Excel Stock Data Type Subscription and Sign-In Errors

Emma BrownEmma Brown Dec 2, 2026 868 views

Question details

The user needs to resolve an account error when using Excel's Stocks data type.

Fix Excel Stock Data Type Subscription and Sign-In Errors
Product
Microsoft Excel and Microsoft 365
Device & OS
MacBook Air, macOS
Scenario
Use the Stocks data type or STOCKHISTORY in an Excel workbook with an eligible Microsoft 365 account.
Observed behavior
Excel reports an account error when the user attempts to use the stock feature.
Before you start

Identify the Microsoft account associated with your Microsoft 365 subscription and make sure your Mac is connected to the internet. Save and close any open Excel workbooks before signing out.

Solution 1Recommended

Sign out of Excel and sign back in with the subscribed account

Use this Mac workaround to refresh Excel's account session and reconnect it to the correct Microsoft 365 subscription.

1
Sign out of Excel

Open a blank workbook, then select Excel > Sign Out from the menu bar.

2
Restart Excel

Choose Excel > Quit Excel, then reopen Excel and open a blank workbook.

3
Open the template screen

Select File > New from Template, then select Sign In on the toolbar.

4
Sign in and test

Sign in with the account linked to your eligible Microsoft 365 subscription. Reopen your workbook and try Data > Stocks or your STOCKHISTORY formula again.

Sign out of Excel and sign back in with the subscribed account
Feature availability: Stocks and STOCKHISTORY availability can depend on your subscription, Excel version, platform, and region.
Free Microsoft Office alternative

Work with Excel spreadsheets in WPS Office

WPS Office is a free, lightweight alternative with a familiar interface for opening and editing spreadsheets. Its Microsoft Office format compatibility makes it easy to move existing files into WPS, but it does not fix Excel's Microsoft 365 sign-in or subscription errors.

Open and edit Microsoft Excel XLSX and XLS filesUse a familiar spreadsheet interface for everyday workbook tasksMove existing Office files into a lightweight, free office suiteWork with stock-related spreadsheet data without changing your Excel account settings
QA img-9

Frequently Asked Questions

Where can I check which Microsoft 365 subscription I have?

Sign in at account.microsoft.com and open Services & subscriptions. For a work or school account, check your licenses at myaccount.microsoft.com or contact your administrator.

How do I sign out of Excel on a Mac?

In Excel, select Excel > Sign Out from the menu bar. Quit and reopen Excel before signing in again with the account linked to your subscription.

Are Stocks and STOCKHISTORY the same feature?

No. Stocks is a linked data type you can apply through Data > Stocks, while STOCKHISTORY is a formula for retrieving historical data. Their availability may depend on your subscription, platform, and region.

Can WPS Office fix an Excel subscription error?

No. The Excel account error must be resolved through Microsoft sign-in and licensing. WPS Office is an alternative for opening and editing compatible Excel files; it does not repair Microsoft's stock-data service.