跳转到内容

    电子表格

    电子表格是一种表格,它的单元格里存放的是值:数字、文字、日期、复选框、下拉列表、链接、图片和公式。值按数字格式显示,但存储的是原始值,所以公式相加的是原始数字。电子表格工具条在完整的表格工具条前面加上了 Shortcuts、Charts from selection、Sort、Number format 和 Decimal places。

    在哪里找到

    在页面上选中一个电子表格。电子表格打开时,上下文栏会显示电子表格工具条。

    如何沿着一列输入值

    1. 选中一个单元格后输入,或双击它进行编辑。
    2. 按 Enter。值会被存储,并选中下面的单元格。在最后一行时,Enter 会添加一行。
    3. 按 Alt+Enter 可以在电子表格单元格内换行。

    如何编写公式

    1. 输入 =,后面跟上公式,例如 =SUM(B2:B6)。
    2. 输入函数名称时,按 Tab 采用第一个建议。名称和 ( 会被添加进来。
    3. 按 Enter。单元格显示计算结果。公式会被保留。公式页面 公式 列出了所有函数。

    如何向下或向右填充

    1. 选中要复制的单元格,以及它下方或右侧的单元格。
    2. 按 Ctrl+D 向下填充,或按 Ctrl+R 向右填充。也可以使用 Shortcuts 中的 Fill down (Ctrl+D) 或 Fill right (Ctrl+R)。
    3. 或者拖动选区的填充手柄。

    如何设置单元格类型

    1. 选中单元格。
    2. 打开 Shortcuts。在 Insert 下,按 Checkbox、Date, with a calendar、Link、Picture、某个 Dropdown 行,或 Back to plain text。
    3. 或者右键点击,按 Insert,然后按 Checkbox、Date、Dropdown 或 Back to text。

    如何设置数字格式

    1. 选中单元格。
    2. 按 123(Number format),选择 Default、Text、Number、Percent、Currency 或 Date。
    3. 要使用其他货币和日期形式,按 More formats…。
    4. 按 .00(Decimal places)增加或减少小数位。

    如何排序

    1. 在要作为排序依据的列中选中一个单元格。
    2. 按 Sort,然后按 Sort A → Z 或 Sort Z → A。

    如何用单元格生成图表

    1. 选中含有数字的单元格。
    2. 按 Charts from selection,选择一个图表。或者右键点击,按 Insert,然后按 Chart from selection。

    如何汇总

    1. 打开 Shortcuts。
    2. 按 Insights,然后按 Summarise the selection。

    选项

    电子表格工具条的控件排在表格工具条前面。后面接着是表格工具条(见 表格)。

    控件 作用 取值 默认值
    shortcuts Shortcuts,一个带搜索框 Search actions 的弹出面板。它的用法和命令面板一样。
    sc-paste Paste data from a spreadsheet (Ctrl+V) 粘贴制表符分隔的数据。
    sc-charts Charts from the selection 打开 Charts 面板。
    sc-insights Insights 打开 Insights 面板。
    sc-fill-down Fill down (Ctrl+D) 向下填充单元格。
    sc-fill-right Fill right (Ctrl+R) 向右填充单元格。
    sc-sort-az Sort A → Z 升序排序。
    sc-sort-za Sort Z → A 降序排序。
    sc-to-table Convert to a table 把电子表格变成表格。
    sc-merge Merge the selected cells。
    sc-unmerge Unmerge。
    sc-eq-rows Equal row heights。
    sc-eq-cols Equal column widths。
    sc-fit-rows Size rows to their content。
    sc-fit-cols Size columns to their content。
    sc-move Move the row up、Move the row down、Move the column left、Move the column right。
    sc-dd-col Dropdown from the column’s own values 用这一列中的值生成一个下拉列表。
    sc-dd-yesno Dropdown: Yes / No。
    sc-dd-status Dropdown: To do / Doing / Done。
    sc-dd-priority Dropdown: High / Medium / Low。
    sc-date Date, with a calendar 生成一个日期单元格。
    sc-check Checkbox 生成一个复选框单元格。
    sc-picture Picture 生成一个图片单元格。
    sc-plain Back to plain text 去掉单元格类型。
    charts Charts from selection 是一个弹出面板,里面是用选中单元格画出的图表。它会放置一个图表。 Column、Bar、Line、Pie 排在实时结果之前
    insights Insights 是一个隐藏的弹出面板,从 Shortcuts 打开。 Summarise the selection
    sort Sort 对行排序。 Sort A → Z、Sort Z → A
    number-format Number format(按钮显示 123)设置值的显示方式。 Default、Text、Number、Percent、Currency (USD)、Date (Day month year)、More formats… Default
    more-formats Number format,一个隐藏的弹出面板,由 More formats… 打开。 30 种货币,3 种日期格式
    decimals Decimal places(按钮显示 .00)设置显示几位小数。它带有一个步进器。 Fewer decimals、More decimals(步长 1,-10 到 10)、None (0)、Two (0.00)。显示的小数位:0 到 10
    currency 货币列表。符号放在数字前面或后面。JPY、KRW 和 VND 显示 0 位小数。 30 种货币:Thai baht ฿、US dollar $、Euro €、Pound sterling £、Japanese yen ¥、Chinese yuan ¥、Australian dollar $、Canadian dollar $、New Zealand dollar $、Mexican peso $、Colombian peso $、Brazilian real R$、Egyptian pound E£、Indian rupee ₹、Indonesian rupiah Rp、Israeli new shekel ₪、South Korean won ₩、Malaysian ringgit RM、Pakistani rupee ₨、New Taiwan dollar NT$、Peruvian sol S/、Philippine peso ₱、Polish złoty zł、Vietnamese dong ₫、Bangladeshi taka ৳、Singapore dollar S$、Swiss franc CHF、Swedish krona kr、South African rand R、Russian ruble ₽ 在 123 菜单中为 USD
    date-format 日期的显示方式。 Day month year(10 Aug 2026)、Day/month/year(10/8/2026)、Month year(Aug 2026) Day month year

    电子表格上的右键菜单会添加这些行:Fit selected columns to content;Insert(Checkbox、Date、Dropdown:From this column’s values、Yes / No、To do / Doing / Done、High / Medium / Low;Back to text;Chart from selection);Convert to table。电子表格的菜单中还有 Delete sheet。它不包括 Equal sizes、Merge 和 Move 这些行,它们在 Shortcuts 中。

    快捷键

    按键 何时 结果
    Enter 在电子表格单元格中输入时 存储值并向下移动。在底部时添加一行。
    Alt+Enter 在电子表格单元格中输入时 在单元格内换行
    Tab 输入函数名称且显示了建议时 采用建议并添加 (
    Ctrl+D 选中了电子表格单元格 向下填充
    Ctrl+R 选中了电子表格单元格 向右填充
    Ctrl+V 选中了电子表格 粘贴来自电子表格的数据

    所有表格按键也都有效。见 表格。

    限制

    • 电子表格最多有 200 行和 200 列。
    • 有公式的电子表格不能排序:“Sort needs a sheet with no formulas: a formula points at fixed cells, so moving the rows underneath it would change what it adds up.”
    • 有合并单元格的电子表格不能排序:“Sort needs a sheet with no merged cells: a merge spans rows that sorting would pull apart, so there is no honest place to put the value.”
    • 只选中一个单元格时填充,会显示:“Select the cell to copy AND the cells to fill.”
    • 没有选中数字就生成图表,会显示:“Select some cells with numbers in them first.”。如果图表生成失败,会显示:“Could not create the chart.”
    • 链接单元格的内容不是网址时,会显示:“That cell is not a web address.”
    • 格式只改变显示的内容。存储的值保持不变。对 0.5 使用 Percent 会显示 50%。
    • 在选中的复选框、下拉列表或日期单元格上输入不会有任何作用。请在这些单元格中切换、挑选或选择。
    • 电子表格工具条没有单独的公式栏。

    另请参阅