函式精靈

Contents

# Function

Opens the Function Wizard, which helps you to interactively create formulas.

Before you start the Wizard, select a cell or a range of cells from the current sheet, in order to determine the position at which the formula will be inserted.

若要使用此指令...

#### From the menu bar:

Choose Insert - Function.

#### From the tabbed interface:

On the Insert menu of the Insert tab, choose Function.

#### From toolbars:

函式精靈

#### From the keyboard:

CommandCtrl + F2

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

[函式精靈] 有兩個標籤：[函式] 標籤用於建立公式，[結構] 標籤用於檢查公式結構。

## 標籤「函式」

### Search

Search for a part of the function name.

### 分類

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.

### 函式

Displays the functions found under the selected category. Double-click to select a function. A single-click displays a short function description.

### 陣列

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 CommandCtrl+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.

### Shrink / Expand

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 Expand icon. Click it to restore the dialog to its original size.

當您在表格中按下滑鼠鍵並拖曳出一個區塊時，對話方塊便自動縮小。一旦您放開滑鼠鍵，對話方塊就會再度以最大畫面顯示，而您以滑鼠定義出的區塊參照會在文件中透過藍色邊框標明出來。

縮小

Expand

### 單項計算結果

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) (視選取的函式而定)

Allows you to access a subordinate level of the Function Wizard in order to nest another function within the function, instead of a value or reference.

### 引數/參數/儲存格參照 (視選取的函式而定)

The number of visible text fields depends on the function. Enter arguments either directly into the argument fields or by clicking a cell in the table.

### 結果

Displays the calculation result or an error message.

### 公式

Displays the created formula. Type your entries directly, or create the formula using the wizard.

### 返回

Moves the focus back through the formula components, marking them as it does so.

若要從數個函式構成的複雜公式中選取單個函式，請在公式視窗中按兩下該函式。

### 繼續

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.

您也可以透過按兩下滑鼠套用「選取」視窗中的函式。

### 確定

Ends the Function Wizard, and transfers the formula to the selected cells.

### 取消

Closes the dialog without implementing the formula.

## 「結構」標籤

在此頁面上，您可以檢視此函式的結構。

如果在儲存格游標位於已包含函式的儲存格時啟動 [函式精靈]，則會開啟 [結構] 標籤並顯示目前公式的組成。

### Content

Displays a hierarchical representation of the current function. You can hide or show the arguments by a click on the plus or minus sign in front.

若自變數出現藍點，代表您的指定正確。紅點代表錯誤的資料類型。例如，若您將函式 SUM 當成自變數輸入文字中，這個自變數會以紅色標明，因為這個函式只能以數字型式出現。