Skip to content
Back to template gallery
Google Sheets
Google Sheets

How to sort by date in Google Sheets

Put rows in date order with Data > Sort range, keeping the header row in place.

Operations
10 steps 4 min Community template
1

Select the table

Highlight the whole table, including the header row, so every row moves together.

docs.google.com/spreadsheets/
Select the table
2

Click Data

Open the Data menu.

docs.google.com/spreadsheets/
Click Data
3

Click Sort range

Hover over Sort range.

docs.google.com/spreadsheets/
Click Sort range
4

Click Advanced range sorting options

Choose Advanced range sorting options.

docs.google.com/spreadsheets/
Click Advanced range sorting options
5

Check Data has header row

Tick Data has header row so the headers stay at the top.

docs.google.com/spreadsheets/
Check Data has header row
6

Click the Sort by box

Open the Sort by list.

docs.google.com/spreadsheets/
Click the Sort by box
7

Click the date column

Choose the column that holds the dates.

docs.google.com/spreadsheets/
Click the date column
8

Choose A to Z

A to Z puts the oldest date first; Z to A puts the newest first.

docs.google.com/spreadsheets/
Choose A to Z
9

Click Sort

Click Sort.

docs.google.com/spreadsheets/
Click Sort
10

Sorted by date

The rows are now in date order, earliest first.

docs.google.com/spreadsheets/
Sorted by date

Make this walkthrough your own

Duplicate this template, swap in your own screens, and share it with your team. Free to start — no credit card.