Operadores en LibreOffice Calc

You can use the following operators in LibreOffice Calc:

Arithmetical Operators

These operators return numerical results.

Operador

Nome

Exemplo

Mais

Suma

1+1

- (Menos)

Subtración

2-1

- (Menos)

Negation

-5

Asterisk

Multiplicación

2*2

/ (Barra)

División

9/3

% (Porcentaxe)

Porcentaxe

15%

Cursor

Exponentiation

3^2


Comparative operators

These operators return either true or false.

Operador

Nome

Exemplo

= (equal sign)

Igual

A1=B1

Maior que

Maior que

A1>B1

menor que

Menor que

A1<B1

Maior que ou igual a

Maior que ou igual a

A1>=B1

Menor que ou igual a

Menor que ou igual a

A1<=B1

<> (Inequality)

Inequality

A1<>B1


Text operators

The operator combines separate texts into one text.

Operador

Nome

Exemplo

E

text concatenation AND

"Sun" & "day" is "Sunday"


Reference operators

These operators return a cell range of zero, one or more cells.

Range has the highest precedence, then intersection, and then finally union.

Operador

Nome

Exemplo

Colón

Intervalo

A1:C108

! (Símbolo de admiración)

Intersección

SUM(A1:B6!B5:C12)

Calculates the sum of all cells in the intersection; in this example, the result yields the sum of cells B5 and B6.

~ (Til)

Concatenation or union

Takes two references and returns a reference list, which is a concatenation of the left reference followed by the right reference. Double entries are referenced twice. See note below this table.


Icona Nota

Reference concatenation using a tilde character was implemented lately. When a formula with the tilde operator exists in a document that is opened in old versions of the software, an error is returned. A reference list is not allowed inside an array expression.


Precisamos da súa axuda!