# Function Wizard

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.

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

The \<emph\>Function Wizard\</emph\> has two tabs: \<emph\>Functions\</emph\> is used to create formulas, and \<emph\>Structure\</emph\> is used to check the formula build.

## Functions Tab

### Search

Search for a part of the function name.

### Category

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.

### Function

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

### Array

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: { }.

The maximum size of an array range is 128 by 128 cells.

### Arguments Input Fields

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.

### Function Result

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.

The input entries that are required are indicated by bold argument names.

### f(x) (dependent on selected function)

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.

### Argument/Parameter/Cell Reference (dependent on selected function)

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.

### Result

Displays the calculation result or an error message.

### Formula

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

### Back

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

To select a single function from a complex formula consisting of several functions, double-click the function in the formula window.

### Next

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.

Double-click a function in the selection window to transfer it to the formula window.

### OK

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

### Cancel

Closes the dialog without implementing the formula.

## Structure tab

In this page you can view the structure of the function.

If you start \<emph\>Function Wizard\</emph\> while the cell cursor is positioned in a cell that already contains a function, the \<emph\>Structure\</emph\> tab is opened and shows the composition of the current formula.

### Structure

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.

Blue dots denote correctly entered arguments. Red dots indicate incorrect data types. For example: if the SUM function has one argument entered as text, this is highlighted in red as SUM only permits number entries.