Sort Book Titles in Excel While Ignoring A, An, and The
Question details
Sort book titles alphabetically without counting leading articles.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A worksheet contains book titles that need to be sorted by the first word after A, An, or The.
- Observed behavior
- The desired sort order ignores leading articles while keeping the original titles unchanged.
Check which column contains the titles and add an empty helper column beside your data. The example assumes the first title is in cell A2 and row 1 contains headers.
Sort Excel titles using a helper column
Create a sort key without the leading article, then sort the full data range by that key.
In an empty column, enter a header such as Sort key in row 1.
In the helper cell on row 2, enter =IF(LEFT(A2,2)="A ",MID(A2,3,LEN(A2)-2),IF(LEFT(A2,3)="An ",MID(A2,4,LEN(A2)-3),IF(LEFT(A2,4)="The ",MID(A2,5,LEN(A2)-4),A2))). Replace A2 with the cell containing your first title if necessary.
Select the formula cell and drag its fill handle down to the last title.
Select all related columns, including the helper column, and choose Data > Sort. Check My data has headers, select Sort key under Sort by, choose A to Z, and click OK.

Sort book titles without leading articles in WPS Spreadsheets
Use the same helper-column formula in WPS Spreadsheets, then sort the complete table by the resulting keys.
- 1. Open the workbook: Open your Excel file in WPS Spreadsheets and identify the column containing the book titles.
- 2. Create a sort key: In an empty column, add a Sort key header and enter =IF(LEFT(A2,2)="A ",MID(A2,3,LEN(A2)-2),IF(LEFT(A2,3)="An ",MID(A2,4,LEN(A2)-3),IF(LEFT(A2,4)="The ",MID(A2,5,LEN(A2)-4),A2))) in the row for the first title. Adjust A2 if needed.
- 3. Fill the column: Drag the formula cell's fill handle down through all title rows.
- 4. Sort the table: Select the full data range, choose Data > Sort, and sort the Sort key column from A to Z.

Frequently Asked Questions
Will the formula remove articles from my original titles?
No. It creates a separate sort key in the helper column; the titles in the original column remain unchanged.
What if my titles are not in column A?
Replace every A2 reference in the formula with the cell containing your first title, such as C2, before filling the formula down.
Why isn't a leading article being ignored?
Check the title cell for spaces before the article. The formula recognizes A, An, or The at the start of the cell when followed by a space.
How do I keep authors and other details with their titles?
Select all related columns before choosing Data > Sort, then sort by the helper column so each row stays together.




