How to Alphabetize in Google Sheets: Sorting, Filtering, and Everything In Between
Sorting a list in Google Sheets is one of those tasks that looks simple until you have a specific situation that the basic method does not cover. How to alphabetize in google sheets is one of the most searched Google Sheets questions because the basic answer is two clicks, but the follow-up questions pile up fast: what if sorting one column scrambles the data in other columns? What if you need to sort by last name when names are stored as full names? What if you want rows sorted by date and then alphabetically within each date? This guide covers every relevant sorting and filtering scenario in Google Sheets, from the basic A to Z sort through multi-column sorts, the SORT and FILTER functions, and how to sort by date without breaking your spreadsheet.

The Basic Method: How to Sort in Google Sheets
The fastest way to alphabetize a column in Google Sheets is through the Data menu.
- Click on any cell in the column you want to sort
- Go to Data in the top menu
- Select Sort sheet by column [X], A to Z for alphabetical order, or Z to A for reverse alphabetical
This method sorts the entire sheet based on the values in your selected column. Every row moves together, which means your other column data stays matched to the correct row. If column A has names and column B has their associated phone numbers, sorting A to Z in column A will reorder both columns together. The data relationships stay intact.
When to Use “Sort Sheet” vs “Sort Range”
Sort sheet (Data > Sort sheet) applies the sort to every row in the spreadsheet, keeping all columns aligned. Use this when you want the entire dataset reordered.
Sort range (Data > Sort range) applies the sort only to the cells you have selected. If you have a header row or other data above your list, sort range lets you sort just the list without moving everything else. To use it:
- Select the range you want to sort (e.g., A2:D50, excluding your header row)
- Go to Data > Sort range
- Check “Data has header row” if your selection includes headers
- Choose the column and A to Z or Z to A
- Click Sort
For most people who want to sort by name or alphabetize a list, Data > Sort range with the header row checked is the right choice. It gives you more control than sort sheet and prevents your header from being moved into the middle of the list.
How to Sort by Multiple Columns in Google Sheets
The google sheets sort by multiple columns option is in the same Sort range menu. This is what you use when you want to sort a list by last name and then by first name within each last name group, or sort by department and then alphabetically within each department.
- Select your data range
- Go to Data > Sort range > Advanced range sorting options
- Check “Data has header row” if applicable
- Under “Sort by,” choose your primary column
- Click Add another sort column
- Choose your secondary column
- Add more sort levels if needed
- Click Sort
The order of your sort levels matters. The first column you choose is the primary sort. Google Sheets sorts by that column first, then within any ties in that column, it sorts by the second column. So if you want your list sorted by last name and then by first name within the same last name, set last name as the first sort column and first name as the second.
You can add up to three sort levels through the interface. For more complex sorting, the SORT function handles it programmatically.
How to Sort by Date in Google Sheets
How to sort by date in google sheets follows the same process as alphabetical sorting, with one important prerequisite: your dates need to be stored as actual date values, not as text.
Google Sheets stores dates internally as numbers (days since December 30, 1899). When you format a cell as a date, Google Sheets displays that number as a readable date. If your dates are stored as text (you typed “January 15, 2024” as a plain text string), sorting them will produce alphabetical text sorting, not chronological sorting.
To check if your dates are real dates: Click on a date cell. If the formula bar shows a date format (01/15/2024) and the cell is formatted as Date in Format > Number, it is a real date. If it shows a plain text string, it needs to be converted.
To convert text dates to real dates:
- Use the DATEVALUE function:
=DATEVALUE(A2)converts a text date to a date serial number - Then format the result column as a date
Once your dates are proper date values, sort by the date column using Data > Sort range, and the rows will sort chronologically (oldest to newest for A to Z, newest to oldest for Z to A).
How to Filter in Google Sheets
Filtering is different from sorting. Sorting reorders your data. Filtering hides rows that do not match your criteria while keeping the original order for the rows that do show. The google sheets filter is activated through the Data menu.
To add a filter:
- Click any cell in your data range
- Go to Data > Create a filter
- Filter icons (dropdown arrows) appear in your header row
- Click the filter icon in any column to filter by that column’s values
The filter dropdown lets you:
- Filter by specific values (check or uncheck individual values)
- Filter by condition (is greater than, contains, starts with, is empty, etc.)
- Filter by color if you have conditional formatting applied
Filtering is non-destructive. The rows that are hidden by a filter still exist in the spreadsheet. Removing the filter (Data > Remove filter) brings them all back. This is useful for viewing a subset of your data without permanently deleting or moving anything.
The FILTER Function in Google Sheets: Dynamic Filtering
The filter function google sheets provides is a formula-based approach that creates a new table of filtered results rather than hiding rows in place. This is the right tool when you want to display a filtered version of your data in a different location on the sheet, or when you want the filtered results to update automatically based on criteria.
The basic syntax is:
=FILTER(range, condition1, [condition2, ...])
Example: Show only the rows where column B contains “Marketing”:
=FILTER(A2:D100, B2:B100="Marketing")
Example: Show only rows where column C is greater than 1000:
=FILTER(A2:D100, C2:C100>1000)
Example: Combine multiple conditions (AND logic):
=FILTER(A2:D100, B2:B100="Marketing", C2:C100>1000)
The FILTER function spills its results into adjacent cells automatically. If the filtered result has 15 rows, it fills 15 rows below the cell where you entered the formula. You do not need to select the output range in advance.
One important note: if no rows match your filter criteria, FILTER returns a #N/A error. Wrap it in IFERROR to handle this cleanly:
=IFERROR(FILTER(A2:D100, B2:B100="Marketing"), "No results found")
The SORT Function: Sorting Without Rearranging Your Source Data
The SORT function produces a sorted copy of your data in a new location rather than modifying the original range. This is useful when you want to keep the source data in its original order while displaying a sorted version elsewhere.
The syntax is:
=SORT(range, sort_column, is_ascending, [sort_column2, is_ascending2, ...])
Example: Sort the range A2:C100 by the first column (column A) in ascending (A to Z) order:
=SORT(A2:C100, 1, TRUE)
Example: Sort by the second column in descending (Z to A) order:
=SORT(A2:C100, 2, FALSE)
Example: Sort by column 2 first, then by column 1:
=SORT(A2:C100, 2, TRUE, 1, TRUE)
The SORT function, like FILTER, spills its results automatically. Combine SORT and FILTER to create a sorted, filtered view:
=SORT(FILTER(A2:C100, B2:B100="Marketing"), 1, TRUE)
This filters the data to Marketing rows only and then sorts those results alphabetically by the first column.
Sorted by Name: Handling Full Names, Last Names, and Mixed Cases
Sorting by name becomes a problem when names are stored as full names (First Last) and you want to sort alphabetically by last name. Google Sheets has no built-in “sort by last name” option, so you need to extract the last name into a helper column.
Extract last name from a full name in column A:
=RIGHT(A2, LEN(A2) - FIND(" ", A2))
This finds the first space and returns everything after it as the last name. This works for simple First Last formats. For names with middle names or multiple spaces, use:
=TRIM(RIGHT(SUBSTITUTE(A2," ",REPT(" ",100)),100))
This finds the last space regardless of how many spaces are in the name and returns everything after it.
Once you have a helper column with extracted last names, sort by that helper column using Data > Sort range.
Case sensitivity note: Google Sheets text sorting is case-insensitive by default. “apple” and “Apple” sort to the same position. The SORT function is also case-insensitive. If you need case-sensitive sorting, you will need a custom script via Google Apps Script.
Google Sheets Filter Shortcuts and Tips
A few habits that make filtering faster in Google Sheets:
- Keyboard shortcut for filter: There is no single keyboard shortcut, but you can access the Data menu with Alt + Shift + D on Windows or Option + Shift + D on Mac
- Filter views: Instead of applying a filter that everyone sees, use Data > Filter views > Create new filter view to create a personal filter that does not affect what other collaborators see
- Clear a filter condition without removing the filter: Click the filter icon in the header and select “None” under Filter by condition to clear that column’s filter while keeping other filters active
- Copy filtered results: Select the visible filtered rows, copy, and paste to a new location. Only visible rows paste, which is an easy way to extract a subset of your data
Understanding how sorting and filtering work in Google Sheets connects to broader principles of how to organize and present data clearly. For anyone managing spreadsheets as part of a larger project workflow, project management tools complement Google Sheets for tracking tasks and timelines alongside your sorted data. And for teams sharing Google Sheets across remote environments, browser and app tools that improve collaborative workflows are worth adding to your toolkit.
Key Takeaways
- How to alphabetize in Google Sheets: Use Data > Sort sheet for quick full-sheet sorting, or Data > Sort range for more control over which rows are included. Always check “Data has header row” if your selection includes headers.
- Google sheets sort by multiple columns: Use Data > Sort range > Advanced range sorting options and add sort levels in priority order. The first sort column is the primary sort key.
- How to sort by date in Google Sheets: Dates must be stored as actual date values (not text). Format cells as Date under Format > Number before sorting chronologically.
- How to filter in Google Sheets: Data > Create a filter adds filter dropdowns to headers. Filtering hides rows without deleting them and is fully reversible.
- Filter function Google Sheets:
=FILTER(range, condition)creates a dynamic filtered output in a new location that updates automatically. - Google Sheets sort function:
=SORT(range, sort_column, is_ascending)creates a sorted copy of your data without modifying the source range. - For sorting by last name when names are stored as full names, extract the last name with a helper column formula, then sort by the helper column.
- Combine SORT and FILTER functions (
=SORT(FILTER(...), 1, TRUE)) to create sorted, filtered views that update automatically when your source data changes.