Google Sheets lets you neatly sort cells by date—whether your data is timestamps, event dates, or any date-based information. This is especially useful for tracking trends over time, organizing schedules, or ensuring records follow chronological order. With just a few clicks, you can transform messy date columns into structured lists, making analysis and decision-making much easier. No advanced skills are needed; this works in any version of Sheets on desktop or mobile.
What You'll Need
- A Google Sheets document with at least one column containing dates (in any recognizable format like YYYY-MM-DD, MM/DD/YY, or plain text like "2023-10-15").
- Internet access to open Google Sheets (works on Chrome, Edge, Safari on desktop; Google Sheets mobile app on phones).
- Basic familiarity with selecting cells in Sheets (drag handles or click-and-drag).
Step-by-Step
- Open your Google Sheet and navigate to the column containing the dates. If dates are in a range like A1:D10, select all cells by clicking the square icon in the top-left corner of that range (this will highlight the entire column or range). If dates are in separate cells (e.g., A1, B5, C12), use the Ctrl+Click (Windows) / Command+Click (Mac) to select them individually.
- Click the "Data" tab at the top of the screen. This is where all sorting and filtering options are located. Labels can differ slightly by version or region, but it should appear clearly as the second tab from the left.
- Select "Sort range". A dropdown menu will appear—choose "Sort by dates" (this is the default option if your dates are in a recognizable format). You can also click "Sort range" again to open the full sorting options.
- Choose your sorting direction. When you click "Sort range" again, a small pop-up will appear. Select:
- "Sort by date (oldest first)" if you want dates to appear from earliest to latest.
- "Sort by date (newest first)" if you prefer the reverse.
- Adjust columns if needed (optional). By default, Sheets sorts by the first column you selected. If you want to sort across multiple columns (e.g., by date in Column A and then by another column like Column B), click the dropdown next to the "Sort by" label in the pop-up and select the column you want to use as a tiebreaker (secondary sort). For example, if you have dates in Column A and names in Column B, choose "Column A" for the primary sort and "Column B" for the secondary sort.
- Click "Sort" to apply the changes. The dates will now be rearranged in chronological order. To confirm, check the first cell of your sorted range—you should see the earliest date listed first (or newest if you chose the reverse order).
If That Did Not Work
If sorting doesn’t appear to work, try these troubleshooting steps:- Ensure dates are in a recognizable format. Google Sheets can only sort dates if they’re in a standard format like YYYY-MM-DD, MM/DD/YY, or plain text with a recognizable date (e.g., "October 15, 2023"). If your dates are written as "15-Oct-23" or similar, Sheets may not recognize them. To fix this, copy the dates and paste them into a new column in a standard format, then sort that column.
- Check for hidden characters. If your dates include hidden formatting (e.g., spaces, non-printable symbols, or special characters), Sheets may misinterpret them. To remove hidden formatting, select the cells, right-click, and choose "Format cells" > "Number" > "General." This removes any formatting that might confuse sorting.
- Use the "Sort & filter" menu for complex data. If your data contains mixed text and dates (e.g., "Project X on 10/15/2023"), open the "Data" tab, click "Sort & filter," and select "Custom range" instead of "Sort range." This lets you define a custom range for sorting, avoiding conflicts with non-date values.
- Refresh the sheet. Sometimes Sheets caches data. Click the "Refresh" button (the circular arrow icon in the top-right corner) to reload the sheet and try sorting again.
- Try a different range. If dates are scattered across the sheet, select only the cells containing the dates (e.g., A1:D10) and sort just that range. Avoid sorting the entire sheet unless you’re certain all cells contain dates.
Common Mistakes
- Skipping the "Sort range" prompt. If you click "Sort range" and then immediately close the sheet without choosing a direction or column, Sheets won’t apply the sort. Always confirm the settings before closing the pop-up.
- Using the wrong column. Sorting by the wrong column (e.g., sorting by text when dates are in Column B) will yield incorrect results. Double-check which column contains the dates before sorting.
- Ignoring hidden formatting. Dates with hidden formatting (e.g., bold or italics) may not sort correctly. Always format cells as "General" or the correct number format before sorting.
- Sorting across a mixed range. If your range includes non-date values (e.g., names, numbers), Sheets may treat them as dates or display errors. Use "Sort & filter" > "Custom range" to specify only the cells containing dates.
Tips
- Sort in place or copy. By default, Sheets sorts the selected range in place. However, if you accidentally sort the wrong range or want to preserve the original data, copy the sorted range to a new location (e.g., drag the range to a blank section of the sheet) before sorting.
- Use conditional formatting for visual clarity. After sorting, apply conditional formatting to highlight dates (e.g., background color for dates overdue or within a certain time frame). Go to "Format" > "Conditional formatting" to set up rules based on date ranges.
- Sort nested data. If your dates are in nested structures (e.g., within a table row or cell with text), use the "Sort & filter" > "Custom range" option to specify the exact cells containing dates for sorting.
- Save time with keyboard shortcuts. On desktop, press Ctrl+Shift+L to open the "Sort & filter" menu without navigating to the "Data" tab. Then select "Sort range" and choose your date column.
- Sort by time separately. If your dates include times (e.g., 2023-10-15 3:00 PM), Google Sheets will sort by both date and time. To sort only by date, ensure the time component is consistent (e.g., all times are in 12-hour or 24-hour format) or use a helper column to extract just the date part.
Troubleshooting
- Dates appear as text or numbers instead of sorting. If dates look like numbers (e.g., 15032023) or plain text, Sheets interprets them as strings. Format the cells as a date by clicking the cell, right-click, and choose "Format cells" > "Number" > "Date." Then try sorting again.
- Sorting doesn’t change anything. If the dates remain in their original order, check for these issues:
- The dates are in a non-standard format (e.g., "October 15, 2023" with spaces). Convert them to a standard format (e.g., YYYY-MM-DD) before sorting.
- Hidden characters (like spaces or non-printable symbols) are present. Select the cells, right-click, and choose "Remove formatting" or "Format cells" > "General."
- You selected the wrong range. Ensure only cells with dates are selected and that no other columns are included.
- Sorting errors or blank cells. If you see error messages (e.g., "#VALUE!") or blank cells, the dates may contain invalid entries. Check for:
- Empty cells or cells with only text (e.g., ""). Delete or fill these with a placeholder date (e.g., "0000-00-00") before sorting.
- Dates with inconsistent formats (e.g., "10/15/23" and "15-Oct-23"). Standardize the format or use a helper column to convert all dates to a consistent format.
- Sorting across a large range fails. If your date range is too large (e.g., thousands of rows), Sheets may time out. To fix:
- Sort a smaller subset of the data first to test.
- Use the "Sort & filter" > "Custom range" feature to specify only the cells containing dates.
- If necessary, break the data into smaller chunks and sort each chunk separately.
Frequently Asked Questions
1. Can I sort dates in Google Sheets if they’re not in a recognizable format (e.g., "Oct 15, 2023")?
Google Sheets can parse some date formats, but it may not work reliably if the format is inconsistent (e.g., "Oct 15, 2023" vs. "15-Oct-23"). To ensure accuracy, standardize the format to a consistent pattern like YYYY-MM-DD or MM/DD/YY before sorting.
2. How do I sort dates in Google Sheets mobile?
On the mobile app, open the "Data" tab, tap "Sort & filter," and select the range containing dates. Choose "Sort by dates" and pick the direction (oldest first or newest first). The steps are identical to desktop, but the menu layout is simpler.
3. What if my dates are in a table (e.g., Google Sheets Tables)?
If your dates are in a table, use the "Sort & filter" feature in the table toolbar (usually on the right side of the table). Click the "Sort" button, select the column with dates, and choose the direction. This method works the same way as sorting a regular range but is optimized for table data.
4. Can I sort dates in a Google Sheet shared with others?
Yes, but only if the people you’re sharing with have edit permissions. If they’re viewing only, they won’t see the "Data" tab or sorting options. Ensure the sheet is set to "Anyone with the link can edit" or adjust sharing settings as needed.
5. Is there a way to sort dates in descending order (newest first) in Google Sheets?
Yes, when you open the "Sort range" prompt, you’ll see an option to sort "by dates (newest first)." Simply select this option to reverse the order.
6. Why are my dates sorting incorrectly, and how can I fix it?
Incorrect sorting often happens due to hidden formatting, inconsistent date formats, or mixed data types. Solutions include:
- Format cells as "Date" (not "General").
- Check for hidden characters or spaces in cells.
- Copy dates into a new column and convert to a standard format (e.g., YYYY-MM-DD).
- Use "Sort & filter" > "Custom range" to specify only the cells containing dates.