Spreadsheet sorting and searching
引入本课内容
排序与筛选
- 排序按顺序排列各行;筛选只显示需要的行。
排序
- 按一列进行升序或降序排列。
- 多个条件:第一个条件的值相同时,按第二个条件排序(先按队伍,再按分数)。
- 包含所有列,确保每行的数据仍保持在一起。
When sorting, include all the columns of the records.
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
Otherwise rows are broken apart.
Sort by Team ascending, then Points descending. When is Points used?
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
The second criterion breaks ties.
筛选
- 筛选会显示符合条件的行,并隐藏其余行。
| 运算符 | 示例 |
|---|---|
=, <> |
国家 <> 肯尼亚 |
>, <, >=, <= |
距离 > 5000 |
| AND | 年龄 >= 20 AND 年龄 <= 70 |
| OR | 运动 = 网球 OR 运动 = 高尔夫球 |
| NOT | NOT 巴西 |
*, ? |
B*; ?an |
Which wildcard pattern matches Dan, Jan and Pan?
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
? stands for exactly one character.
A filter deletes the rows that do not match.
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
It hides them; they return when the filter is removed.
组合使用
筛选出来自肯尼亚或埃塞俄比亚、用时少于130分钟的跑步选手:(Country = Kenya OR Country = Ethiopia) AND Time < 130,然后按 Time 升序排列,使最快的选手排在最前面。
Which filter finds runners from Kenya or Ethiopia under 130 minutes?
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
Bracket the OR.
**单独对一列排序会打乱数据。**排序前先选中整个表格。
排序时选择所有列,并使用额外条件确定第一个条件的值相同时的顺序。筛选时使用比较运算符、AND、OR、NOT 以及通配符 * 和 ?;将 OR 与 AND 一起使用时,用括号括起 OR 条件。
出了什么问题?只有网站团队能看到这些信息。