Sort Google Sheets by Number: A Step-by-Step Guide

Sorting rows by numbers in Google Sheets is a common task that can help you organize and analyze data more effectively. This article will guide you through the ...

Sorting rows by numbers in Google Sheets is a common task that can help you organize and analyze data more effectively. This article will guide you through the process, ensuring you understand the steps and can apply them to your own spreadsheets.

How to Number Rows in Google Sheets (Add Serial Numbers)
How to Number Rows in Google Sheets (Add Serial Numbers)

Before we dive in, let's assume you have a dataset like this:

Basic Formatting in Google Sheets
Basic Formatting in Google Sheets
Name Age
Alice 30
Bob 25
Charlie 35

You want to sort this data by age in ascending order. Let's get started!

How to Group Rows and Columns in Google Sheets
How to Group Rows and Columns in Google Sheets

Sorting by a Single Column

Sorting by a single column is straightforward. Here's how:

How to Resize Rows & Columns in Google Sheets: Quick and Easy Guide"
How to Resize Rows & Columns in Google Sheets: Quick and Easy Guide"

1. Select the data you want to sort. In our case, click on the cell with the label 'Age' (B1) and drag down to the last row with data (B3).

Using the Sort Icon

2. Click on the 'Sort A-Z' icon in the toolbar (or press 'Alt + Shift + S').

Quick tutorial: How to create dropdowns in Google Sheets (the easy way!)
Quick tutorial: How to create dropdowns in Google Sheets (the easy way!)

3. In the 'Sort' dialog box, ensure 'Sort by' is set to 'B' (or the column you selected), and 'Sort A → Z' is selected. Click 'Sort'.

Using the Data Menu

2. Right-click on the selected data and choose 'Sort A → Z' from the context menu.

Facebook
Facebook

3. Alternatively, click on 'Data' in the menu, then 'Sort A → Z'.

Sorting by Multiple Columns

All the ways to extract text or numbers from a string in Google Sheets
All the ways to extract text or numbers from a string in Google Sheets
How to Alternate Row Colors in Google Sheets - ModernSchoolBus.com
How to Alternate Row Colors in Google Sheets - ModernSchoolBus.com
Google Sheets - Delete Empty Rows (Blank Rows)
Google Sheets - Delete Empty Rows (Blank Rows)
How to Hide a Row Based on Cell Value in Google Sheets
How to Hide a Row Based on Cell Value in Google Sheets
How to make a sequence in Google Sheets
How to make a sequence in Google Sheets
18 Google Sheets Formulas to Simplify Data Management | Paperform
18 Google Sheets Formulas to Simplify Data Management | Paperform
How to Use the SORTN Function in Google Sheets
How to Use the SORTN Function in Google Sheets
How to Use COUNTIF on Google Sheets, Infographic
How to Use COUNTIF on Google Sheets, Infographic
the 5 essential google sheets to help you learn how to use them in your website
the 5 essential google sheets to help you learn how to use them in your website
Mastering the Art of Sort Range in Google Sheets - Teacher Tech with Alice Keeler
Mastering the Art of Sort Range in Google Sheets - Teacher Tech with Alice Keeler
How to Get the Absolute Value in Google Sheets
How to Get the Absolute Value in Google Sheets
Group Rows in Google Sheets for Easy Data Analysis!
Group Rows in Google Sheets for Easy Data Analysis!
Build Your Own To-Do List in Google Sheets | Easy Tutorial for Beginners
Build Your Own To-Do List in Google Sheets | Easy Tutorial for Beginners
Master Freezing Rows and Columns in Google Sheets – A Complete Beginner’s Guide! 📊
Master Freezing Rows and Columns in Google Sheets – A Complete Beginner’s Guide! 📊
Celebrate #PRIDE month in Google Sheets
Celebrate #PRIDE month in Google Sheets
Google Sheets Tutorial: How to Open a Spreadsheet
Google Sheets Tutorial: How to Open a Spreadsheet
Google Sheets Checklists
Google Sheets Checklists
a sign that says google sheets tricks you'll wish you knew soon save this for later
a sign that says google sheets tricks you'll wish you knew soon save this for later
Color Alternate Rows In Google Sheets.
Color Alternate Rows In Google Sheets.
the google sheet shortcut keys are shown in different colors and sizes, including blue, yellow
the google sheet shortcut keys are shown in different colors and sizes, including blue, yellow

Sometimes, you might want to sort by multiple columns. Let's sort our data by 'Name' first and then 'Age'.

1. Select the data you want to sort (A1:B3).

Sorting by 'Name' and then 'Age'

2. Click on the 'Sort A-Z' icon in the toolbar (or press 'Alt + Shift + S').

3. In the 'Sort' dialog box, set 'Sort by' to 'A' (or the first column you selected), and 'Sort A → Z' is selected. Click 'Add another sort column'.

4. Set 'Sort by' to 'B' (or the second column), and 'Sort A → Z' is selected. Click 'Sort'.

Sorting by 'Age' and then 'Name'

2. In the 'Sort' dialog box, set 'Sort by' to 'B' (or the first column), and 'Sort A → Z' is selected. Click 'Add another sort column'.

3. Set 'Sort by' to 'A' (or the second column), and 'Sort A → Z' is selected. Click 'Sort'.

Now that you know how to sort rows by numbers in Google Sheets, you can apply these techniques to your own data. Happy sorting!