Function Problems

Sort Book Titles in Excel While Ignoring A, An, and The

Huma Ashraf ChHuma Ashraf Ch Nov 25, 2026 869 views

Question details

Sort book titles alphabetically without counting leading articles.

Sort Book Titles in Excel While Ignoring A, An, and The
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.
Before you start

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.

Solution 1Recommended

Sort Excel titles using a helper column

Create a sort key without the leading article, then sort the full data range by that key.

1
Add a helper header

In an empty column, enter a header such as Sort key in row 1.

2
Enter the formula

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.

3
Fill the formula down

Select the formula cell and drag its fill handle down to the last title.

4
Sort the full range

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 Excel titles using a helper column
Keep the original titles: The formula changes only the sort key, not the titles. It expects the article at the start of the cell followed by a space.
Sort titles in WPS Spreadsheets

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. 1. Open the workbook: Open your Excel file in WPS Spreadsheets and identify the column containing the book titles.
  2. 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. 3. Fill the column: Drag the formula cell's fill handle down through all title rows.
  4. 4. Sort the table: Select the full data range, choose Data > Sort, and sort the Sort key column from A to Z.
Sort titles by the word after A, An, or TheKeep original titles and related row data togetherOpen and save Microsoft Excel XLSX filesUse familiar spreadsheet formulas and sorting controls
QA img-9

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.