LibreOffice 24.8 Help
This category contains the Logical functions.
Zero (0) is equivalent to FALSE and all other numbers are equivalent to TRUE.
Empty cells and text in cells are ignored.
A #VALUE error is raised if all arguments are ignored.
A #VALUE error is raised if one argument is direct text (not text in a cell).
Errors as argument lead to an error.
Baala tidhuwa TRUE ikkituro TRUE qolanno. miillate giddo mittu FALSE ikkiro, kuni assiishshi FALSE hornyooti.
Tidhuwa uminsanni loojikaale shallagote handaarra (TRUE, 1<5, 2+3=7, B8<10) hakkuno loojikaale hornyuwa, woy loojikaale hornyuwa amaddino (A1:C3) dirra qolanno.
AND(Logical 1 [; Logical 2 [; … [; Logical 255]]])
Eubbate loojikaale hornyuwa 12<13; 14>12, nna 7<6 buuxama noonsa:
=ISODD(48) =ISEVEN(33) FALSE qolanno
=AND(FALSE();TRUE()) returns FALSE.
Loojikaale hornyo FALSE qolanno. FALSE() assiishshi ayye tidhuwa dishiqishanno, nna duucha wote Loojikaale hornyo FALSE qolanno.
FALSE()
=ISEVEN(33) FALSE qolanno
=N(FALSE) 0 qolanno
Loosama noosiha loojikaale wo'naalsha badanno.
IF(Test [; [ThenValue] [; [OtherwiseValue]]])
Test is any value or expression that can be TRUE or FALSE.
ThenValue (optional) is the value that is returned if the logical test is TRUE.
OtherwiseValue (optional) is the value that is returned if the logical test is FALSE.
In the LibreOffice Calc functions, parameters marked as "optional" can be left out only when no parameter follows. For example, in a function with four parameters, where the last two parameters are marked as "optional", you can leave out parameter 4 or parameters 3 and 4, but you cannot leave out parameter 3 alone.
=IF(A1>5;100;"too small") If the value in A1 is greater than 5, the value 100 is returned; otherwise, the text too small is returned.
=IF(A1>5;;"too small") If the value in A1 is greater than 5, the value 0 is returned because empty parameters are considered to be 0; otherwise, the text too small is returned.
=IF(A1>5;100;) If the value in A1 is less than 5, the value 0 is returned because the empty OtherwiseValue is interpreted as 0; otherwise 100 is returned.
Loojikaale hornyo ledanno (galchanno).
Dino(LogicalValue)
LogicalValue ayee ledantanno hornyooti.
=NOT(A). If A=TRUE then NOT(A) will evaluate FALSE.
Ajanna mitte tidho TRUE ikkituro TRUE qolanno. Baala tidhuwa lojikaale hornyo FALSE ikkituro kuni assiishshi FALSE hornyo qolanno.
Tidhuwa uminsanni loojikaale shallagote handaarra (TRUE, 1<5, 2+3=7, B8<10) hakkuno loojikaale hornyuwa, woy loojikaale hornyuwa amaddino (A1:C3) dirra qolanno.
OR(Logical 1 [; Logical 2 [; … [; Logical 255]]])
Eubbate loojikaale hornyuwa 12<11; 13>22, and 45=45 buuxama noonsa.
=ISODD(48) =ISEVEN(33) FALSE qolanno
=OR(FALSE();TRUE()) returns TRUE.
Loojikaale hornyo FALSE qolanno TRUE. TRUE() assiishshi ayye tidhuwa dishiqishanno, nna duucha wote Loojikaale hornyo FALSE qolanno.
TRUE()
A=TRUE nna B=FALSE ikkiro aantanno lawishshuwa shiqqanno:
=ISODD(48) =ISEVEN(33) FALSE qolanno
=ISODD(33) TRUE qolanno
=NOT(AND(A;B)) TRUE qolanno
Returns true if an odd number of arguments evaluates to TRUE.
Tidhuwa uminsanni loojikaale shallagote handaarra (TRUE, 1<5, 2+3=7, B8<10) hakkuno loojikaale hornyuwa, woy loojikaale hornyuwa amaddino (A1:C3) dirra qolanno.
XOR(Logical 1 [; Logical 2 [; … [; Logical 255]]])
=XOR(TRUE();TRUE()) returns FALSE
=XOR(TRUE();TRUE();TRUE()) returns TRUE
=XOR(FALSE();TRUE()) returns TRUE