Create an A-Z Index for a SharePoint Document Library
Question details
The user needs to build an alphabetical (A-Z) navigation index in a SharePoint Online document library to allow team members to easily filter and group files based on the first letter of their titles.

- Product
- SharePoint Online
- Device & OS
- not provided
- Scenario
- Organizing a large repository of files in SharePoint to improve document discovery, filtering, and user navigation.
- Observed behavior
- By default, SharePoint libraries lack a clickable A-Z filter. Users need a custom solution linking a calculated column to a separate alphabetical list to achieve this dynamic filtering behavior.
Ensure you have Site Owner or Designer permissions in SharePoint Online to create new lists, add calculated columns, and edit page web parts.
Create an Alphabetical Index using Calculated Columns and Dynamic Filtering
This method uses a calculated column to extract the first letter of a document's title and pairs it with a separate A-Z helper list to dynamically filter the library on a SharePoint page.
By creating a secondary list containing the letters of the alphabet and connecting it to your document library web part, you can build a clickable index that filters your files instantly.
Navigate to your Document Library settings. Add a new 'Calculated Column' (e.g., named 'FirstLetter') and use the formula =LEFT([Title],1) to extract the first letter of the file title.
Go to Site Contents and create a new custom list. Add items for each letter of the alphabet (A through Z) in the default Title column.
Edit the SharePoint homepage or create a new page. Insert the 'List' web part for your A-Z list and the 'Document Library' web part for your files.
Edit the Document Library web part properties. Select 'Dynamic filtering', choose the A-Z list as the source, and map the 'Title' column from the A-Z list to your 'FirstLetter' calculated column in the library.
Save and publish the page. To ensure this remains the primary navigation, navigate to the library settings, save the current view as a new view under Views, and enable 'Make this the default view'.

Edit and Manage Your Documents Seamlessly with WPS Office
While SharePoint is great for storing team files, you need a fast, reliable, and lightweight suite to edit your downloaded documents. WPS Office is a highly compatible, all-in-one alternative to Microsoft Office that lets you view, edit, and collaborate on Word, Excel, and PowerPoint documents for free.
- 1. Download WPS Office: Visit the official WPS website and download the free installation package for your PC or mobile device.
- 2. Install and Launch: Follow the simple on-screen instructions to install the software, then open WPS Office.
- 3. Open and Edit Files: Open any Word, Excel, or PowerPoint document downloaded from your SharePoint library to start editing immediately.

Frequently Asked Questions
How can I display the A-Z list as clickable tiles instead of a standard vertical list?
You can change the view of your A-Z list by clicking on the View options menu (usually labeled 'All Items' in the top right), selecting 'Format current view', and choosing the 'Gallery' layout. This will display the letters horizontally as a row of tiles.
Why is my calculated column showing an error or remaining blank?
Errors usually occur if the 'Title' column of your documents is empty. Ensure that the files in your library have the Title metadata filled out. If manual entry is too tedious, you can use Power Automate to automatically populate the Title field using the file name.
Will this dynamic filtering method work on the classic SharePoint experience?
No, dynamic filtering between list and library web parts is a modern SharePoint feature. If you are using classic SharePoint, you would need to rely on custom HTML/JavaScript or classic web part connections to achieve similar results.




