Conteníu

# Fórmula

Opens a submenu, from which you can insert a formula into the cell of a table. Place the cursor in a cell in the table or at the position in the document where you want the result to appear. Click the Formula icon and choose the desired formula from the submenu.

Apaez la fórmula na llinia d'entrada. Pa especificar l'área de caxelles d'una tabla escuéyales col mur. Les referencies correspondientes a les caxelles apaecen na llinia d'entrada. Escriba parámetros adicionales, según seya necesariu, y calque Aplicar pa confirmar la entrada. Tamién pue escribir la fórmula direutamente si conoz la sintaxis. Esto ye necesariu, por exemplu, nos diálogos Inxertar campos y Editar campos.

P'aportar a esta orde...

Go to Table - Edit Formula.

In the Table toolbar, press the Insert or Edit Formula icon.

Nun documentu de testu, calca F2.

Fórmula

## Resume de les opciones pa les fórmules

### Operaciones de cálculu básiques

Operación | Nome | Exemplu
--- | --- | ---
Suma | + | Calcula'l total. Exemplu: <a1> + 8
Resta | - | Calcula la diferencia. Exemplu: 10 - <b5>
Multiplicación | MUL o * | Calcula'l productu. Exemplu: 7 MUL 9 produz 63
División | DIV o / | Calcula'l cociente. Exemplu: 100 DIV 15 amuesa 6,67

### Operaciones básiques del submenú

Función | Nome | Exemplu
--- | --- | ---
Suma | SUM | Calculates the sum of the selected cells. Exemplu: SUM <a2:c2> amuesa la suma de los valores de les caxelles A2 hasta la C2
Arredondiar | ROUND | Rounds a number to the specified decimal places. Exemplu: 15,678 ROUND 2 amuesa 15,68
Porcentaxe | PHD | Calculates a percentage. Exemplu: 10 + 15 PHD amuesa 10,15
Raíz cuadrada | SQRT | Calculates the square root. Example: SQRT 25 displays 5
Potencia | POW | Calculates the power of a number. Example: 2 POW 8 displays 256

### Operadores

You can insert various operators in your formula. Choose from the following functions:

Operador | Nome | Exemplu
--- | --- | ---
Separador de llista | | | Separates the elements in a list. Exemplu d'usu d'una llista: MIN 10|20|50|<c6>|<a2:b6>|20
Igual | EQ o == | Checks if selected values are equal. If they are unequal, the result is zero, otherwise 1 (true) appears. Example: <A1> EQ 2 displays 1, if the content of A1 equals 2
Non igual | NEQ o != | Tests for inequality between selected values. Example: <A1> NEQ 2 displays 0 (wrong), if the content of A1 equals 2
Menor o igual | LEQ | Tests for values less than or equal to a specified value. Example: <A1> LEQ 2 displays 1 (true), if the content of A1 is less than or equal to 2
Mayor o igual | GEQ | Tests for values greater than or equal to a specified value. Example: <A1> GEQ 2 displays 1 (true), if the content of A1 is greater than or equal to 2
Menor | L | Tests for values less than a specified value. Example: <A1> L 2 displays 1 (true), if the content of A1 is less than 2
Mayor | G | Tests for values greater than a specified value. Example: <A1> G 2 displays 1 (true), if the content of A1 is greater than 2
O lóxicu | OR | Tests for values matching the Boolean OR. Exemplu: 0 OR 0 amuesa 0 (falsu), tou lo demás amuesa 1 (verdaderu)
O booleanu esclusivu | XOR | Tests for values matching the Boolean exclusive OR. Exemplu: 1 XOR 0 amuesa 1 (verdaderu)
Y booleanu | AND | Tests for values matching the Boolean AND. Exemplu: 1 AND 2 amuesa 1 (verdaderu)
Non lóxicu | NOT | Tests for values matching the Boolean NOT. Exemplu: NOT 1 (verdaderu) amuesa 0 (falsu)

### Funciones estadístiques

You can choose from the following statistical functions:

Función | Nome | Exemplu
--- | --- | ---
Media | MEAN | Calculates the arithmetic mean of the values in an area or a list. Exemplu: MEXEN 10|30|20 amuesa 20,00
Valor mínimu | MIN | Calculates the minimum value in an area or a list. Exemplu: MIN 10|30|20 amuesa 10,00
Valor máximu | MAX | Calculates the maximum value in an area or a list. Example: MAX 10|30|20 displays 30
Productu | PRODUCT | Calculates the product of the selected cells. Example: PRODUCT <A2:C2> displays the product of the values in cells A2 to C2
Cuntar | COUNT | Counts the number of non empty cells. Example: COUNT <A2:C2> displays the number of non empty cells in A2 to C2

### Funciones

You can choose from the following functions:

Función | Nome | Exemplu
--- | --- | ---
Senu | SIN | Calculates the sine in radians. Example: SIN (PI/2) displays 1
Cosenu | COS | Calculates the cosine in radians. Example: COS 1 displays 0.54
Tanxente | TAN | Calcula la tanxente en radianes. Exemplu: TAN <a1>
Senu d'arcu | ASIN | Calculates the arc sine in radians. Exemplu: ASIN 1
Cosenu d'arcu | ACOS | Calculates the arc cosine in radians. Exemplu: ACOS 1
Tanxente d'arcu | ATAN | Calculates the arc tangent in radians. Exemplu: ARREYEN 1
Absolute value | ABS | Devuelve'l valor absolutu del númberu. Example: ABS -34 returns 34
Signu | SIGN | Returns the algebraic sign of the number. Example: SIGN -23 returns -1

### Variables pa les propiedaes del documentu

Tamién va atopar les siguientes propiedaes d'un documentu en Ficheru - Propiedaes - Estadística.

Nome | Descripción
--- | ---
CHAR | Númberu de caráuteres del documentu
WORD | Númberu de pallabres del documentu
PARA | Númberu de párrafos del documentu
GRAPH | Númberu d'imáxenes del documentu
TABLES | Númberu de tables del documentu
OLE | Númberu d'oxetos OLE del documentu
PAGE | Númberu total de páxines del documentu

### Otros valores definíos

Descripción | Nome | Valor
--- | --- | ---
PI | PI | 3.1415...
Númberu de Euler | E | 2.71828...
Verdaderu | TRUE | distintu a 0
Falsu | FALSE | 0