Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

Sort and Filter Data: Explained

Explore sort and filter data, including the key concepts, practical examples, important considerations, and useful guidance.

Table of Contents

Explore sort and filter data, including the key concepts, practical examples, important considerations, and useful guidance.

In this lesson, you will learn how to better organize your spreadsheet data and content. You will also learn how to filter data to display only the information you need.

Types of classification

When sorting data, the first important step is to decide whether you want the sorting to apply to the entire worksheet or to a selected area.

Sorting by worksheet organizes all data in a spreadsheet by column. Related information on each row is stored together when sorting is applied. In the image below, the Name column has been sorted to display customer names alphabetically. The address information of each customer has been stored with their corresponding name.

Types of classification: Sort and Filter Data

Sorting by range arranges data within a range of cells, which can be useful when working with a spreadsheet containing multiple tables. Sorting one range will not affect other content on the spreadsheet.

Types of classification: Sort and Filter Data image 2

How to arrange a spreadsheet

The example will sort a list of customers alphabetically based on their last names. For the sorting to work correctly, your spreadsheet must include a header row, which is used to identify the name of each column. The header row will be fixed so that header labels will not be included in the sorting.

1. Click on View and hover over Freeze. Select a row from the menu that appears.

How to arrange a spreadsheet: Sort and Filter Data image 3

2. The header row is frozen. Decide which column to sort, then click a cell in the column.

How to arrange a spreadsheet: Sort and Filter Data image 4

3. Click on Data and select Sort Sheet by column, AZ (ascending) or Sort Sheet by column, ZA (descending) . The example will select Sort Sheet by column, AZ .

How to arrange a spreadsheet: Sort and Filter Data image 5

4. The spreadsheet will be sorted according to your selection.

How to arrange a spreadsheet: Sort and Filter Data image 6

How to sort a range

For example, we would select a sub-table in the t-shirt order form to sort the number of t-shirts ordered by class.

1. Select the range of cells you want to sort. For example, we would select the range G3: H6.

How to sort a range: Sort and Filter Data image 7

2. Click on Data and select Sort range from the drop-down menu.

How to sort a range: Sort and Filter Data image 8

3. The Sorting dialog box appears. Select the column you want to sort.

How to sort a range: Sort and Filter Data image 9

4. Choose ascending or descending order. For example, we will choose descending order (ZA). Then click Sort.

How to sort a range: Sort and Filter Data image 10

5. The range will be sorted according to your selection (in the example, the data has been sorted in descending order by the Orders column ).

How to sort a range: Sort and Filter Data image 11

How to create a filter

The example will apply a filter to the equipment log worksheet to only show laptops and projectors available for checkout. For the sorting to work correctly, the worksheet must include a header row, used to identify the name of each column. The header row will be fixed so that header labels will not be included in the filter.

1. Click on View and hover over Freeze. Select a row from the menu that appears.

How to create a filter: Sort and Filter Data image 12

2. Click on any cell that contains data.

How to create a filter: Sort and Filter Data image 13

3. Click the Filter button.

How to create a filter: Sort and Filter Data image 14

4. A drop-down arrow will appear in each column header.

How to create a filter: Sort and Filter Data image 15

5. Click the drop-down arrow for the column you want to filter. For example, this will filter column B to view only certain types of devices.

How to create a filter: Sort and Filter Data image 16

6. Click Clear to remove all checks.

How to create a filter: Sort and Filter Data image 17

7. Select the data you want to filter, then click OK. For example, you would select Laptop and Projector to view only these types of devices.

How to create a filter: Sort and Filter Data image 18

8. The data will be filtered, temporarily hiding any content that doesn't meet the criteria. In this example, only laptops and projectors are displayed.

How to create a filter: Sort and Filter Data image 19

Apply multiple filters

The filters are cumulative, meaning you can apply multiple filters to help narrow your results. For example, you might have filtered your spreadsheet to show laptops and projectors, and now want to narrow it down further to show only laptops and projectors that were checked in August.

1. Click the drop-down arrow for the column you want to filter. For example, this will add a filter to column D to view information by date.

Apply multiple filters: Sort and Filter Data image 20

2. Select or deselect the boxes depending on the data you want to filter, then click OK. The example will deselect everything except August.

Apply multiple filters: Sort and Filter Data image 21

3. A new filter will be applied. In the example, the spreadsheet is now filtered to show only the laptops and projectors that were checked in August.

Apply multiple filters: Sort and Filter Data image 22

If you're collaborating with others on a spreadsheet, you can create filter views. Creating filter views allows you to filter data without affecting other people's data views; it only affects your own view. It also allows you to name the views and save multiple views. You can create filter views by clicking the drop-down arrow next to the Filter button.

Apply multiple filters: Sort and Filter Data image 23

How to remove all filters

Click the Filter button and the spreadsheet will return to its original format.

How to remove all filters: Sort and Filter Data image 24

Final Thoughts

Understanding sort and filter data makes it easier to evaluate the information and apply the most relevant recommendations. Focus on the key points above and verify details that may change over time.

FAQ

What is sort and filter data?

Explore sort and filter data, including the key concepts, practical examples, important considerations, and useful guidance.

What key points does this article cover?

The article focuses on Types of classification, How to arrange a spreadsheet, How to sort a range, with practical explanations and examples.

How can you use this information in practice?

Use the explanations to compare options, verify important details, and make a more informed decision. Apply the recommendations that best match your goals and situation.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.