Spreadsheet sorting and searching
IntroducedIn this lesson
Order and select
- Sorting puts rows in order; filtering shows only the rows you need.
Sorting
- One column, ascending or descending.
- Multiple criteria: ties on the first are sorted by the second (Team, then Points).
- Include all columns so each row stays together.
When sorting, include all the columns of the records.
Difficulty 1/5 · 100 coins + a small bonus on first completion today
Otherwise rows are broken apart.
Sort by Team ascending, then Points descending. When is Points used?
Difficulty 1/5 · 100 coins + a small bonus on first completion today
The second criterion breaks ties.
Filters
- A filter shows matching rows and hides the rest.
| operator | example |
|---|---|
=, <> |
Country <> Kenya |
>, <, >=, <= |
Distance > 5000 |
| AND | Age >= 20 AND Age <= 70 |
| OR | Sport = Tennis OR Sport = Golf |
| NOT | NOT Brazil |
*, ? |
B*; ?an |
Which wildcard pattern matches Dan, Jan and Pan?
Difficulty 1/5 · 100 coins + a small bonus on first completion today
? stands for exactly one character.
A filter deletes the rows that do not match.
Difficulty 1/5 · 100 coins + a small bonus on first completion today
It hides them; they return when the filter is removed.
Combining
Runners from Kenya or Ethiopia under 130 minutes: (Country = Kenya OR Country = Ethiopia) AND Time < 130, then sort by Time ascending so the fastest is first.
Which filter finds runners from Kenya or Ethiopia under 130 minutes?
Difficulty 1/5 · 100 coins + a small bonus on first completion today
Bracket the OR.
Sorting one column alone scrambles the data. Select the whole table before sorting.
Sort with tie-breaking criteria across all columns. Filter with comparison operators, AND, OR, NOT and wildcards * and ?; bracket OR with AND.
What went wrong? Only the site team sees this.