Sort Excel by Last Name: Step-by-Step Alphabetical Guide

Sorting data alphabetically is a common task in Excel, especially when dealing with large datasets. One frequent requirement is sorting by last name, which can ...

Sorting data alphabetically is a common task in Excel, especially when dealing with large datasets. One frequent requirement is sorting by last name, which can be achieved with a few simple steps. Let's dive into the process of sorting alphabetically in Excel by last name.

How to Sort Names Alphabetically in Excel
How to Sort Names Alphabetically in Excel

Before we begin, ensure that your data is structured with last names in a separate column. If not, you might need to split the full name into first and last name columns. For this guide, let's assume you have a column 'A' with full names, and you want to sort them by last name.

How to split full name to first and last name in Excel?
How to split full name to first and last name in Excel?

Sorting by Last Name in Excel

Excel provides a built-in feature to sort data alphabetically. You can use this feature to sort your data by last name. Here's how:

How to Sort by Name in Excel (3 Examples) - ExcelDemy
How to Sort by Name in Excel (3 Examples) - ExcelDemy

1. Select the range of cells containing the full names you want to sort. For example, if your data starts from A1, select A1:A100 (assuming you have 100 names).

Sorting in Ascending Order

[EP 6] Excel Tips Separate First and Last name
[EP 6] Excel Tips Separate First and Last name

To sort the names in ascending order (from A to Z), follow these steps:

2. Click on the 'Data' tab in the Excel ribbon.

3. In the 'Sort & Filter' group, click on 'Sort A to Z' or 'Sort & Filter' (depending on your Excel version).

How to Sort by Last Name in Excel - 5 Methods - ExcelDemy
How to Sort by Last Name in Excel - 5 Methods - ExcelDemy

4. In the 'Sort' dialog box, ensure 'Sort by' is set to the column containing the last names. If your data is in column A, it should be selected by default.

5. Click 'OK'. Your data will now be sorted in ascending order by last name.

Sorting in Descending Order

Extract Last Name using TEXTAFTER function in Excel
Extract Last Name using TEXTAFTER function in Excel

To sort the names in descending order (from Z to A), follow these steps:

2. Click on the 'Data' tab in the Excel ribbon.

an excel spreadsheet is shown with the number and type options highlighted in red
an excel spreadsheet is shown with the number and type options highlighted in red
How to sort full names by last name in Google sheets?
How to sort full names by last name in Google sheets?
How To Split First and Last Name in Excel Sheet - How to Split Cells in Excel
How To Split First and Last Name in Excel Sheet - How to Split Cells in Excel
989K views ยท 11K reactions | ๐Ÿƒโ€โ™‚๏ธ๐Ÿ”ฃ๐Ÿ’ก Excel's Flash Fill feature can quickly separate First Name, Middle Name, and Last Name from a full name, or even First Name, Initial, and Last Name, saving you time a | Excel Formulas Unleashed
989K views ยท 11K reactions | ๐Ÿƒโ€โ™‚๏ธ๐Ÿ”ฃ๐Ÿ’ก Excel's Flash Fill feature can quickly separate First Name, Middle Name, and Last Name from a full name, or even First Name, Initial, and Last Name, saving you time a | Excel Formulas Unleashed
How to alphabetize in Excel: sort alphabetically columns and rows
How to alphabetize in Excel: sort alphabetically columns and rows
Merge Two Columns in Excel with First Name and Last Name - ExcelDemy
Merge Two Columns in Excel with First Name and Last Name - ExcelDemy
How to Alphabetize in Excel - The Complete Guide
How to Alphabetize in Excel - The Complete Guide
Split First & Last Name Using Power Query | MyExcelOnline
Split First & Last Name Using Power Query | MyExcelOnline
Sortby Function in Excel
Sortby Function in Excel
How To Parse Names In Excel | Daves Computer Tips
How To Parse Names In Excel | Daves Computer Tips
How to create a list of all worksheet names from a workbook?
How to create a list of all worksheet names from a workbook?
Which Fonts Should You Use in Excel?
Which Fonts Should You Use in Excel?
How to Extract Last Names from Full Names in Excel Documents
How to Extract Last Names from Full Names in Excel Documents
How to Separate First and Last Names in Excel
How to Separate First and Last Names in Excel
Excel
Excel
How to Make Alphabetical List in Excel (3 Ways) - ExcelDemy
How to Make Alphabetical List in Excel (3 Ways) - ExcelDemy
#Excel #Tips: How to do Custom Sort in Excel
#Excel #Tips: How to do Custom Sort in Excel
#excel #exceltips #exceltricks #exceltutorial #excelhacks #advanceexcel #corporate #accounting #fina
#excel #exceltips #exceltricks #exceltutorial #excelhacks #advanceexcel #corporate #accounting #fina
Excel | Splitting Names
Excel | Splitting Names
a green and black background with the words split full name to first & last name
a green and black background with the words split full name to first & last name

3. In the 'Sort & Filter' group, click on 'Sort Z to A' or 'Sort & Filter' (depending on your Excel version).

4. In the 'Sort' dialog box, ensure 'Sort by' is set to the column containing the last names. If your data is in column A, it should be selected by default.

5. Click 'OK'. Your data will now be sorted in descending order by last name.

Sorting by Last Name with a Formatted Column

Sometimes, your last names might be in a different column or format. You can still sort them alphabetically using the following method:

1. Assume your full names are in column A (A2:A100) and you want to sort them by the last name in column B (B2:B100).

Extracting Last Names

To extract the last names, you can use the 'Text to Columns' feature in Excel. Here's how:

2. Select the range containing the full names (A2:A100).

3. Click on the 'Data' tab in the Excel ribbon.

4. In the 'Data Tools' group, click on 'Text to Columns'.

5. In the 'Convert Text to Columns' dialog box, select 'Delimited' and click 'Next'.

6. Select 'Space' as the delimiter and click 'Finish'. This will split the full names into first and last names in columns A and B.

Sorting the Extracted Last Names

Now that you have the last names in a separate column, you can sort them alphabetically using the steps mentioned earlier.

7. Select the range containing the last names (B2:B100).

8. Click on the 'Data' tab in the Excel ribbon.

9. In the 'Sort & Filter' group, click on 'Sort A to Z' or 'Sort & Filter' (depending on your Excel version).

10. In the 'Sort' dialog box, ensure 'Sort by' is set to the column containing the last names (B).

11. Click 'OK'. Your data will now be sorted in ascending order by last name.

And there you have it! You've successfully sorted your data alphabetically by last name in Excel. This skill will prove invaluable when working with large datasets, ensuring your data is always organized and easy to navigate.