You can sort data in alphabetical and numerical order, or use filters to hide data you don't want to see.
Learn more about this Coursera course. To get an example spreadsheet and follow along with the video, click “Make a Copy” below.
Sort data in alphabetical or numerical order
- On your computer, open a spreadsheet in Google Sheets.
- Highlight the group of cells you'd like to sort.
- If your sheet includes a header row, freeze the first row.
- Click Data Sort range.
- If your columns have titles, click Data has header row.
- Select the column you'd like to be sorted first and choose a sorting order.
- To add another sorting rule, click Add another sort column.
- Click Sort.
Sort an entire sheet
- On your computer, open a spreadsheet in Google Sheets.
- At the top, right-click the letter of the column you want to sort by.
- Click Sort sheet by A to Z or Sort sheet Z to A.
Sort by color
- On your computer, open a spreadsheet in Google Sheets.
- Select a range of cells.
- Click Data Create a filter.
- To see filter options, go to the top of the range and click Filter .
- Sort by color: Choose which text or fill color to filter or sort by. Cells with the color you choose to sort by will move to the top of the range. You can sort by conditional formatting colors, but not alternating colors.
- To turn the filter off, click Data Turn off filter.
Filter your data
Important: When you add a filter, anyone with access to your spreadsheet will see the filter too. Anyone with permission to edit your spreadsheet will be able to change the filter.
- On your computer, open a spreadsheet in Google Sheets.
- Select a range of cells.
- Click Data Create a filter.
- To see filter options, go to the top of the range and click Filter .
- Filter by condition: Choose conditions or write your own.
- Filter by values: To hide data points, uncheck the box next to the data point and click OK.
- Search: Search for data points by typing in the search box.
- Filter by color: Choose which text or fill color to filter by. You can filter by conditional formatting colors, but not alternating colors.
- To turn the filter off, click Data Turn off filter.
Create, save, or delete a filter view
Important: If you only have permission to view a spreadsheet, you can create a temporary filter view that only you can use. Your filter view won’t be saved.
- On your computer, open a spreadsheet in Google Sheets.
- Click Data Filter views Create new filter view.
- Sort and filter the data.
- To close your filter view, at the top right, click Close .
- Your filter view is saved automatically.
To delete or duplicate a filter view, in top right, click Options Delete or Duplicate.
See an existing filter view
- On your computer, open a spreadsheet in Google Sheets.
- Click Data Filter views.
- Select a filter view.
- Your filter will be applied to the spreadsheet.
- To close your filter view, in the top right, click Close .
Save a filter as a filter view
- On your computer, open a spreadsheet in Google Sheets.
- Apply a filter.
- Click Data Filter views Save as filter view.
Rename a filter view
- On your computer, open a spreadsheet in Google Sheets.
- Click Data Filter views.
- Select a filter view.
- Click the filter view name in the top left of the black bar and type the new name.
- Press Enter.
Learn more about filters & filter views
Filters and filter views help you analyze a set of data in a spreadsheet.
You can use filters to:
- Show a specific filter when people open your spreadsheet.
- Sort your data after using a filter.
You can use filter views to:
- Save multiple filters.
- Name your filter.
- Let multiple people see different filter views at the same time.
- Share different filters with people.
- Make a copy or create another view with similar rules.
- Filter or sort a spreadsheet you don't have edit access to. In this case, a temporary filter view will be created.