PDF download Download Article PDF download Download Article

This wikiHow teaches you how to sort two or more columns of data based one column in Google Sheets.

  1. Go to https://sheets.google.com in your browser, then click your spreadsheet.
    • If you want to create a new spreadsheet instead, click Blank in the upper-left side of the page instead.
    • If you aren't logged into your Google account, you'll be prompted to sign in with your Google email address and password first.
  2. Click and drag your mouse from the top cell in one column all the way over to the bottom cell in another column.[1]
    • The columns you want to sort must be next to each other.
    • If you opened a new spreadsheet, enter your data before continuing.
    Advertisement
  3. This tab is at the top of the sheet.
  4. You'll see this option in the middle of the drop-down menu.
  5. Click the drop-down box to the right of the "sort by" prompt, then select a column to use as the basis for sorting.
    • For example: If you had names in column "A" and salaries in column "B", you would select column "A" to sort by name and column "B" to sort by money amount.
    • If the selected columns have a header in the first cell, check the "Data has a header row" box here as well.
  6. You can pick ascending order (alphabetical/numerical order) by clicking A → Z, or you can click Z → A to sort in descending order.
    • If you'd like to add another sorting method, click the + Add another sort column link. You can remove extra sorting methods by clicking x to the left of the method.
  7. Doing so will sort all selected data according to the column you chose.
  8. Advertisement

Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Tips

  • Ascending order will arrange numbers from least to greatest (1, 2, 3) while descending order will arrange numbers from greatest to least (3, 2, 1).
Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
Advertisement

Warnings

  • If there is an empty column between two columns you want to sort, the Sort range option will be greyed out.
Advertisement

You Might Also Like

Sort by Number on Google Sheets on PC or MacThe 3 Easiest Ways to Sort by Number in Google Sheets
Sort on Google Sheets on AndroidSorting Data in Google Sheets: Android Mobile Guide
Alphabetize in Google Docs Alphabetize in Google Docs: 4 Simple Methods
Sort a List in Microsoft ExcelSort a List in Microsoft Excel
Sort Microsoft Excel Columns AlphabeticallySort Microsoft Excel Columns Alphabetically
Alphabetize Cells in ExcelAlphabetize Cells in Excel
Use Google Spreadsheets Use Google Sheets: The Ultimate Guide for Getting Started
Alphabetize in Microsoft Word Alphabetize in Microsoft Word (PC & Mac)
Create a Graph in Google SheetsCreate a Graph in Google Sheets
Use AutoFilter in MS ExcelEasy AutoFilter Basics for Beginners
Make Tables Using Microsoft ExcelSimple Steps to Make Tables in Excel
Move Columns in Excel Move Columns in Excel: Rearrange with 2 Easy Methods
Apply a Formula to an Entire Column on Google Sheets on PC or MacApply a Formula to an Entire Column on Google Sheets on PC or Mac
Order Alphabetically in SQL Order Alphabetically in SQL
Advertisement

About This Article

Jack Lloyd
Written by:
wikiHow Technology Writer
This article was co-authored by wikiHow staff writer, Jack Lloyd. Jack Lloyd is a Technology Writer and Editor for wikiHow. He has over two years of experience writing and editing technology-related articles. He is technology enthusiast and an English teacher. This article has been viewed 296,408 times.
How helpful is this?
Co-authors: 8
Updated: July 7, 2023
Views: 296,408
Article SummaryX

1. Open your Google spreadsheet.
2. Select the columns you want to sort.
3. Click Data.
4. Click Sort range.
5. Select a column to sort by.
6. Select a sort order.
7. Click Sort.

Did this summary help you?

Thanks to all authors for creating a page that has been read 296,408 times.

Is this article up to date?

Advertisement