函数向导

打开函数向导,该向导可以帮助您以交互方式创建公式。在启动该向导之前,请先在当前工作表中选择单元格或单元格范围,以确定插入公式的位置。

要访问此命令...

选择 插入 - 函数

+F2 组合键

公式栏中,单击

图标

函数向导


批注图标

You can download the complete ODFF (OpenDocument Format Formula) specification from the OASIS web site.


函数向导有两个选项卡:函数选项卡用于创建公式,而结构选项卡用于检查公式结构。

"函数"选项卡

查找

查找函数(公式)名称。

类别

Lists all the categories to which the different functions are assigned. Select a category to view the appropriate functions in the list field below. Select "All" to view all functions in alphabetical order, irrespective of category. "Last Used" lists the functions you have most recently used.

You can browse the full List of Categories and Functions.

函数

显示选定的类别下找到的所有函数。双击以选定某个函数。 单击显示函数的简短描述。

矩阵

Specifies that the selected function is inserted into the selected cell range as an array formula. Array formulas operate on multiple cells. Each cell in the array contains the formula, not as a copy but as a common formula shared by all matrix cells.

The Array option is identical to the +Shift+Enter command, which is used to enter and confirm formulas in the sheet. The formula is inserted as a matrix formula indicated by two braces: { }.

批注图标

矩阵最多可以含有 128 x 128 个单元格。


参数输入字段

When you double-click a function, the argument input field(s) appear on the right side of the dialog. To select a cell reference as an argument, click directly into the cell, or drag across the required range on the sheet while holding down the mouse button. You can also enter numerical and other values or references directly into the corresponding fields in the dialog. When using date entries, make sure you use the correct format. Click OK to insert the result into the spreadsheet.

缩小/最大化

Click the Shrink icon to reduce the dialog to the size of the input field. It is then easier to mark the required reference in the sheet. The icons then automatically convert to the Maximize icon. Click it to restore the dialog to its original size.

当您在工作表中点击鼠标键并拖动一个区域时,对话框自动缩小。一旦您放开鼠标键,对话框便重新用完整大小显示,而用鼠标定义的区域引用在文档中用一个蓝色的边框被突出强调出来。

Icon

缩小

Icon

最大化

单项计算结果

As soon you enter arguments in the function, the result is calculated. This preview informs you if the calculation can be carried out with the arguments given. If the arguments result in an error, the corresponding error code is displayed.

所要求的参数由粗体显示的名称指定。

f(x)(根据选择的函数)

允许您访问函数向导的子级别,从而将其他函数嵌套到某个函数中,而不是作为数值或引用进行包含。

变量/参数/单元格引用(取决于所选择的函数)

界面上有多少个可见的文本字段,取决于所选择的函数。可以在参数字段中直接输入参数值,或者单击表格中的单元格进行输入。

结果

显示计算的结果,或者显示错误消息。

公式

显示所创建的公式。可以通过手动输入创建公式,或者通过函数向导来创建。

返回

将光标焦点返回到公式部件,以分解的状态显示。

提示图标

要在多个函数组成的复杂公式中选择某个函数,请在公式窗口中双击该函数。


继续

Moves forward through the formula components in the formula window. This button can also be used to assign functions to the formula. If you select a function and click the Next button, the selection appears in the formula window.

提示图标

在选择窗口中双击某个函数,该函数就会被包含在公式窗口中。


确定

结束函数向导,并将构建好的公式结果转移到选定的单元格中。

取消

关闭窗口,丢弃已构建的公式。

"结构"选项卡

在此页面上,您可以查看函数的结构。

批注图标

如果启动函数向导时,光标定位在一个已含有函数的单元格,则会打开结构选项卡并显示当前公式的结构。


结构

显示当前函数的层级结构。 您可以单击前面的加号或者减号,来隐藏或显示某个参数。

批注图标

如果输入的参数正确,则前面显示为蓝点;如果输入的参数类型错误,则前面显示为红点。例如:对于SUM 函数,如果输入文字作为参数,会显示红点,因为 SUM 函数只接受数字型参数。