logo
search
License & Subscription Issues

How to Restore Missing SORT and UNIQUE Functions in Excel 365

Ayan MasoodAyan Masood Oct 9, 2026 871 views

Question details

Users need to restore the SORT and UNIQUE dynamic-array functions that have disappeared from Microsoft Excel 365 despite having an active subscription.

How to Restore Missing SORT and UNIQUE Functions in Excel 365
Product
Microsoft Excel 365 ProPlus
Device & OS
Windows
Scenario
Attempting to use dynamic-array functions to organize or filter data in Excel, only to find the functions are missing or returning errors.
Observed behavior
The SORT and UNIQUE functions are missing from the Excel formula library and return a #NAME? error when manually typed, likely due to a licensing sync error.
Before you start

Ensure you have your Microsoft 365 account email and password ready, as you will need to sign back in after resetting your Office credentials.

Solution 1Recommended

Reset Office Credentials and Activation State

Clearing old cached credentials and resetting the Microsoft 365 activation state is the most effective way to restore dynamic array functions if your license sync is stuck.

Sometimes Excel fails to recognize an active Microsoft 365 subscription, temporarily disabling premium features like dynamic arrays. Forcing a complete sign-out and clearing the local credential cache will prompt Excel to re-verify your license and restore the missing functions.

1
Sign out of Excel

Open Excel, navigate to File > Account, click Sign out for all connected Microsoft 365 accounts, and then completely close all Office applications.

2
Clear Windows Credentials

Open the Windows Control Panel, go to User Accounts > Credential Manager > Windows Credentials, and remove all saved credentials that mention Microsoft Office.

3
Reset Activation State

Follow the official Microsoft guidelines to reset the Office 365 ProPlus activation state. This typically involves running a command line script or using the Microsoft Support and Recovery Assistant.

4
Restart and Sign In

Restart your computer, open Excel, sign back into your Microsoft 365 account, and verify if the SORT and UNIQUE functions are now available.

Reset Office Credentials and Activation State
Update Excel: After signing back in, go to File > Account > Update Options and click 'Update Now' to ensure your software is fully up to date.

Use SORT and UNIQUE Functions Seamlessly in WPS Office

WPS Spreadsheet fully supports modern dynamic array functions like SORT and UNIQUE out of the box, allowing you to organize data without worrying about complex subscription licensing errors or activation states.

  1. 1. Open your file in WPS Spreadsheet: Launch WPS Office and open your existing spreadsheet or create a new blank workbook.
  2. 2. Select the target cell: Click on the cell where you want the dynamic array results to start spilling.
  3. 3. Use the UNIQUE function: Type =UNIQUE(range) and press Enter to instantly extract distinct values from your selected data set.
  4. 4. Use the SORT function: Type =SORT(range) and press Enter to automatically sort your data array in ascending or descending order.
Free to use with a lightweight installationFully compatible with Microsoft Excel (.xlsx) formatsNative support for advanced dynamic array functionsNo complicated activation states or hidden credential errors
microsoft office alternative - wps office

Frequently Asked Questions

Why did SORT and UNIQUE suddenly disappear from my Excel?

These dynamic-array functions are exclusive to Microsoft 365 and Excel 2021. If your Office activation state falls out of sync or downgrades to a non-subscription cache, Excel hides these premium functions.

Can I use SORT and UNIQUE in Excel 2019 or 2016?

No, the SORT and UNIQUE functions are not available in Excel 2019 or earlier standalone versions. You must upgrade to Microsoft 365 or use Excel for the Web to access dynamic arrays.

How do I know if my version of Excel supports dynamic arrays?

Open a blank workbook and type '=UNIQUE(' into a cell. If the autocomplete suggestion appears with a formula tooltip, your version supports dynamic arrays. If it throws a #NAME? error, it does not.