hvSCc‖

EwE2J‖Operators in LibreOfficeDev Calc

sssoj‖You can use the following operators in LibreOfficeDev Calc:

DVBCe‖Arithmetical Operators

BCT76‖These operators return numerical results.

pbFEA‖Operator

49fhx‖Name

3juWm‖Example

PcMRq‖+ (Plus)

8VGky‖Addition

1+1

r74qM‖- (Minus)

HNAdf‖Subtraction

2-1

zqeEq‖- (Minus)

Cy2wm‖Negation

-5

uTzKJ‖* (asterisk)

mQ8FF‖Multiplication

2*2

LyrLq‖/ (Slash)

RJx3b‖Division

9/3

St2pE‖% (Percent)

ehGjR‖Percent

15%

KTLME‖^ (Caret)

Bp5QG‖Exponentiation

3^2


note

QZRSe‖Prefix "-" (negation) has a higher precedence than "^" (exponentiation). For example -3^2 equals 9, which is the square of a negative number.


77TDi‖Comparative operators

rod4c‖These operators return either true or false.

qxQ83‖Operator

8jQ6F‖Name

CCsqC‖Example

AdNBV‖= (equal sign)

ubUi7‖Equal

A1=B1

Vg88D‖> (Greater than)

vsj86‖Greater than

A1>B1

jCt4x‖< (Less than)

vKBrR‖Less than

A1

EBajC‖>= (Greater than or equal to)

4wHTT‖Greater than or equal to

A1>=B1

wXVvo‖<= (Less than or equal to)

8ghop‖Less than or equal to

A1<=B1

4XUDV‖<> (Inequality)

dXwNM‖Inequality

A1<>B1


aAdxC‖Text operators

qVCHs‖The operator combines separate texts into one text.

D3PA9‖Operator

bHMKb‖Name

Y4cRR‖Example

s2CGS‖& (And)

tm62p‖

V7hDo‖text concatenation AND

JDUDf‖"Sun" & "day" is "Sunday"


GRADv‖Reference operators

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

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

nMVzZ‖Operator

taxei‖Name

tfD9G‖Example

52L2C‖: (Colon)

hLJDt‖Range

A1:C108

fWnpm‖! (Exclamation point)

ua9Q9‖

XoTEi‖Intersection

6z2iQ‖SUM(A1:B6!B5:C12)

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

joyma‖~ (Tilde)

aAvYu‖Concatenation or union

Hkjhd‖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.


note

MsH7r‖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.