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

Sorting columns in Excel by last name can be a breeze once you know the steps. Whether you're organizing a list of contacts, students, or employees, this guide ...

Sorting columns in Excel by last name can be a breeze once you know the steps. Whether you're organizing a list of contacts, students, or employees, this guide will help you master this task in no time.

Excel Joining Two Text Columns First Name Last Name with Concatenation
Excel Joining Two Text Columns First Name Last Name with Concatenation

Before we dive into the sorting process, ensure your data is structured correctly. The last names should be in a single column, and there should be no leading or trailing spaces. Now, let's get started!

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

Sorting by a Single Column

If you only need to sort by last name, follow these steps:

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

1. Select the column you want to sort. You can do this by clicking on the header of the column.

Using the Ribbon

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

2. On the 'Home' tab in the 'Editing' group, click on 'Sort & Filter' and then 'Sort A to Z' or 'Sort Z to A'.

3. Excel will sort the column in ascending (A to Z) or descending (Z to A) order based on your selection.

Using the Context Menu

Grouping Rows/Columns in Excel📚
Grouping Rows/Columns in Excel📚

2. Right-click on the column header and select 'Sort & Filter' from the context menu.

3. Choose 'Sort A to Z' or 'Sort Z to A' from the sub-menu that appears.

Sorting by Multiple Columns

How to sort full names by last name in Google sheets?
How to sort full names by last name in Google sheets?

Sometimes, you might want to sort by last name and then by first name. Here's how you can do it:

1. Select the range of cells that includes both the first name and last name columns.

How to merge multiple columns into a single column using Microsoft Excel
How to merge multiple columns into a single column using Microsoft Excel
How to Use Columns Formula in Excel
How to Use Columns Formula in Excel
an excel spreadsheet showing the number and type of columns in each column,
an excel spreadsheet showing the number and type of columns in each column,
Merge Two Columns in Excel with First Name and Last Name - ExcelDemy
Merge Two Columns in Excel with First Name and Last Name - ExcelDemy
Apply a Formula to an Entire Column in Excel
Apply a Formula to an Entire Column in Excel
How To Move Multiple Rows and Columns In Excel - The Easy Way!
How To Move Multiple Rows and Columns In Excel - The Easy Way!
Sort in Excel
Sort in Excel
Excel Sort by Column or Row One or Multiple Sort by Cell Color Font Color Customize Sort
Excel Sort by Column or Row One or Multiple Sort by Cell Color Font Color Customize Sort
Resize Rows and Columns
Resize Rows and Columns
How To Split Text Into Multiple Columns Using Text to Column In Excel
How To Split Text Into Multiple Columns Using Text to Column In Excel
Excel Tips: How to Sort by the Last Name in Excel
Excel Tips: How to Sort by the Last Name in Excel
How to Add a Column in Excel Without Moving Data the Wrong Way
How to Add a Column in Excel Without Moving Data the Wrong Way
an excel spreadsheet is shown in this screenshot
an excel spreadsheet is shown in this screenshot
How To Combine Two Columns In Excel
How To Combine Two Columns In Excel
How to Combine Two Columns in Microsoft Excel
How to Combine Two Columns in Microsoft Excel
How to Split Text Data of a Cell to Column in Excel - ExcelDataPro
How to Split Text Data of a Cell to Column in Excel - ExcelDataPro
How to Apply Formula to Entire Column in Excel (5 Easy Ways)
How to Apply Formula to Entire Column in Excel (5 Easy Ways)
How to Split Names into Three Columns in Excel (3 Methods) - ExcelDemy
How to Split Names into Three Columns in Excel (3 Methods) - ExcelDemy
How to Sort in Excel Rows or Columns Avoid Sort Problems
How to Sort in Excel Rows or Columns Avoid Sort Problems
How to Split Text to Columns in Excel with Multiple Delimiters using TEXTSPLIT in Excel Formula
How to Split Text to Columns in Excel with Multiple Delimiters using TEXTSPLIT in Excel Formula

Sorting by Last Name and Then First Name

2. Click on the 'Sort & Filter' button in the 'Editing' group on the 'Home' tab.

3. In the 'Sort' dialog box, select the last name column in the 'Column' dropdown. Choose 'Sort On' as 'Cell Values' and 'Order' as 'A to Z' or 'Z to A'.

4. Click on the 'Add Level' button to add another sorting level. Select the first name column in the 'Column' dropdown, 'Sort On' as 'Cell Values', and 'Order' as 'A to Z' or 'Z to A'.

5. Click 'OK' to sort the data.

Now that you know how to sort columns in Excel by last name, you can keep your data organized with ease. Happy sorting!